ridiculously fast ti-basic sprite routine
Moderator: MaxCoderz Staff
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
ridiculously fast ti-basic sprite routine
on my 84+SE I was getting 0.3 seconds of rendering time per 8*8 sprite.
and for download:
http://rancidmoose.unitedti.org/members/so...lc/RTSPRITE.zip
..btw, those sprites are for an upcoming Turn Based Strategy game I am planning, similar to the classic "Strategic Conquest"
actually making the sprites is as follows:
First you try to see the lines (and individual pixels if you can find groups of 2) in the sprite, but without overlapping if possible.
Second you use a for loop to transform half the lines to the other half.
if you have one extra line or one extra pixel, stick that outside the loop.
if you have both, just put the line inside the loop, and make it so the start and endpoint are the same second time around.
and for download:
http://rancidmoose.unitedti.org/members/so...lc/RTSPRITE.zip
..btw, those sprites are for an upcoming Turn Based Strategy game I am planning, similar to the classic "Strategic Conquest"
actually making the sprites is as follows:
First you try to see the lines (and individual pixels if you can find groups of 2) in the sprite, but without overlapping if possible.
Second you use a for loop to transform half the lines to the other half.
if you have one extra line or one extra pixel, stick that outside the loop.
if you have both, just put the line inside the loop, and make it so the start and endpoint are the same second time around.
- L4E_WakaMol-King
- Maxcoderz Staff
- Posts: 342
- Joined: Tue 01 Nov, 2005 6:34 am
Nice! I haven't been keeping track of many of the basic games, but this is a nice routine. Deff the fastest pure basic sprites I've ever seen.
- Now Under Development - [Progress]
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
- dysfunction
- Calc Master
- Posts: 1454
- Joined: Wed 22 Dec, 2004 3:07 am
- Location: Through the Aura