Hi,
In my game, I have around 10 monsters (AtlasSprite) walking around the screen randomly.
I'm using MoveTo action with a timer to change the target position every few seconds for each monster. It work, but the performance is not acceptable (dropped to 30fps) when I added to around 30 monsters.
I think the problem is that I create the MoveTo action everytime the monster need to change the target position.
I want to create the action during the init phase, but how can I reuse the pre-created action with random position?
Please help. Thanks a lot!