GenAnimateSpriteRandom


GenAnimateSpriteRandom sprite, startTile, endTile, msDelay

sprite

Sprite to be animated.

startTile

The starting tile index in the animation sequence.

endTile

The ending tile index in the animation sequence.

msDelay

The delay between animation tiles in milliseconds.

With this animation command, the tile indexes are picked randomly from a range of tiles.


Game Engine Overview







Become a Patron