03-28-2010, 10:16 PM
Okay...
So I've been rewriting fourspriter again. More or less from scratch. Works a different way altogether. Totally speed optimized. Doesn't use UDG (instead the graphics are poked to memory somewhere, and it uses that).
It's only part done - the erase function seems to work. I did a quick speed test...wasn't sure if it was going to be any faster using this method.
Set to work on only a single sprite, Original fourspriter 250 erase functions: 10 frames.
My new version, single sprite, 250 erase functions: 3 frames.
Wow.
Little bit faster, then.
And yeah, it's going to be quite a lot faster than the new version Nathan did.
So I've been rewriting fourspriter again. More or less from scratch. Works a different way altogether. Totally speed optimized. Doesn't use UDG (instead the graphics are poked to memory somewhere, and it uses that).
It's only part done - the erase function seems to work. I did a quick speed test...wasn't sure if it was going to be any faster using this method.
Set to work on only a single sprite, Original fourspriter 250 erase functions: 10 frames.
My new version, single sprite, 250 erase functions: 3 frames.
Wow.
Little bit faster, then.
And yeah, it's going to be quite a lot faster than the new version Nathan did.