How many can we draw? Stress testing

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

I know it doesn't look like anything yet!  Baby steps.  I'm doing some research to see how I could implement things. My current thoughts are to use PF graphcis and a software sprite system for the lemmings. This way I can get MANY onscreen without flicker. However, they'll be a lot bigger than sprites, so we'll have a sort of zoomed in playfield/game.  Should be OK. Ee shall see.

Conceptual - I need to know how many "lemmings" I can draw using a software sprite system. In this video I'm doing about 40, but I think the limit is going to be about 60. I'm just drawing blocks of random data here, but it's all setup properly to draw a lemming when I get the shape data in.

These graphics are actually *8 pixels wide* but only 4 are set in the shape data shown here. In other words, I'll be able to have lemmings with arms spread wide, etc., etc.


This is all happening on top of a scrolling character graphics background - you will see that I've used Sokoban as the starting point - and in fact that game is still running behind all the lemmings. So, when it comes to have a proper scrolling lemming playfield, that's all accounted for in this timing test.

Lemmings will be about the size of the shown blocks - PF graphics are terribly low resoltuion, but then again so are the lemming sprites. We shall see how it goes!

Andrew Davie

Effectively I have a pool of (say) 50 software sprites I can draw every frame. That is, 50 lemmings. Give or take. So if I have more than that visible on screen (and here's where the zoomed in screen is going to help), then I can use a sprite multiplexer.  The flicker is going to be unavoidable, but given the clutter and the large sprite pool, I think it will work just fine.

Probably next thing I might put in is a few lemming frames, just to get a feel for the visuals. I'll get a tool written to convert graphics source files into source code. Shouldn't take too long.

Andrew Davie

#2
A lemming....


Andrew Davie

OK, it's fairly clean now. I quite like the large number of software sprites all being drawn at once.


Andrew Davie

#4
Another stress test with the refined draw system...