i figure it out. all i had to do was check if player jump is false in 3rd if statement.
thanks anyway
Type: Posts; User: hwoarang69
i figure it out. all i had to do was check if player jump is false in 3rd if statement.
thanks anyway
...no, playerY is the head. That why i am doing playerY+playerH. playerY+playerH are the feet. if playerY is 20000000, than thats where the head is. and playerY+playerH is where the feet are. but...
these are current player postion. it doesnt matter what is player x or y is. playerX will just get the current x postion. if player x is 200. than playerX = 200. if player x is 100000. than playerX =...
i have a player and platform. i want to test if player hit jump from bottom of platform thant it doesnt go though it.
so player should bonuce right back on ground.
i comment code line by line but...