How can I do this?

Get help using Construct 2

Post » Thu Jun 02, 2016 10:43 pm

Hello I'm new to construct 2 and need help with the following:


Example,

Let say I have a object background which has two frames animation that switches from color blue to red.
Then I have another object on top of my background, let say a square that is the color red.
When the background switches to red and you click on the button which also red destroy the square however if you press the square while the background
is blue destroy the background.


Thanks in advance!
B
30
S
14
G
2
Posts: 26
Reputation: 3,347

Post » Thu Jun 02, 2016 11:12 pm

Condition > Mouse clicked object
&
Condition > object > compare frame, frame = (or not =) background..AnimationFrame
&
Condition > system > trigger once while true

Action
destroy
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Jun 03, 2016 2:10 am

Thanks man this help me a lot and got what im doing working.

I wasn't aware of "compare frame" option.
Seems that there's a lot for me to learn.

Thx again for the help.
B
30
S
14
G
2
Posts: 26
Reputation: 3,347

Post » Fri Jun 03, 2016 3:24 am

99Instances2Go wrote:Condition > Mouse clicked object
&
Condition > object > compare frame, frame = (or not =) background..AnimationFrame
&
Condition > system > trigger once while true

Action
destroy

good man!
B
13
S
5
G
4
Posts: 119
Reputation: 3,353


Return to How do I....?

Who is online

Users browsing this forum: Armench and 18 guests