How do I... Make player transfer to new level?

Get help using Construct 2

Post » Sat Apr 11, 2015 8:32 pm

Hi guys! I wanna make it so when my player touches my tunnel image that's in my background the player gets transferred underground to a new level. Does anyone know how I can do this? Thanks
B
17
S
4
Posts: 86
Reputation: 1,211

Post » Sun Apr 12, 2015 2:37 am

you can make the tunnel a seperate sprite and then do// EVENT: (when player on collison with object(the object would be the tunnel) ACTION:System:Go to layout (the layout would be the new level).

PLEASE TELL ME IF YOU NEED FURTHER HELP
B
5
Posts: 34
Reputation: 295

Post » Sun Apr 12, 2015 5:06 am

in addition from properties bar set global to yes
B
55
S
18
G
10
Posts: 209
Reputation: 8,545

Post » Sat Apr 18, 2015 7:02 pm

@mexico1414 I got it to transfer but how do I get player to be there also? it's just the background only haha
B
17
S
4
Posts: 86
Reputation: 1,211

Post » Sun Apr 19, 2015 3:02 am

On the layout make like a starting spot something like a square or something and then on the event sheet do this : EVENT : on start of layout ACTION : the object you made spawn an object which is the player . And then you're done

Please tell me if you need further help
B
5
Posts: 34
Reputation: 295

Post » Mon Apr 20, 2015 9:06 pm

@mexico1414 ok I'll give that a try also, thanks :) also with these levels do you know how I can stop the background from scrolling? for example have you looked at the space blaster demo in construct 2? the background keeps scrolling. I changed the 4 or 5 default backgrounds sections they use in that demo to 13 of my own sections and I want the background to stop scrolling at the last section which would be backgroun13 and then have a boss appear
B
17
S
4
Posts: 86
Reputation: 1,211


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 39 guests