platforms in entity and respawns

ABK

Well-known member
Im making platform stage in my mod but i would like to use only platforms in entity but when i do that then when i respawn i fall into the hole, is there any way to recognize where platform is and respawn my character there ?
--
I see that there has to be real panel floor and engine recognizes it or does it recognize end of the hole and spawns character after it ?
 
And what happens if both players dies at the same time? They would spawn at the same place.
I suggest you to use another variable for p2.

Its not advised, in any language, to use the same variable to different things.
You are making like this:

Var A = number of fruits
A = 15; bananas
A = 20; lemon

While both are fruits, they aren't of the same type.
 
nothing bad is happening its just if player 1 will be at the right side of the screen and playuer 2 on left side and player 1 will fal into the hole then he will appear where player 2 is if player 2 is in his idle animation , if hes not in idle then player 1 will appear where he was in idle last time :) I could change that tho but it doesnt bother me now
 
Back
Top Bottom