Jump to content

Tilemap animated tiles


JavaNerd
 Share

Recommended Posts

I accomplished it by making it so when the player clicks on the game with an animated tile, it spawns the animated tile sprite over the tile map, where it would of went. When a user changes it back to a static tile, it deletes the sprite over the tile map.

For example, if a player chooses water it spawns the static water tile in the tile map, but also spawns the animated water sprite on top of it. The player will never notice the static water image under the animated one. When a player changes it back to dirt, it will delete the water sprite and change the water tilemap to dirt. Hope this  helps someone!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...