How do I "RANDOM" sprite animations?

Get help using Construct 2

Post » Sun Jun 28, 2015 9:02 pm

hi, i have one sprite in my game with differents animations
Image

HOW to tell to my game to play random animations but ONLY the animations "B1 B2 B3 B4 B5" not the "A0"

thanks
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Sun Jun 28, 2015 9:05 pm

Set animation to random(B1,B2,B3,B4,B5)?
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Sun Jun 28, 2015 9:07 pm

VIKINGS wrote:Play random(B1,B2,B3,B4,B5)?


That would be play: choose("B1","B2","B3","B4","B5")
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

Post » Sun Jun 28, 2015 9:15 pm

whoops something happens IT PLAY randomly the animations but it does wierd placements :s
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Sun Jun 28, 2015 9:37 pm

ok solved
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Sun Jun 28, 2015 9:45 pm

you wold also have to create a check list for each animation if animation is playing b1 choose("B2","B3","B4","B5") etc and when ur animation is on B1or ,b2,b3,b4,b5 not to get the same animation again and to create the glitch where its going to pick itself!
B
75
S
22
G
69
Posts: 1,341
Reputation: 43,779


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot], yiuyiu6666 and 12 guests