New to Construct Engine. Need help with the logic!

Post » Tue Aug 01, 2017 8:34 pm

Image
http://imgur.com/OT73jnz

From my understanding, if "appear" animation is playing and animation frame = 5 then spawn object. These 2 conditions should do the work. Why need On Frame Changed? I dont get it.

After i turned the On Frame Changed off it spawn 3 objects. Why's that?
B
14
S
5
G
1
Posts: 31
Reputation: 1,226

Post » Tue Aug 01, 2017 9:17 pm

If the speed of the animation = 20 frames / second. & Assume the game runs at 60 Frames / second.
Then each animation frame is played 3 ticks in a row, hence the condition is 3 ticks true, that is why it spawns 3 objects.

You solved that with 'On Frame Changed'.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Aug 02, 2017 4:53 pm

i get it now, thank you!!!
B
14
S
5
G
1
Posts: 31
Reputation: 1,226


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest