I have 2 current layers on a background 320 x 960 and a another layer that sits on top of it with the game objects. I have a view port of 320 x 480. What I want to do is scroll from the top to the bottom with the keyboard or mouse wheel. How can I do this?
maybe create an invisible sprite, give it the scrollto behavior and then have it move based on the arrows or wheel?
I advise reading the manual and then the tutorials as they will answer 99% of your starting questions
Develop games in your browser. Powerful, performant & highly capable.
dtoebe - Is the bottom layer stationary then? Or is it scrolling at a smaller rate than the top layer?
Yes the background is stationary. I did build it out to have the invisible sprite, but I was hoping to find a more efficient way of doing it