Cheap and Easy Tilemap Animation

2

Attached Files

The following files have been attached to this tutorial:

.capx

animtileexample.capx

Download now 174.21 KB

Stats

1,856 visits, 2,358 views

Tools

Translations

This tutorial hasn't been translated.

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.

Published on 31 Aug, 2018. Last updated 19 Feb, 2019

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!