by MirekCz » Sep 19, 2001 @ 5:30am
Jacco:hmm, might be, it's quite a long time;) I do remember that I wanted to be as smart as you back then... well actually I still do;) And yes, you did make the old machines "fly":)<br>Anyway you didn't answer my question, Is your new sprite demo using a run-lenght encoding to get such high numbers? With my functions I wouldn't been able to get more then like 25fps with that many 80x80sprites...<br><br>PS.run-lenght encoding, not sure if it's the correct name for it, but it's what I have heard once, basically it's about calculating how many transparent pixels are between non-transparent pixels and then just jump over them everytime you encounter them instead checking every pixel if it's transparent or not.<br>PS2.wrong again, the run-lenght is an approach where you check for pixels with the same color rather, I have just changed it to transparent/non-transparent cause that's what gives a big boost in sprite drawing...(is there a name for that?!? I used to name them FTIF with a friend long time ago.. and i still do (FTIF-fast transparent image format)
With best regards,
Mirek Czerwinski