Home > other >  Mobile game development in elves method besides the timer and moveTo and moveBy what method
Mobile game development in elves method besides the timer and moveTo and moveBy what method

Time:09-18

Mobile game development in elves method besides the timer and moveTo and moveBy what method

CodePudding user response:

MoveTo and moveBy also just encapsulation of Sprite position, a Sprite is the most basic information by Pos, Rotation, Scale, you can directly manipulate these information, implement as you want to move effect, generally speaking, the library will provide Pos of Sprite, Rotation, Scale of direct access, you can try to control this information,

CodePudding user response:

Mobile computing elves vector, each frame in the update to setPosition

CodePudding user response:

update
  • Related