How do I create a object (zombie) spawner

Get help using Construct 2

Post » Sat Apr 09, 2016 7:09 am

How would I go about creating a way to spawn objects (zombies) just outside the layout at random places at a certain time?

Ps. I already have it set up so that once they are spawned outside the layout they change direction back to the player

~Cheers
B
5
Posts: 7
Reputation: 239

Post » Sat Apr 09, 2016 8:15 am

almost every top-down shooter tutorial shows you some way.

You could use spawner objects around the screen and choose (randomize) where the next zombie should appear (every x second)
Or you could randomize the XY position (a bit more difficult)

Here is a nice tutorial about an Asteroids clone
here he starts placing spawner objects
https://youtu.be/wJ1h9HPhb4I?t=221

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Sat Apr 09, 2016 8:19 am

Cheers mate!
B
5
Posts: 7
Reputation: 239


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], vendara and 5 guests