My game consists of a draggable player that starts at the bottom of the screen and must navigate past enemies to reach the top of the screen. The enemies spawn off-screen left, at random heights, and zip across the screen to off-screen right. However, at one screen’s height, my playing field is too short, and my player can traverse to the top of the screen too quickly, facilitating the need for an elongated background several screens high. After the player appears on screen, I want this background (and the moving enemies as well) to start slowly scrolling downwards.
My question is: is the use of ‘transition.to’ the way to go? Or is there a better method to use? Any advice would be much appreciated.
Thank you,
Steven
[import]uid: 79394 topic_id: 16490 reply_id: 316490[/import]
[import]uid: 3826 topic_id: 16490 reply_id: 61552[/import]