Noah Petherbridge
618d4b07c5
When an actor's Hitbox doesn't begin at 0,0 the collision checks between boxes is buggy. Current progress: * Player is a 32x64 size sprite with a hitbox of 0,32 32x32 (bottom half) * Landing onTop works * Hitting onBottom works * Bug: colliding from the side currently pushes the player 32px down into the floor. With non-offset doodads walking sideways into e.g. a locked door halts the X and Y movement until you let go, but offset doodads get pushed down mysteriously. |
||
---|---|---|
.. | ||
actor_mock.go | ||
actor_offset_test.go | ||
actor_offset.go | ||
actors_test.go | ||
bounding_rect.go | ||
collide_actors.go | ||
collide_level.go | ||
collide_test.go | ||
debug_box.go | ||
level_test.go |