How to make a continuous background?
expired_012
Member Posts: 1,802
Hi, How do I lock my background image so that it stays still while my actors in front of that layer can keep on moving down the screen?
Comments
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Hope this helps or somewhat answers your question!
Ah, I think I see what you mean. Let's say for example's sake only, you have a ledge with a back wall, this being your background. your player moves off down from the platform, then when he reaches a certain point on the 480 x 320 area, you want him to stay in that certain position relative to the area, then the background starts moving up? If that's the case, my guess would be something to do with: when the player moves to a certain y pos, the scrollable attribute of your background graphic then becomes true, and will then scroll up away from the player.
I really am a bit frustrated here: I do try to help, but I've been using GS for such a short time, I don't know enough yet to help you more; sorry about that! I've got an idea though that you can't switch scrolling on or off via the Actor Editor; i can't find any reference to the background scrolling as an attribute. Hope I'm wrong....
Also hope I've been of some help at least.
:-)
Another edit: I guess an easy way out would be to make your player non-scrollable and the background scrollable; sorry, maybe not much help again....
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
So maybe you mean the other way round: for the camera to follow the player, with the background scrolling up, giving the illusion that the player is falling down? If so, this tutorial by Weswog would be most useful for you (it has a player seeming to move sideways, but it'll be no prob to change a few parameters for what you want):
Hope I haven't got the "wrong end of the stick" again and it helps you out!
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps