Alternatively, join us on Discord.
You can help CodeWalrus stay online by donating here.

[TI CE] BOULDASH

Started by Zemmargorp, November 25, 2020, 09:59:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zemmargorp

Hello :)

I recently became interested in learning how to use the C libraries in order to make programs that can read data from appvars or other programs. (I will eventually need to do that in BOOM, which is slowly but surely growing.)

That gave me idea of porting my old game BOULDASH (written for the TI-83+) to the TI CE, as it was a rather simple game that looked through the calculator's appvars to find level packs (like MARIO).

BOULDASH CE is now finished, and it is fully compatible with the original game's level packs, so the same Windows level editor can be used to edit the existing levels and make new ones!

Here are some pictures of the game, showcasing some of the included levels:

 

The two levels above are part of the tutorial levels (that progressively introduce new items and game mechanics). The two animated screenshots below show level packs from the original BOULDASH game.

 

 

The two screenshots above show the levels "DonkeyKong" and "PacMan" from the "Difficult games" level pack. "PacMan" is hard because you need to collect all the diamonds, and falling diamonds kill you; but if you successfully played all the previous levels, then you have a chance to finish this one as well. Below, you can see a level from the "Balderdoush" level pack, and the "Freefall" level, perhaps the hardest of all the included levels, but it is humanly possible!

 

Everything is available for download there (game, source code, level packs, level editor); the C libraries are required to run the game.

Off-Topic: ShowHide
I did my best to keep the source code clean and well organized. Each feature has its own .h and .c source files, and they are all as independent from the others as possible:
  • detect - detection of existing level packs
  • menu - level pack selection menu
  • main - calls detect, then menu, then levelpack
  • items - enumerations of the different game items and their properties
  • levelpack - level pack parsing and levels loading
  • level - the actual game engine
  • draw - rendering of the view
In case some people here aren't very experienced with game development for the TI CE calculator, but would like to learn how to use appvars for level packs, or how a game engine can be split into several parts: feel free to study this simple game's source code.

Do not hesitate to make your own levels and share them here :)

DJ Omnimaga

THis is definitively going on my calc soon. I like the graphical style that remains true to the original. :)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

Zemmargorp

Thanks :)

You can even have sprites that look closer to the original game by pressing [alpha], which toggles a grayscale palette haha ;D
Otherwise yes, I was really happy to be able to make coloured sprites that kept the original game's visual style.

Powered by EzPortal