playMaker

Author Topic: How to remove an object in a scene being transitioned to?  (Read 1435 times)

spicyasian128

  • Playmaker Newbie
  • *
  • Posts: 18
How to remove an object in a scene being transitioned to?
« on: February 23, 2018, 11:08:19 AM »
Right now I'm trying to make a turn based type of game and have two main scenes in my game: one letting the player move freely and having enemies chase the player, which on collision will transition to a battle state, after winning which it will return to the movement state. I was wondering if there was a way to delete an object in the scene that is being transitioned to, since I want the enemy to disappear after the player beats it. I had planned to just create a new scene altogether that would have the enemy be removed, but I wanted to ask if there was a more simple way to do it before I overloaded my game with scenes like that.

ch1ky3n

  • Full Member
  • ***
  • Posts: 208
Re: How to remove an object in a scene being transitioned to?
« Reply #1 on: February 24, 2018, 03:42:46 AM »
I assume it is like an rpg game, when you contact with the enemies, you will trigger a battle state.
About the load scene, is it additive or single?
and about the enemy why don't you try to use "Destroy object" action ?


Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to remove an object in a scene being transitioned to?
« Reply #2 on: February 24, 2018, 11:34:41 AM »
Just make a fancy transition that will cover up destroying it.
Available for Playmaker work