Hi,
I'm making a game for my assignment. I have a scrolling background consisting of 5 backgrounds and want to place a picture (Of a portal) at the end of the scrolling background to transport the sprite the the next level of the game. I don't know how to do this and my game is due in 2 days!
PLEASE HELP!
Thanks
Offline
I assume then, that you know how to make the background scroll. Use the same script, but like this.
when gf clicked forever set x to ((scrollx) + (([480] * [5]) + [150])) if <touching [player v] ?> broadcast [next level v] //or... change [level v] by [1] wait [1] secs //if you're using variable based systems.The 150 is probably going to work, but make the number larger to go further left, smaller to go furthe right. And this is to be used in conjunction with your hiding script, or frame. The one for the frame is shown here. Use either the broadcast or the variable, not both, unless you have something else that utilizes both.
Last edited by sonicfan12p (2012-09-10 14:59:16)
Offline