How do I Create Object After First Object is Destroyed

0 favourites
  • 5 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I want create first object (enemy) show start in layer, after I shoot this enemy is destroy, next show again other enemy.

    How add event create again object in sequence, after first object is destroy NOT use timer but before object is destroyed?

    so don't create object before first object is destroyed

    Please show me how event sheet or give me sample .capx dropbox

    Sorry bad English Thanks

  • Condition > Sprite > on destroyed

    Action : create

  • Condition > Sprite > on destroyed

    Action : create

    How create object one by one after first object show is destroyed?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • variable ToCreateOrNot = 0

    variable ToCOUNTorNot = 0

    On destroyed first

    set ToCreateOrNot = 1

    set ToCOUNTorNot = 5

    system > Every 1 second

    System > compare 2 values > ToCreateOrNot = 1

    System > compare 2 values > ToCOUNTorNot = not 0

    System > create an item

    System > substract 1 from ToCOUNTorNot

  • variable ToCreateOrNot = 0

    variable ToCOUNTorNot = 0

    On destroyed first

    set ToCreateOrNot = 1

    set ToCOUNTorNot = 5

    system > Every 1 second

    System > compare 2 values > ToCreateOrNot = 1

    System > compare 2 values > ToCOUNTorNot = not 0

    System > create an item

    System > substract 1 from ToCOUNTorNot

    Ok, I'll try again Thank you

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