I've been trying to figure out how to spawn an enemy object into the scene at a random position without spawners. Could anyone please help? Slightly new to C2.
Develop games in your browser. Powerful, performant & highly capable.
Instead of giving a x and y cords... you can do something like this...
random(1,2,3,4)
for both of the cords... that way it will pick between those cords, and spawn the enemy there!
What is the scene?
Do you mean the Layout or the Viewport?
To get a random value you can use the random() expression
random(layoutwidth)
random(layoutheight)