Collision with slopes in a game
can someone help me describe how sloped tiled collision should work for my game? say i have a sloped tile on the tile value 40, how do i handle a sloped tile, like how do i set the hitbox x, the hitbox y, how do i avoid others methods clashing, how do i update the height of the player? i only have two slopes which are both 45 degrees diagonally and cover the entire tile.
