Switching between lay-outs

Get help using Construct 2

Post » Wed Nov 28, 2012 9:44 pm

hello,

I am kinda new to this program and I would can't figure out ''how to enter a house''. i made an event as the following:

"Player" on collision with "door" --> "system" go to layout 2

this all worked fine, but when i try to leave the house i just bump in the door and nothing happens. my event for switching from layout 2 to 1 looks like this:

"Player" on collision with "door" --> "system" go to layout 1

does anyone know what is going wrong or do i need a different approach to these kind of things?

thanks in advance,

RoBa

B
4
Posts: 6
Reputation: 737

Post » Wed Nov 28, 2012 10:30 pm

If you're using one event sheet what's happening is that as you're coliding with a 'door' you are being sent to layout 2 again.

You can fix this by using a different event sheet, or put in an invisable invisable block each time you want to go to a different place.

i.e. Outside2House block and House2Outside block
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125

Post » Wed Nov 28, 2012 10:37 pm

dear emoaeden,

i already tried using a second event sheet, i am also using an a different sprite to teleport to layout 1 from 2. but it still does not seem to do its job. it just touches the block and nothing happens. i am not even transported back to the starting position of layout 2.

thanks in advance,

RoBa
B
4
Posts: 6
Reputation: 737

Post » Wed Nov 28, 2012 10:58 pm

Can you upload a .capx and I'll take a look at it for you :-)
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, GenkiGenga, Kagubro, Mirlas, zeneizel and 23 guests