get my player return to the layout by the last postion

Get help using Construct 2

Post » Fri May 09, 2014 1:16 pm

i have two layouts, when my player is on collision with the wall it goes to the Layout 2
but the probeme i have with is when my player return by the door it goes to the layout 1 in the initial position
but i want it return by wall

thanks!
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 26
Reputation: 307

Post » Fri May 09, 2014 1:27 pm

Give your player the Persist behavior .
https://www.scirra.com/manual/161/persist
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Fri May 09, 2014 1:46 pm

thanks
it works but when my player is on layout 2 and i'm trying to get him by the door it still reloading the layout
B
5
Posts: 26
Reputation: 307


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Nicolas951 and 10 guests