How do I randomly spawn a enemy without it getting stuck in/on solid objects?
Develop games in your browser. Powerful, performant & highly capable.
Spawn at random xy. If on created, it is overlapping another object, destroy, run spawn at random xy.