Game Maker Studio: How to Create Enemy Random Spawning?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=AjZ224jrocA



Duration: 19:14
1,072 views
0


Visit my MC GAMES site, got a new game coming soon, play Alien Wars BattleFront Demo:
https://bit.ly/2HJ1GxK

Paypal Donate: https://bit.ly/30e8VDZ

GMS File: https://bit.ly/34o3iFx

spawn

Events:

Create

Actions:

Set Alarm 0 to random(450) /////Can change to a higher amount or smaller amount. If set to a smaller amount. I do believe they will spawn faster.

Start moving in a direction, 2 speed

Events:

Alarm 0

Actions:

Set Alarm 0 to random(450)

Create instance of object enemy, relative checked







Tags:
device
game
maker
studio
spawn
spawning
enemy
enemies
how
show
teach
learn
find
random
move
path
on
click
splat
fade
instance
destroy
reverse
set
variable
value
image
speed
angle
effect
change
irandom
solid
direction
rotate
create