I made point collision instead box and works even better. You can see the points I used in the green box. Two yellow pixels for foot, four red pixels for the sides (2 left and 2 right) and two lime pixels for read. The green box is just a placeholder sprite sprite not a collision box
the advantage of this method is because is:
- easier to detect collision direction
- easier to implement coyote jump
- easier to implement trick to avoid hit the head against corners when try to jump
- easier to say when is touching ground or wall or ceiling
P#141837 2024-02-23 23:01
coding practice
P#139560 2024-01-03 00:04
Just something I made quick here today because I was bored and wishing to practice. This is just a prototype WIP
P#139430 2023-12-30 20:55 ( Edited 2023-12-30 20:57)
I'm trying to build this to use in my sci-fy game sessions to generate the star maps and calculate distances. I plan to add more stuff in the future if possible like planet details generation
P#129611 2023-05-10 15:48
This is some practice I made trying to figure out how to make the sprite slide smooth in a map grid and added some weird way of detect collision.
P#129588 2023-05-10 03:11 ( Edited 2023-05-10 03:17)