Author Topic: "Runaway" for TI-84+CSE  (Read 1378 times)

0 Members and 1 Guest are viewing this topic.

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
"Runaway" for TI-84+CSE
« on: December 03, 2013, 08:03:52 pm »
Hello all, I have made my first game for the TI-84+CSE worth mention.
This game is called runaway, (at least for now), and is about dodging trains.

     There are three numbers:
The first one is the location of the first train.
The second one is the location of the second train.
The game counts down from 8, and when the counter reaches zero, a train comes.
      You move around with the up and down keys, and can use [CLEAR] to quit.
      
      NOTICE : REQUIRES DOORS CSE. HYBRID BASIC.

And now, some screenshots (NOTE:BECAUSE I HAVE NO ROM I CAN'T TAKE PICS OF THE MOVING TRAIN) :


And finally, the download is an attachment.

TODO
RED - NOT STARTED
YELLOW - DEVELOPING
GREEN - DONE
 
  • Add pickups that give extra points
     
  • Make trains appear more relative to the player and not just randomly
     
  • Levels with different grass and more trains
« Last Edit: December 03, 2013, 08:06:34 pm by Hexatron »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #1 on: December 03, 2013, 08:20:48 pm »
Looks interesting. I assume that each train runs away alternatively, right? Also nice use of the Celtic 2CSE libs inside Doors CSE. :)

Suggestions:
-Would it be possible, through two xLIB rectangle commands, to erase the gray bar at the top? If ClrHome causes it to re-appear, just run a For loop with a long Output command to clear the screen instead.
-Maybe make the green a bit darker, so it won't hurt people's eyes too much in the emulator. (I think on-calc it will be fine, though).

Glad to see more 84+CSE games coming out here too :D
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #2 on: December 05, 2013, 11:14:48 pm »
Update: Forget about the erasing gray title bar idea above: There is a bug in DCS causing xLIB commands to mess Celtic ones up, so using rectangles simultaneously with C2 stuff is out of the question.
« Last Edit: December 05, 2013, 11:29:04 pm by DJ Omnimaga »
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: "Runaway" for TI-84+CSE
« Reply #3 on: December 05, 2013, 11:18:29 pm »
Hi DJ, just wondering if you had any more information on the bug you highlighted?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #4 on: December 05, 2013, 11:30:06 pm »
See the following screenshot (I also reported the issue on Cemetech)



Basically, if you use drawshape, it messes up the TI-BASIC Output() command.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: "Runaway" for TI-84+CSE
« Reply #5 on: December 06, 2013, 01:25:07 am »
I will be releasing an update soon, so don't worry ;)
Things that will be in it :
The numbers now light up red instead of at the top all pesky
The water moves in making it harder to dodge the trains every 24 dodged
The trains move faster after each 24 dodged
The green is darker
Win condition if you wait until there are two lanes left and drown.
The update will be out today at a decent time ( I live in the United States), or maybe tomorrow, as I have a band concert.
« Last Edit: December 06, 2013, 01:27:05 am by Hexatron »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #6 on: December 06, 2013, 01:34:23 am »
Glad to hear. :)

By the way, this game seems really fun. I think I might have spotted a few optimizations possibilities that could be done in the code, but I looked very fast, so that will have to wait until I checked it more thoroughly. The game may be quite simple by itself, but seriously it's entertaining. :)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: "Runaway" for TI-84+CSE
« Reply #7 on: December 06, 2013, 01:42:09 am »
Glad to hear. :)

By the way, this game seems really fun. I think I might have spotted a few optimizations possibilities that could be done in the code, but I looked very fast, so that will have to wait until I checked it more thoroughly. The game may be quite simple by itself, but seriously it's entertaining. :)
Thanks, in the new version, I made the det(12,.... command at the beginning into one command instead of several if commands.
Soon after the new version I will take a look at the code and see what I can do to make it faster, and, I will make the getKey command more compact.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #8 on: December 06, 2013, 02:14:13 am »
By the way, will the new version draw the entire chunks of green in one single Output command? It might be a bit larger, but it would display faster.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: "Runaway" for TI-84+CSE
« Reply #9 on: December 06, 2013, 06:15:04 am »
Its a pretty hard game, those trains come quick! Good job!
« Last Edit: December 06, 2013, 06:15:16 am by AssemblyBandit »

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: "Runaway" for TI-84+CSE
« Reply #10 on: December 06, 2013, 11:45:24 pm »
New version out : Increased difficulty after every 24 trains is the main new feature.
Amung that is some barely simplified code that I hope will run faster.
For now X movement is disabled do to not mattering to gameplay.
Screenshot of the new version, after I got jsTIfied to work:

« Last Edit: December 13, 2013, 07:20:47 pm by Hexatron »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: "Runaway" for TI-84+CSE
« Reply #11 on: December 13, 2013, 06:05:23 pm »
Glad to hear. I'll install this on my calculator later to try it. :)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify