1
TI Z80 / Fruit Ninja for the CSE
« on: March 19, 2015, 11:39:50 pm »
If you want to see how this looked like when it first started, go to this Cemetech thread, but from now onwards I'll be crossposting everything from there to here and vice versa.
Anyway! This is an attempt to clone @Deep Thought 's monochrome Fruit Ninja game for the color calcs using xLIBC (as such, it requires Doors CSE to run). The control scheme is pretty similar so far (swipe across the keypad to draw a line onscreen, the screen is mapped from the MATH row downwards, every key works except for ON) except for those annoying dots that appear... but those'll be fixed easily enough.
A demo:
Download here (If you just want the program without the background pic, that's here). The code alone is here.
edit: some more important info from the Cemetech thread--
Anyway! This is an attempt to clone @Deep Thought 's monochrome Fruit Ninja game for the color calcs using xLIBC (as such, it requires Doors CSE to run). The control scheme is pretty similar so far (swipe across the keypad to draw a line onscreen, the screen is mapped from the MATH row downwards, every key works except for ON) except for those annoying dots that appear... but those'll be fixed easily enough.
A demo:
Download here (If you just want the program without the background pic, that's here). The code alone is here.
edit: some more important info from the Cemetech thread--
Quote
For those wondering how it works:
You may have noticed that the TI-OS's getKey command maps keys by row, then column. Using the ᴇ, iPart() and fPart() commands, the program extracts those row/column values, multiplies them to make them usable on the screen, and uses the multiplied column value/multiplied row value as X/Y coords to draw the line.
The example in the video uses xLIBC to draw the lines , but I have one that just moves an O around on the homescreen using pure TI-BASIC; that can be found here. (code here)