Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else:
- if (abs(GLOBAL.playerCoordinates.y - position.y) > 30):
- lift()
- else:
- if (GLOBAL.playerCoordinates.x < position.x):
- _move("left", SPEED * GLOBAL.sceneScaleCoef)
- else:
- _move("right", SPEED * GLOBAL.sceneScaleCoef)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement