Sprite Control

Blitz3D Forums/Blitz3D Programming/Sprite Control

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I'm just having a play with Sprite Control, over in the code archives.

Could do with some questions answered, if you could be so kind.. (since it seems, most of you had some input one way or another)

1. Does it create each sprite as a seperate surface ?

I want to have at least 300+ sprites, 300 surfaces is gonna be slow !

2. Anyway to set the order to which each sprite is rendered ?

3. Can you put a 3d object INFRONT of the sprites ?

I want to have a 2d cartoony sprite holding a candle, but would like the light off it to be a proper light that can lightup the surrounding sprites.

4. I want to use a shed load of background tiles to make up my maze level, should I use just one big texture ? (load it as an animated surface)

Thanks Guys.

Hi Paul,

Here's what I know or have picked up while reading these forums ..

1. Yes
2. Check the entityorder command
3. as above
4. If your just tiling an area on one plane like a 2d style tilemap then you could use a single surface with a new quad (4 x vertices joined to form a square) for each tile. You can then assign each vertex of each quad a different u,v texture coord to access different parts of the big texture.

Check our Rob older post 'Is this a single surface again' - might make more sense.