How do I destroy object on button release

Get help using Construct 2

Post » Sat Mar 05, 2016 11:20 am

Image

https://www.youtube.com/watch?v=bWNQYIY6yJE

In the video it shows you what happens when I release the button.

[The thruster animation detaches and sits there instead of (fading) or (destroying)]

How do I fix this
B
55
S
33
G
19
Posts: 67
Reputation: 14,412

Post » Sat Mar 05, 2016 2:16 pm

Dont see anything in your code that tells it to begin fade???

Can you upload the capx this looks like a pretty easy fix
B
9
S
3
Posts: 58
Reputation: 805

Post » Sat Mar 05, 2016 2:38 pm

You've buried the release triggers under "A is down". If A isn't down, they'll never get called. Move them to the top.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198

Post » Sat Mar 05, 2016 2:51 pm

Thank you for taking the time out to help me.
Last edited by supreme676 on Sat Mar 05, 2016 3:38 pm, edited 1 time in total.
B
55
S
33
G
19
Posts: 67
Reputation: 14,412

Post » Sat Mar 05, 2016 3:22 pm

blackhornet wrote:You've buried the release triggers under "A is down". If A isn't down, they'll never get called. Move them to the top.


ok now it destroys but when I press the key it does not appear again
B
55
S
33
G
19
Posts: 67
Reputation: 14,412

Post » Sat Mar 05, 2016 3:26 pm

:) That's because you destroyed it! You should just set it to invisible, and then when a key is down, set it to visible again.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198

Post » Sat Mar 05, 2016 3:44 pm

blackhornet wrote::) That's because you destroyed it! You should just set it to invisible, and then when a key is down, set it to visible again.


:D thank you it works!
B
55
S
33
G
19
Posts: 67
Reputation: 14,412


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests