spawn sprites at certain score levels

  • i have been trying to figure this out for a couple of days so i thought i would ask , i have random spawn points but i want to spawn a life at certain score levels for players to collect .

    any help or a point in the right directions would be awesome <img src="smileys/smiley1.gif" border="0" align="middle" />

  • system compare: score > 123235342

    system trigger once while true:

    • pick random instance spawnpoint: spawnpoint spawn life on layer something imagepoint something
  • I guess you are using a variable to keep your score, so then it would be:

    If Score > (the certain level) - create sprite at random spawn point.

    use a trigger once to make sure the sprite isn't created every tick.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I guess you are using a variable to keep your score, so then it would be:

    If Score > (the certain level) - create sprite at random spawn point.

    use a trigger once to make sure the sprite isn't created every tick.

    sorry i was not too clear , im using the above code but can i use a or block for multiple score spawns or have to to a separate if statements , i know how i would do it in python or Java , but the process in construct 2 works its a little diff

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)