* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Don't touch the spikes remake with Walriis  (Read 3182 times)

0 Members and 1 Guest are viewing this topic.

Offline semiprocoder

  • Full User
  • Join Date: May 2015
  • Location:
  • Posts: 282
  • Post Rating Ratio: +2/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Don't touch the spikes remake with Walriis
« on: December 27, 2015, 04:39:05 am »
So, I have finally come up with a decent(ish, and I plan to maybe do something else if I come up with something else) idea to make a walrii game for. It is not very related to walriis but it is going to have (hopefully)many different walriis you can buy.

Essentially don't touch the spikes is an android and ios game similar to flappy bird where you move back and forth, trying to not touch the spikes. One thing I decided to omit was the top and bottom spikes, as rendering so many triangles lags my nspire and it provides less spikes on this already small screen.

I plan to have walriis as the sprites, but I currently have a red square, just for testing. I know this is a not very good explanation, but I hope it makes sense in the gif attached.

Any suggestions would be welcome.
« Last Edit: December 31, 2015, 05:13:09 pm by semiprocoder »


  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18179
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #1 on: December 27, 2015, 04:40:44 am »
Ooh I like the idea, plus with the bouncing dot, which I assume will become a walrus, it looks a bit like the flying Walrii animation from the CW video :)

I hope you can pull it off :)


What I suggest in future versions is to make the sides black, but add brick walls next to spikes to make it look more realistic, and make the spikes full instead of empty.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #2 on: December 27, 2015, 04:29:34 pm »
Looks great semiprocoder! I suggest that you increase spikes more often and start with less, it looks really cool though ;)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline semiprocoder

  • Full User
  • Join Date: May 2015
  • Location:
  • Posts: 282
  • Post Rating Ratio: +2/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #3 on: December 27, 2015, 09:17:58 pm »
Well, I've optimized the drawing screen to only the game part, leaving the background to be redrawn only when the game resets. Thus I can draw more in game and can draw a cool background without lagging my calc.

Also, should I have the hitboxes for the triangles be squares or the actual triangle, and should I have the hitbox of the sprite be its center or the whole length/width of it?

I uploaded a vid of the calc gameplay to youtube:

Also attached is a gif of the same thing on the emulator(I made the fps low so that I could upload it).

EDIT: What function sould I use to get how many spikes to generate and to get the speed multiplier each round?
The function in the video is(am I allowed to release this? Its not really code, but it is part of my code):
(click to show/hide)
I changed the function to:
(click to show/hide)

Where the speed multiplier is the square root of each respective function.
« Last Edit: December 27, 2015, 09:53:21 pm by semiprocoder »
  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2757
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • View Profile
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #4 on: December 28, 2015, 02:34:19 am »
Wow, looks quite fun and addictive! Wish I had a Nspire to play it...
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18179
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #5 on: December 28, 2015, 06:31:15 am »
Wow, this looks really great with the brick walls. I meant 8 bits style brick walls that are basically 16x240 on each side with a plain black background on the sides, but this looks cooler that way actually.

However, you should get rid of the pink and maybe use cyan, light gray or maroon (the latter would require changing the text and spikes color, though).


EDIT: Also for realistic-ness, you should make Walrii wings so that they're up when you move down and flaps down when you jump. Kinda like in the flying Walrii animation.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline semiprocoder

  • Full User
  • Join Date: May 2015
  • Location:
  • Posts: 282
  • Post Rating Ratio: +2/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #6 on: December 28, 2015, 04:16:27 pm »
Wow, I have no idea how I messed up those walriis. Anyways I fixed it now.
Also, I plan to have the background color dynamically generated, but for now I just made it light grey.

Also I added a store and a way to obtain coins(I gave myself a lot of them just to be able to buy stuff instantly).
Here is a screenshot:


EDIT: How do you add tags to titles?
« Last Edit: December 28, 2015, 05:47:08 pm by semiprocoder »
  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18179
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #7 on: December 28, 2015, 07:30:26 pm »
It looks better this way. I also like the store idea. Will some of those walruses have different speed, falling speed and jump height? Otherwise you should add a check icon next to them to show which ones you got so far, so the player doesn't buy them twice.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline semiprocoder

  • Full User
  • Join Date: May 2015
  • Location:
  • Posts: 282
  • Post Rating Ratio: +2/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #8 on: December 28, 2015, 07:55:40 pm »
Well, I may add different speeds for the different walriis, but before you buy it it displays their cost(and hides the walrii) and after you buy a walrii it displays the actual walrii, so that you can't buy anything twice, although I haven't implemented saving yet. Right  now I am working on making the hitboxes triangles as opposed to rectangles surrounding the hitboxes.

EDIT: I made the hitboxes triangles instead of squares(the triangle at the left is a drawing of how the hitbox looks like(it comes pretty close to the actual triangle, but doesn't direclty match the triangles displayed with errors of like 1 or 2 pixels, nothing major)(it looks closer on the nspire and I fixed the part where it is one pixel down and to the right of 0,0, as I my array is a bitmap of true/false false. I drew at the array number, which starts at 1,1, not pixel number, which is array number -1):
« Last Edit: January 18, 2016, 12:31:43 pm by semiprocoder »
  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18179
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #9 on: December 28, 2015, 08:07:45 pm »
Oh I see now. I guess that's good as well, then. :)
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Ivoah

  • Super User
  • Join Date: Dec 2014
  • Location:
  • Posts: 523
  • Post Rating Ratio: +6/-0
    • @NoahRosamilia
    • Ivoah
    • @UCmgDyh_AeaHALohvR7PKXIw
    • /u/Ivoah
    • Ivoah
    • 114/11421
    • View Profile
    • Codinghobbit
  • Gender: Male
  • WalriiPoints: 100
Re: Don't touch the spikes remake with Walriis
« Reply #10 on: December 29, 2015, 12:49:26 am »
Looks nice! Keep up the good work.
  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE

Offline semiprocoder

  • Full User
  • Join Date: May 2015
  • Location:
  • Posts: 282
  • Post Rating Ratio: +2/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #11 on: December 31, 2015, 04:16:19 pm »
First off, thanks so much for the support!

So I haven't done too much updating to this game, but I've finally added something original, so I feel like mentioning it. Since my last update, I have added more walriis, amounting to ten so far. I have also made the background change colors every five rounds.

My main update, however, was to add powerups/abilities. So far I have made two types of powerups. The first type removes a random spike, taking little time to regenerate. The second removes all spikes, taking much longer to regenerate. Walriichu has the first type, while iron man has the second type(at least for now), as showcased in the video.

Well, anyways, here is a gif of the game, showcasing the changing color backgrounds and abilities(I have negative money because I decided to disable the check for having more money than the cost of the purchase if I set a boolean flag to true):
  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Offline JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #12 on: December 31, 2015, 05:58:39 pm »
Looks nice, I would totally play this game if I had an Nspire! Awesome work!

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
    • View Profile
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #13 on: December 31, 2015, 08:37:58 pm »
Looks like another fun game I'd play a lot... if I had an Nspire
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18179
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Don't touch the spikes remake with Walriis
« Reply #14 on: January 03, 2016, 02:34:44 am »
I like it so far. I assume that the progress bar at the top is for when power ups are gonna be active, right?
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games