Page 1 of 1

"Player" returns to beginning of Scene when "Deleted"/Killed

PostPosted: Mon 12 Feb 2018, 19:46
by kaliya-nikole
Hello All,

How to return the "Player" to beginning of Scene when "Deleted"/Killed by enemy?

Thanks. :D

Re: "Player" returns to beginning of Scene when "Deleted"/Ki

PostPosted: Mon 12 Feb 2018, 21:48
by Lizard-13

Re: "Player" returns to beginning of Scene when "Deleted"/Ki

PostPosted: Tue 13 Feb 2018, 04:17
by kaliya-nikole
Lizard-13 wrote:Check this: viewtopic.php?f=19&t=9332


Sorry, but this info isn't helping :? I'm not able to figure out what exactly to select and launch. Any other hellp?

Thanks!

Re: "Player" returns to beginning of Scene when "Deleted"/Ki

PostPosted: Tue 13 Feb 2018, 14:51
by ddabrahim
I'm not able to figure out what exactly to select and launch.

What is that you can't exactly figure out? The person in the other topic had the same question as you and the solution is simply change it position back to the beginning of the scene and also set the health back to 100 if the player got health and such.

In case you don't know the position of the beginning, select the player in the editor and you should see the X and Y position on the left. Simply change the X and Y position of the player back to the position you see in the editor on collision or whenever, however you "kill" it instead of deleting the player.

But in case you want to start the whole level from the beginning, simply use the change scene event to start the same scene again.

Re: "Player" returns to beginning of Scene when "Deleted"/Ki

PostPosted: Tue 13 Feb 2018, 17:12
by kaliya-nikole
Thanks. Got it to work.