Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tile animation (ON/OFF switch case)
#1
Hi, I have some questions about tile animations.

I am trying to make an ON/OFF switch gimmick like what you can find in Super Mario Maker 2 :


In my case, the state of the switch is stored in a Boolean variable.
The best way to achieve this effect I think is through animations. However, I can't find a way to control animations to achieve this effect.
The way I achieved the gimmick is by iterating through THE ENTIRE TILEMAP and change the index of the tiles I want to switch, so, very unoptimized.

Do you know how I can achieve that?
Thanks for your answer!
Reply


Messages In This Thread
Tile animation (ON/OFF switch case) - by System64 - 08-06-2023, 07:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)