2D Toolkit Forum
2D Toolkit => Support => Topic started by: willeml85 on January 11, 2013, 12:03:02 am
-
Hello i was hoping someone could help me with a issue i was having,
as i am trying to get sprite animations running on command in my tilemap.
Namely lava flowing over my rocky tiles, i put my animated sprite prefab in the Tile's data prefab slot
and when i have my sprite animation set to (play automatically) it runs.
But my question is, is there a way to have the animation play by using a command in script?
Thank you for your time
-
Silly me, i got this to work by slapping a script on the sprite prefab telling it to run, though i do wonder if it's optimized to have a script per animated tile..
-
Its not as optimized as it could be, but how many animated sprites do you have like this?
-
200 tiles, works fine ..though have not tested on mobile.
-
Toolkit 2d is simply the best toolkit for 2d in unity as i have tried all the other kits and they ended up not being in high enough quality and support. And having easy animated tiles would really be a sweet addition to the kit. It would be like a more complete solution than it already is.
-
Animated tiles isn't there because there isn't one general solution which will work well in every case. Solutions seem to be very game specific...
I'll investigate further in the next tilemap update.
-
It seems like quite the undertaking to develop new software, thank you for your work.