+-Discord Shoutbox

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

[TI-84+CE] Mode 7 test project

Started by tr1p1ea, January 03, 2018, 02:25:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


For some reason I thought I had a Mode 7 topic here, but I cannot find it (If a mod finds it please merge etc)

I have been messing with Mode 7 style effects for the calcs for ages and have recently ported some code over to the CE to see how it runs. At this stage it seems to work ok, but there is a lot of room for improvement as always.

Here is a test screenshot, note that the test sprite is only 3 frames so it looks weird when turning, but it is just a test:

Note that I'm not sure if I'll actually finish anything with this as I have a terrible record for that. And if I do it wont feature any Mario Kart graphics directly, the sprites are just for testing ... Maybe I can feature a Walrii Kart?!


Wow,! this is awesome :D
A walrii cart game would be cool to see :)


That would be pretty cool indeed.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

DJ Omnimaga

Looks very smooth tr1p1ea! I agree that a :walrii: game would be cool, especially that I had some Walrii kart sprites somewhere
  • 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, Nintendo Wii U


Looks great! Did you have to compress or downscale the map at all? Would an increasing size or detail of the map lead to a slower framerate? How about adding collision? I'm really curious to see if anyone could pick this up or make some SNES port like a Mario Kart game.
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE


Thanks! This is just a testmap and I dont plan on using any actual SNES maps etc - all maps need to be specifically made properly - but the tracks are just 2D tilemaps. I should also note that the engine is running at half-half resolution for the track ... which is why it can look lowish quality when up close, but it's for speed.

Minor update - I was tossing up between sprite scaling at runtime or pre-sized sprites. The old speed vs size ... I really didnt like the idea of KB's and KB's of sprite data but I was a bit skeptical of runtime scaling. The results thus far are promising for scaling as shown here:

At present I can have 8 of these 24x24 sprites on screen and still maintain 32fps. Of course there is no collision detection, HUD, AI or anything which would slow things down further. I only plan on having 4 player races for speed reasons.

I also added a scrolling background as well to make things look a little more like a proper racing game:

Lionel Debroux

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.



You guys never stop amazing me with your abilities.

  • Calculators owned: TI-83Plus, TI-84Plus
  • Consoles, mobile devices and vintage computers owned: Samsung TAB A (Cheap), DSI, Rasperry PI 3


  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua


Outstanding sir!!! Well done my friend.   :thumbsup:
  • Calculators owned: TI-89 HW1, TI-92+, Casio 9860G Slim, Casio fx6300, Tandy PC7
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.


Appreciate the encouragement!

After a lot of difficulty I finally got object rendering working with sufficient accuracy:

Note that I'm driving slow so I can properly look at the object as it approaches.

This was one of the harder things on the ToDo list, so I'm glad I've made progress :).

DJ Omnimaga

You should keep those graphics, but with walruses in addition to Oiram. They look very cool and PICO-8-like ^^

I like the speed too
  • 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, Nintendo Wii U


Very good observation as coincidentally I'm using the PICO-8 palette for now :).

I also added direction sprites and some other minor fixes:


I actually think you should make a 3d mario kart game. Call it "tarkoiram" :P
  • Calculators owned: Two TI-84+ CE's
Please spam here: https://legend-of-iphoenix.github.io/spam/

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me
Evolution of my avatar:

Powered by EzPortal