Main Page
News
History
Limitations
Graphics
Music
Levels
Gameplay
Now Browsing
Links
Download

MoveTo

      MOVETO                MoveToX, MoveToY, SpeedX, SpeedY

Args:

  • MoveToX: x-axis coordinate where the sprite has to move to.
  • MoveToY: y-axis coordinate where the sprite has to move to.
  • SpeedX: speed step on X per frame.
  • SpeedY: speed step on Y per frame.
  • MoveTo moves a single sprite or a whole chained group of sprites toward the final location that has been chosen by the user. The Baddie(s) movement can be performed at a well determined speed, both horizontal and vertical.

    Being a command fixed to the screen, it's very useful in case of Boss'movements, or other such baddie that is unique since you can plan it out better and don’t care if its not used again.

    See also:
    MasterPath
    Move
    MoveToX
    MoveToY
    SpeedX
    SpeedY

    Main Table