Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Spawning Enemies

On the last level of my game I added an enemy spawner. It is supposed to spawn enemies at random along the right side of the screen. But, it only spawns from one corner no matter how I try to fix it.


  • Cutscene EntertainmentCutscene Entertainment Posts: 135Member, PRO

    Here you go, mmhs.
    I fixed the game for you. It turned out you actually didn't have the spawner set to random. Simple mistake I often make as well. I fixed both your regular monster spawner and your zombie spawner. Good luck with your game!

  • tatiangtatiang Posts: 11,815Member, Sous Chef, PRO, Senior Sous-Chef
    edited November 2017

    This rule in the Level 3 scene?

    It doesn't have a random function. Can you post a screenshot of the rule you're using to spawn?

    Make sure you're opening the expression editor before typing in the random function. If you type it in the y position field without doing that, it will just be converted to 0.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.