How do I randomly spawn something like (minerals/ore)

Get help using Construct 2

Post » Tue Mar 24, 2015 6:31 pm

Hi, I'm thinking is there a way to randomly spawn a small object such as grass, minerals or ore randomly every x seconds all over the layout. Such as in this image where grass is spawned randomly every few second all over the layout
Image
B
8
S
1
Posts: 91
Reputation: 668

Post » Tue Mar 24, 2015 7:01 pm

for every x seconds
- repeat random (y times)
- spawn (create) object (or family of objects - will pick randomly from family) at layer nameOfLayer, x (random 0, layout.width), y (random 0,layout.height)
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
30
S
10
G
11
Posts: 603
Reputation: 8,290


Return to How do I....?

Who is online

Users browsing this forum: Greaver, HoobSug and 24 guests