Fade transition

Get help using Construct 2

Post » Sun Jan 05, 2014 8:37 am

Hello

I'm simulating the transition between young to adult Tree

To give it a smoother effect, im using the fade effect for both objects,

Example:

Condition: TreeA has energy 30) = Event: TreeA starts Fade (fade out), TreeA spawns TreeB (which fades in automatically)


Problem is that it spawns a huge amount of TreesB! not just 1, i've tried using the command " only first time" but it makes the other event null as well.

Is there a way to archive the desired effect without spawning a whole forest?
B
65
S
22
G
4
Posts: 358
Reputation: 6,555

Post » Sun Jan 05, 2014 8:55 am

You are spawning an instance of treeB every tick treeA has energy 30.
And because you haven't picked an instance of treeA all instances of treeA will spawn.

add a trigger once while true condition and if you have more trees on your layout you should add a for each treeA condition.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Armench, Jackriduk, kiki4construct and 25 guests