Start of layout spawns 2 player objects

Get help using Construct 2

Post » Tue Jan 05, 2016 5:58 am

When I start a second layout my player sprite is duplicated on the second layout so there are 2 player objects moving identically etc. if I go back to the first layout the spawn problem does not occur again. Help me understand please.

P.S I don't have enough rep to post capx links yet. Soon...

TIA
B
8
Posts: 27
Reputation: 365

Post » Tue Jan 05, 2016 6:28 am

Can you be more precise or post your .capx please?
B
15
S
2
Posts: 28
Reputation: 1,375

Post » Wed Jan 06, 2016 12:57 am

Thanks for following up. If you add the dot and remove the space after the slashes to this url you can download it. I cannot link the capx until I get more rep.


http:// 1drv dot ms/1OLkNUg
B
8
Posts: 27
Reputation: 365

Post » Wed Jan 06, 2016 7:01 pm

I fixed the problem.

I really don't understand how this happens, but i fixed it :
I forced the game to destroy the player at "Start of layout" and at "Go to layout"
Then i forced the game to create a new object "Player" at "Start of layout" ;)

http://download1478.mediafire.com/rcvdi02463qg/8q0txi4nxav7d0a/RenAmRomp.capx
B
15
S
2
Posts: 28
Reputation: 1,375

Post » Thu Jan 07, 2016 2:06 am

Thanks! I don't know why I didn't think of that...lol. Appreciate the help OnyOxis.
B
8
Posts: 27
Reputation: 365


Return to How do I....?

Who is online

Users browsing this forum: totoe and 13 guests