How do I simply flick an object betwen two states

Get help using Construct 2

Post » Tue May 30, 2017 6:04 pm

Image

why isn't this chain of events working, i click it once and it does the first change, but when i click on the car sprite it wont change back

ignore the array
B
2
Posts: 2
Reputation: 154

Post » Tue May 30, 2017 6:38 pm

My guess is that the objects are being created, and destroyed in the same click.
Ticks are quick, order matters.
Image ImageImage
B
169
S
50
G
173
Posts: 8,319
Reputation: 110,282

Post » Tue May 30, 2017 7:14 pm

i figured it would be something like that, but how do i get round it, theres no wait type actions
B
2
Posts: 2
Reputation: 154

Post » Tue May 30, 2017 11:05 pm

When you make the action click the system cog, look under Time for Wait.
Its should be:
On object a clicked, system wait 0.10 milliseconds, object spawn b, destroy a.
On object b clicked, system wait 0.10 milliseconds, object spawn a, destroy b.
Image ImageImage
B
169
S
50
G
173
Posts: 8,319
Reputation: 110,282


Return to How do I....?

Who is online

Users browsing this forum: richardfu and 33 guests