If you have trouble logging in, try to disable JavaScript temporarily. If that doesn't work, please contact  a d m i n @ c o d e w a l r . u s  with your account nickname.

* WalrusIRC Shoutbox (Support and development thread)

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: Ti Nspire Tunnel  (Read 340 times)

0 Members and 1 Guest are viewing this topic.

Offline semiprocoder

  • Full User
  • Posts: 253
  • Post Rating Ratio: +1/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Ti Nspire Tunnel
« on: February 09, 2016, 03:10:40 am »
So I know there already exists a tunnel for the nspire, but it is really flashy and annoying and the difficulty doesnt progress(at least not noticeably).
Thus I decided to create my own tunnel game for the nspire. It is made it blocks, with each block being 10 pixels rather than one.
The only real issue I have right now with my game is that the movement is by presses and it isnt smooth. If there is any way to make it so that holding down the key is registered and releasing the key is registered, that would make making movement smooth so much easier, but unfortunately, I do not see any way to do that.
Attached are screenshots and the source.


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

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14091
  • Post Rating Ratio: +71/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Ti Nspire Tunnel
« Reply #1 on: February 09, 2016, 06:07:01 am »
Oh wow I remember the other Tunnel O.O, it was kinda cool but yeah the flashiness can be annoying for some people. :P Nice rendition, by the way :)

I don't think holding down keys detection is possible in Lua, though. THis is one annoying Lua limitation on the Nspire (even TI-82/83/84 BASIC has key repeat for arrow keypresses)
  • 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, 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
  • Posts: 2599
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • Gender: Male
Re: Ti Nspire Tunnel
« Reply #2 on: February 09, 2016, 02:22:03 pm »
Nice! I really like how it looks ;). I also remember Pixel escape.
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline semiprocoder

  • Full User
  • Posts: 253
  • Post Rating Ratio: +1/-0
    • awesommee333
    • 114/11470
    • View Profile
  • Gender: Male
Re: Ti Nspire Tunnel
« Reply #3 on: February 12, 2016, 10:22:47 pm »
So I've essentially finished the game. It now includes a readme and saves your highscore(which I am not 100% sure works). These are really the only outward changes.
However, I also added error catching code, and the screenshot below shocases what that looks like(Note: the crash was induced by an extra line of code I added temporarily and now removed).
This error catching should work for all my future games(and walriidts if I feel like reuploading it).
The full file is also attached.
  • Calculators owned: ti nspire, ti 84 plus se
My cemetech username is awesommee333.

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Posts: 14091
  • Post Rating Ratio: +71/-7
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Ti Nspire Tunnel
« Reply #4 on: February 14, 2016, 05:14:29 pm »
Nice idea about the error catching code. :D Also I'm glad to see the game finished. You should put a link in the first post and put it on ticalc.org, so it gets listed to the CW downloads section. :3=

Do you plan to add new stuff in the future? Some kind of graphics, such as making the road gray, the borders brown and the rest green with a gradient on the side would look cool I think.

« Last Edit: February 14, 2016, 05:21:19 pm by DJ Omnimaga »
  • 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, 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