Hi, I have some performance issues in my last game (it's for Android with Canvas +).
Is it better to use an invisible sprite to move enemies, or do each frame with its own collision?
Thanks
of course the second choice is better
i use the same idea on my games
Hi, I have some performance issues in my last game (it's for Android with Canvas +). Is it better to use an invisible sprite to move enemies, or do each frame with its own collision?
Ashley's own platform tutorial recommends the former.
The text and the image are the opposite way round, so saying the first/second is confusing. We recommend using an invisible sprite that is simply a box to ensure the game is reliable. This isn't for performance reasons, it probably has no effect on performance.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the answers, use the invisible sprite, I think it's for the best.