How do I make a sprite spawn

0 favourites
  • 13 posts
From the Asset Store
Pixel Sprites ala ReactorCore - Builder Hardware - Large pack of sprites!
  • My problem is , when the sprite spawns the numbers of sprite is hundreds . and i want only 1 to spawn

  • Can you put a screenshot of the event that spawns the sprite?

  • Can you put a screenshot of the event that spawns the sprite?

    how to put image? sorry im new

  • Put it on http://tinypic.com/ and share the link here. You have to put as plain text until you get 500 rep, so write the link without the http and

  • Put it on tinypic.com and share the link here. You have to put as plain text until you get 500 rep, so write the link without the http and

    oh sorry here:

  • The second condition is the problem, when the condition comes true construct executes it 60 times a second, that's why you get more then 1 spawns. They are several ways you can fix this, you can add another condition to the second event system -> trigger once while true, or you can destroy the sprite 7 after the second event triggers, in the action menu select sprite7 then destroy. Both of this will fix your problem.

  • The second condition is the problem, when the condition comes true construct executes it 60 times a second, that's why you get more then 1 spawns. They are several ways you can fix this, you can add another condition to the second event system -> trigger once while true, or you can destroy the sprite 7 after the second event triggers, in the action menu select sprite7 then destroy. Both of this will fix your problem.

    then i should create a new sprite?? since ill destroy the sprite 7

  • Can you explain why do you need sprite 7? is it just to trigger the second condition or there's more to it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you explain why do you need sprite 7? is it just to trigger the second condition or there's more to it?

    to randomized my sprite 4 locations of spawn?

  • If you want to do that, there is no need for the second event at all. You can directly create the sprite 4 in the first event, change the action to system -> create object -> select sprite 4, select the layer, and on x y coordinate add the random location.

  • If you want to do that, there is no need for the second event at all. You can directly create the sprite 4 in the first event, change the action to system -> create object -> select sprite 4, select the layer, and on x y coordinate add the random location.

    it works lol, but sprite 4 only last for 1 sec,

  • Don't use set position with that you will change sprite 4 position every 1 sec, you want to use system -> create object.

  • Thank you for you help !! =) sorry im i got many questions thank you !!

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