• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Changing Animated Tile Speed

S

samurai_zane

Guest
Hello,

Is there any way to change the speed of an animated tile in gml?

For example, I want to start with a tile animating say 8 fps and then change to 16 after an event.

At the moment it looks like I have to switch all tile animations to sprites in order to do that.
 

Mike

nobody important
GMC Elder
No, tables are created at compile time in order to allow different animation lengths.

You'd have to duplicate the animation frames into the tilemap, then change the tile(s) so that it uses the new tile/animation.
 
Top