CodeWalrus

CodeWalrus Website => Game, Software and Music Downloads => Games => Topic started by: Dream of Omnimaga on February 04, 2015, 11:47:41 PM

Title: [HP Prime] HP Prime Tunnel (2013)
Post by: Dream of Omnimaga on February 04, 2015, 11:47:41 PM
This is the official release of my HP Prime port of my HP 39gII Tunnel clone written in BASIC, now adapted for the larger screen and color display. It is probably the first ever game ever made available for download for this calculator model. It isn't meant to show coding skills, especially considering the game was made before my knowledge of the DIMGROB_P and BLIT_P commands (although an intro transition using them was added afterward), but as you'll see on-calc, even if I have to refresh the entire screen content every frame, I still get insane FPS. Because of how incredibly fast this calc is, this is why I manage to get such high framerate even with redrawing the entire screen rectangles and score text every frame. As for the multicolor and 3D-ish text effects, they are possible because the HP Prime lets you use text with no background, so all you have to do is superpose multiple copies of that text, gradually changing its color and position through a FOR loop. This also lets you use bold text. To play, just use the UP and DOWN keys and quit with ON. Here is a Youtube video by Critor of it running on a real calc, but the text color is different and it runs a little slower, since it's an older version:

https://www.youtube.com/watch?&v=0WEjguctKNY

(https://img.ourl.ca/tunnelprime.png)

http://www.cemetech.net/programs/index.php?mode=file&path=/prime/games/TunnelPrime.zip
Title: Re: [HP Prime] HP Prime Tunnel (2013)
Post by: iconmaster on February 06, 2015, 08:03:28 PM
I remember this from when the Prime just came out. It's a quality game, what can I say!

I'm excited to see what more advance things we can do, seeing this was made very early in the Prime's existence.
Title: Re: [HP Prime] HP Prime Tunnel (2013)
Post by: Dream of Omnimaga on February 06, 2015, 08:34:49 PM
I might try to redo this with textures and perspective, but maybe I'll switch the view 90° and do some OutRun type of game.
Title: Re: [HP Prime] HP Prime Tunnel (2013)
Post by: Magicrafter13 on September 17, 2018, 02:06:47 AM
[I messaged you on Reddit, though it seems you haven't been on there in 2 months.]

How did you prevent the screen tearing?
Title: Re: [HP Prime] HP Prime Tunnel (2013)
Post by: Dream of Omnimaga on May 24, 2020, 06:30:56 PM
Here is a video by TI-Planet showcasing how much faster the HP Prime G2 is compared to the G1

https://www.youtube.com/watch?v=683JE1W4rzg

The game definitively needs speed throttling and difficulty settings to be playable on newer HP Prime calcs (and on the emulator), I think XD
Title: Re: [HP Prime] HP Prime Tunnel (2013)
Post by: Dream of Omnimaga on May 26, 2020, 07:04:26 PM
UPDATE: Version 1.05 of the game has been released, which throttles the game speed to ensure that it runs at playable speed on the G2/hardware revision D HP Prime models and the emulator.