Join us on Discord!
You can help CodeWalrus stay online by donating here.

[HP Prime] HP Prime Tunnel (2013)

Started by Dream of Omnimaga, February 04, 2015, 11:47:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dream of Omnimaga

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



http://www.cemetech.net/programs/index.php?mode=file&path=/prime/games/TunnelPrime.zip
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

iconmaster

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.

Dream of Omnimaga

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.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Magicrafter13

[I messaged you on Reddit, though it seems you haven't been on there in 2 months.]

How did you prevent the screen tearing?

Dream of Omnimaga

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
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Dream of Omnimaga

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.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal