Page 1 of 1

New demo uploaded: Many Sprites

Posted: Fri Mar 05, 2021 6:04 pm
by desertfish



Many Sprites




View File






How many sprites does the Commander X16 have?  Let's find out, shall we!

 

Written in Prog8.  Source code is here: https://github.com/irmen/prog8/blob/master/examples/cx16/bobs.p8






 

New demo uploaded: Many Sprites

Posted: Fri Mar 05, 2021 8:30 pm
by CreativityTheEmotion

So, I'm pretty confident that this just reserves space in VRAM for a finite number of "frames" and loops through them, and concurrently, adds new "sprites" to those frames. Am I correct?

Impressive nonetheless - kudos!


New demo uploaded: Many Sprites

Posted: Fri Mar 05, 2021 8:44 pm
by desertfish

Shhhh @CreativityTheEmotion don't tell them


New demo uploaded: Many Sprites

Posted: Fri Mar 05, 2021 8:48 pm
by desertfish

Actually I don't deserve all the credits.

I stole the idea from an old megademo on the Amiga that had me floored back when it came out in 1990. It contained a section where the Amiga was apparently animating a sheer unbelievable amount of "bobs" (blitter objects) whereas previously the Amiga topped out at animating around 300 or 400 "bobs" or so.

Here's a video of what I'm talking about:     Skip to part 5, starting at 18:52 :





The grin on my face was pretty big when I eventually figured out how they did it.

And now the same effect runs on the commander X16 ?