to get top of platform i would have to do
if player_BOTTOM_LEFT_Y > platform_TOP_LEFT_Y && player_BOTTOM_RIGHT_Y < platform_top_left + platform_height
if...
Type: Posts; User: hwoarang69
to get top of platform i would have to do
if player_BOTTOM_LEFT_Y > platform_TOP_LEFT_Y && player_BOTTOM_RIGHT_Y < platform_top_left + platform_height
if...
let me try again.
so i have a player, and i have platform's which is i am calling ground.
i want it so that my player can jump on top of platform's and if it hit the bottom of platform it should...
so i have a player and i want to code collision, so player dont fall down ground.
i have 3 classes
Main.java
Player.java
Ground.java
in my Ground.java. i want to set collions between...