CodeWalrus

CodeWalrus Website => File Download Archives => Games => Topic started by: DJ Omnimaga on February 04, 2015, 09:41:16 pm

Title: [TI-84+CSE] HP Prime Tunnel Demake (2013)
Post by: DJ Omnimaga on February 04, 2015, 09:41:16 pm
This is the xLIBC version of my color Tunnel game, for use with Doors CSE 8.0 on the TI-84 Plus C Silver Edition. Originally released for the HP Prime graphing calculator and written in HP PPL language, this 84+CSE demake was adapted to run within the limitations of the lower end 15 MHz platforn, as well as those of TI-BASIC and xLIBC. Requires Doors CSE 8.0. UPDATE: Car is now drawn with a sprite instead of rectangles, now that DCS supports inline sprites, allowing faster speed.



http://www.ticalc.org/archives/files/fileinfo/456/45655.html
Title: Re: [TI-84+CSE] HP Prime Tunnel Demake (2013)
Post by: tr1p1ea on February 05, 2015, 01:56:20 am
I really love the colours in this game, so nice.

I should investigate scrolling on the CSE to see if it can be improved for speed/ease.
Title: Re: [TI-84+CSE] HP Prime Tunnel Demake (2013)
Post by: DJ Omnimaga on February 05, 2015, 02:17:04 am
Thanks. :) The colors are heavily based on the HP Prime version of this game and to my surprised, xLIBC colors had a very good range that made it possible to mimic the HP game as much as possible. The only difference was the fonts and lack of real-time score update.

Speed-wise, the main issue right now is that xLIBC splits the display in two buffers, but those buffers cannot be shifted around. If we could do that then we could simply redraw every sprite at the exact same location each frame and shift the screen (and buffers) around. Another idea would be to allow drawing sprites/shapes outside the 160 pixels range that the buffer offers, if the user specifies an extra optional argument called OFFScreenDrawEnable (set to 0 or nothing if disabled and 1 if enabled). I'm unsure how hard this would be to implement, though.


That said, it depends if you still plan to update xLIBC and if the 84+CE/83PCE allows hardware scrolling and half-res mode.