You can create a quad and add an animated texture to it.It's the same thing with a sprite.
Here's the function to create a quad;
Here's the function to create a quad;
Function CreateQuad(parent=0) sprite = CreateMesh() he = CreateBrush(255,255,255) v = CreateSurface(sprite, he) FreeBrush he AddVertex ( v, -3, 3, 0, 1, 0) AddVertex ( v, 3, 3, 0, 0, 0) AddVertex ( v, -3, -3, 0, 1, 1) AddVertex ( v, 3, -3, 0, 0, 1) AddTriangle ( v, 0, 1, 2) AddTriangle ( v, 3, 2, 1) FlipMesh (sprite) EntityParent sprite, parent Return sprite End Function