Alternatively, join us on Discord!

+-Recent Topics

[HP Prime] HP Prime Tunnel (2013)

Started by DJ Omnimaga, February 04, 2015, 11:47:41 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

February 04, 2015, 11:47:41 pm Last Edit: September 17, 2015, 03:09:10 am by DJ 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:


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.

DJ 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.


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

How did you prevent the screen tearing?

Powered by EzPortal