How do I fix this layout problem?

Get help using Construct 2

Post » Tue Feb 10, 2015 4:54 pm

Hey i have a problem and I'm hoping one of you guys can help me with it.

What way would i go about setting a global player position on the start of a layout?

so say the player is on the first layout and when he walks off screen i want him to appear on the next layout at his new position but i don't want him jumping back on the first layout before switching.

Iv'e tried this

If player is outside layout> go to next layout
set player X,Y to yada

Iv'e also tried a collision object so

if player is on collision with yada> go to next layout
set player X,Y to yada

when i do either of these, the player jumps back to the new position before the next layout loads. Any ideas?

what im looking for is just your run of the mill Prince of Persia, Zelda screen behavior
B
5
S
1
Posts: 26
Reputation: 429

Post » Tue Feb 10, 2015 7:25 pm

Is this what you're looking for?

layout-change-example.capx
You do not have the required permissions to view the files attached to this post.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
15
S
3
G
1
Posts: 329
Reputation: 2,012

Post » Wed Feb 11, 2015 12:10 am

Hey bruno thanks for the reply. I cant seem to update the software because of browser issues so i cant run this carpx.
currently using version r190.
B
5
S
1
Posts: 26
Reputation: 429

Post » Wed Feb 11, 2015 6:13 pm

Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
15
S
3
G
1
Posts: 329
Reputation: 2,012


Return to How do I....?

Who is online

Users browsing this forum: Cryttexx, KNTMartin, ridhoemgl, Unconnected and 7 guests