Spawning Enemies

mmhs1612mmhs1612 Member, PRO Posts: 1

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.

Comments

  • Cutscene EntertainmentCutscene Entertainment Member, PRO Posts: 138


    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 Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    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.