How do I make random objects form in random places

Just started using Construct 2? Post your questions here

Post » Fri Mar 21, 2014 3:05 pm

I am attempting to make a game where I have 10 numbered bubbles and I want to make a random one of these bubbles spawn in a random area under the layout every 1.5 seconds. They will then have to move upwards onto the layer. I am having serious trouble finding help with this. Any help would be appreciated thank you
B
3
Posts: 8
Reputation: 191

Post » Fri Mar 21, 2014 3:53 pm

Well, that was kind of fun. See if you can get what you need out of this file.
You do not have the required permissions to view the files attached to this post.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Mar 21, 2014 4:17 pm

Thank You shirokuma for your reply. I tried this and it would work perfectly if I was trying to make one sprite appear in a random place but instead I need a random sprite from a family to appear in a random place. Could this be worked into your code?
B
3
Posts: 8
Reputation: 191

Post » Fri Mar 21, 2014 5:03 pm

I wasn't certain you had access to Families. Here is a version using them.
You do not have the required permissions to view the files attached to this post.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Mar 21, 2014 5:16 pm

Thank you so much. That is exactly What I wanted :D
B
3
Posts: 8
Reputation: 191


Return to Beginner's Questions

Who is online

Users browsing this forum: gyurto and 2 guests