Saturday, October 15, 2022
HomeGame DevelopmentHow one can make Motion Code Environment friendly - Cocos Creator

How one can make Motion Code Environment friendly – Cocos Creator


Hello, I’m making a platformer sport with Cocos Creator (v2.x), and I learn this dialogue. I used to be questioning, for the reason that motion system isn’t wanted and you may simply use a scheduled replace, what’s the best solution to code the motion of a personality/characters (with code examples offered)?


you should use cc.tween:Tweening · Cocos Creator

Thanks for the reply! I’ll undoubtedly use that, however I’m additionally curious, is simply utilizing setPosition within the replace perform extra environment friendly?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments