Cheap and Easy Tilemap Animation

1

Attached Files

The following files have been attached to this tutorial:

.capx

animtileexample.capx

Download now 174.21 KB

Stats

815 visits, 915 views

Translations

This tutorial hasn't been translated.

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

This method uses a function call to determine the tiles you want changed and what to change them to using the replace() expression, as the tilemap is basically just a text field that has images instead of text. This results in little to (pretty much) no CPU usage. I use this method in my game I'm currently making and it uses less than 1% CPU to do.

I have commented every relevant bit of my script in the provided CAPX.

.CAPX

animtileexample.capx

Download now 174.21 KB
  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!