How do I create known object between random objects

Get help using Construct 2

Post » Mon Sep 15, 2014 5:21 pm

Hello guys, what I'm trying to do is create five instances of an object that has four animation frames, but I want one of those five instances (in a random order) to have animation frame number 3, while the others must have animation frame 0, 1 or 2 (random).

I created a .capx with the objects and a event that create five blocks with random colors (0, 1 or 2 animation frame) so you guys have something to start. I really have no idea how to do that, please help me! :)


Summarizing what I want to do:
Click button --> Create 5 blocks
one of the blocks must be green
other must be red, blue or yellow
You do not have the required permissions to view the files attached to this post.
B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Mon Sep 15, 2014 5:32 pm

Just make 4 blocks with frames 1to3, and one more, that is always frame 0.
You do not have the required permissions to view the files attached to this post.
ImageImageImage
B
71
S
21
G
229
Posts: 3,686
Reputation: 128,336

Post » Mon Sep 15, 2014 5:37 pm

lol thanks that was quite simple

the example i used its not exactly what i'm trying to make but I thought it should work. it's a little bit more complicated than that, I will try later to see if I can achive what I want. If I can't than I'll be back hehe

Thanks again
B
22
S
4
G
3
Posts: 61
Reputation: 2,683


Return to How do I....?

Who is online

Users browsing this forum: Unconnected, Yahoo [Bot] and 23 guests