Animate Sprites in B3D

Blitz3D Forums/Blitz3D Beginners Area/Animate Sprites in B3D

presumably when you say animate a sprite, you mean change the image to another frame?

In which case, it isn't a standard blitz thing (unlike LoadAnimImage, there is no LoadAnimSprite).

You *could*:

1) Have multiple sprites and switch between them, however each sprite would have a different surface and depending on how many frames you want, this could cause slowdown.

2) (more preferable) use a single surface system and have the animation as one image, and the sprite as a Quad (two triangles). There are many examples of single surface systems in the code archives, some more complex than others (see 3D - Mesh for some of them).