I am working a platform style game, but i want to make the player die if he falls a certain distance, even if landing on a solid platform, if he falls from too far a height he needs to die.
has anyone worked on this before and got an easy way to test for this condition?
Player falling to death
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Hmmm, not sure if this will work Try to set a value to always add 1 to as he's falling and if the player reaches, say 25 or whatever or greater he dies??! If he's below the value of 25,..being 0 to 24 he's safe and you reset the value to zero. You can adjust the 25 up or down to get the time right of what you're looking for.
-
yeah good idea, if falling animation is playing, add 1 to alterable value and when falling anim is not playing anymore and its value is bigger than (lets say 25) he dies (diying anim plays) etc.
-
yea that may work. i will tinker with that idea.
thanks for the suggestions. -
new idea,
----------------------------------------- damage value 10
----------------------------------------- damage value 10
----------------------------------------- damage value 10
----------------------------------------- damage value 10
----------------------------------------- damage value 10
----------------------------------------- damage value 10
----------------------------------------- damage value 10make invisible actives or backdrops like above lets say 10,1000 pixel
each time player collides, decrease health 10 or something else
but dont know if it makes lag or slow game
btw can someone tell possible common mistakes that cause to slow down the game -
It was interesting so I did this in about a minute.
-
Jeff, that's exactly what I had in mind but using a value instead of a counter. Same principle though and it's works. Cool...!!
-
cool.
I finished my player character art last night, so i will start working on a practice level to get all the mechanics down, but that falling idea you came up with, may do the trick.thanks
-
I agree with Klik-It that an alterable value would be a cleaner way to do it.
I think I just went with a counter so I could see the values.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!