Over the long holiday weekend, I have been working on a TI-BASIC re-make of the game BLOXORZ.
This has been ported to the Nspire and Prism, but not on a Z80-based calc. Perhaps an ICE or C port of this is due for the CE?

So far, it has all the main parts of the game, including:

  • Main menu with wipe-in title
  • Start game splash-screen with instructions
  • Saving progress automatically, with Resume Game option
  • Stage Passcodes (match 1-1 to original BLOXORZ)
  • Play elements: soft and heavy switches, bridges, weak tiles, and teleport/split switch

The hardest part is keeping the main game loop at an acceptable speed. There are a lot of conditionals and edge-cases when moving the block around (and even more so when changing bridge states or resetting the stage), and every If-Then adds to the noticeable latency that affects user input.

Graphics are implemented using Pt( and Line( commands, using the box- and plus- shaped plot points to cover larger areas. Loading each stage takes a while, so while loading or resetting the stage, a black border is drawn to indicate a loading state.

Except for Text( commands, everything is done relative to the window variables. So, in theory, this works on color calcs too. I've tried it, and it looks terrible. Pt(3) is not a nice + that fits in the same grid as Pt(1) and Pt(2), so it ruins a lot of the graphics and every movement ends up having a "shadow".




It has been submitted to the Archives in its current state with only 20 of the 33 stages implemented. I will update it once I play through the remaining levels, write down how they work, and port them to this format (I have also made a level editor that runs on-calc, but it's too slow to realistically use outside of an emulator).

P.S. I used to really like BLOXORZ, as it was a fun novel puzzle. Now that I've play-tested these 20 levels to no end, it has lost its luster. Too much of a good thing, as they say. Maybe the next 13 stages can re-ignite that spark.
This shows it on a regular ti 84 plus will this also work for the ce variant?
1qschool1 wrote:
This shows it on a regular ti 84 plus will this also work for the ce variant?

Did you even read the post or did you just look at the pretty pictures. Rolling Eyes

Looks awesome NoahK! I love games like this.
It would appear that neither of the cemetech links work
*to the archives

I definitely remember playing this game though - this is awesome!
Huh? The last two are giving me an error 404 page
Thanks, Mateo. Coding up things like this is what makes calculator programming such a rewarding hobby. Next up is porting this to the CE, either using your C toolchain directly or indirectly by using PT's out-of-maintenance ICE compiler.

I still like the thought that it can be programmed on-calc, even if it's not pure BASIC. (Though, I never liked how clunky it was to share xLIB or DCS7 games written for monochromes back in the day, having to also send xLIB/DCS7 if the receiver didn't have them.)

AXE fixed this, allowing you to program stuff on-calc, compile it to ASM without a visit to the computer, and share it with other calcs without needing to transfer supporting libs.

My question: when I have a compiled C or ICE program, do I also need to share all the C libs appvars too, or is it all contained in one program?

1qschool1: Yes, it does work on the CE. But it looks terrible. All the graphics routines are written with 95x63 monochrome in mind.

eyeteadish: The last two links are to the archive. Now that it has been accepted into the archive, they should work now.
NoahK wrote:
My question: when I have a compiled C or ICE program, do I also need to share all the C libs appvars too, or is it all contained in one program?

Yes, the C library appvars will need to be present. There is a message that shows up if they are not present, with the shortlink tiny.cc/clibs linking to the latest release.

Edit: forgot to mention, this looks great! I would have loved to have this on my calc back in middle school.
1qschool1 wrote:
This shows it on a regular ti 84 plus will this also work for the ce variant?

It's made with Ti-BASIC, which works with both the Ti-84 and the Ti-84 Plus CE, although graph screen sizes may be different on both calculators so I'm sure there may be some sizing issues but I don't know.
For the sake of everyone asking, here is what is looks like on a CE or CSE:

Main Menu:


Start New Game instructions:


After playing Stage 02


After playing Stage 19


Due to the absolute speed of the CE, it is actually more playable than on a monochrome calc.

Downsides: Graphics are imperfect, scaling is non-square, text is illegible, and after playing a stage for a while, your block's "ghost" trail gets in the way of seeing the play elements like switches and bridges.


Tweaking the Pt( and Line( routines, as well as the viewport/window variables, wouldn't be too hard, and might even make for a good exercise for those that want to try. I, on the other hand, will be re-making this in ICE for the CE.
For CE porting you would probably need to try CEPort. https://www.cemetech.net/downloads/files/2190/x2449

I need to try this on my monochrome TI-84+. It looks pretty good.
Thanks for the tip! With CEPort, the main menu, instructions, and stage splash screen all look more decent. Gameplay is all Pt( and Line(, which CEPort doesn't modify, so that all looks the same.



  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement