AR TeamOne's Recent Forum Activity

  • Can you give me a better hint on this one >>> If its original then simply use an "On-start-of-layout" event to spawn them all where they belong each time layout starts/restarts.

  • Are you referring to their original position when layout starts or their new position of where they collided with player?

    If its original then simply use an "On-start-of-layout" event to spawn them all where they belong each time layout starts/restarts.

    If your referring to new collided position you will need to use a global variable for each that stores their x,y coordinates prior to destroying them and reloads using this data at start/restart of layout...

    But this begs the question of why your restarting the same layout in your gameplay... depending on your goal you could simulate a restart by moving player and only set things collided with to invisible keeping their current position until the simulated restart when they were set back visible...

    I'm referring to their original position when layout starts ,,,, Ok heres the thing lets see I have 50 butterflies on the Layout but I just want to destroy every one I got collision withit and keepit that way until I restart the layout from zero I mean from the start menu or from the map choosing that same level again<<< But I dont want any butterflies appear again just when I lose a Life<<<<But Only when I restart the whole Layout<<< You give a good answer about the invible part but I used an instance with that after I lose a life it will appear again and If I used a Global I think it will destroy all the Butterflies each time I lose a Life <<< ThankZ !!!!! chrisinfinger <<<<

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm referring to their original position when layout starts ,,,, Ok heres the thing lets see I have 50 butterflies on the Layout but I just want to destroy every one I got collision withit and keepit that way until I restart the layout from zero I mean from the start menu or from the map choosing that same level again<<< But I dont want any butterflies appear again just when I lose a Life<<<<But Only when I restart the whole Layout<<< You give a good answer about the invible part but I used an instance with that after I lose a life it will appear again and If I used a Global I think it will destroy all the Butterflies each time I lose a Life <<< ThankZ !!!!! chrisinfinger <<<<

  • Working with Construct2 programing fulltime since a year ago <<<<

  • Ok heres the question>>> When my character has collision with any object and I want that object to get destroy just until the end of the Layout <<How do I make that object spawn in the exact position it was before it had collision with my character when I start the game from the begining again >>> Cause I already put the option Global to that object to "Yes" in the Object Type Properties and all the time when I start the game the object its not there anymore <<< All I want to know its how to make that object appear again but not before the end of the Layout but just exactly when I restart that same level from the begining<<< ThankZ!!!!

AR TeamOne's avatar

AR TeamOne

Member since 7 Apr, 2015

None one is following AR TeamOne yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies