How do I spawn Random Animation Frame From Object

Get help using Construct 2

Post » Tue Nov 25, 2014 7:50 pm

Right now in my game I have Crate --> On Destroyed --> Crate --> Spawn Apple on layer 2 (image point 0) .

I have added 6 more different fruit to the animation. How can i randomly spawn a frame from that animation when the Crate is Destroyed?
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Tue Nov 25, 2014 9:40 pm

Spawn Apple on layer 2 (image point 0) .
set frame random(7) :?:
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Tue Dec 02, 2014 7:00 pm

Hey thanks for the help, korbaach
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Buddhika, R0J0hound and 16 guests