i'm makin' a platform game in which the platforms come from up to down. i want to create an object on a random platform and the object will move horizontally on that
particular platform as an enemy
Develop games in your browser. Powerful, performant & highly capable.
You already made the logic to spawn the platforms? You could assign a random number to each one and if it is a certain value then spawn an enemy.