doodle/pkg
Noah Petherbridge 695ff4da42 Collision: Fix clipping thru left walls, w/ caveats
There was a clipping bug where the player could sometimes clip thru a
left-side wall, if the left wall and floor made a 90 degree bend and the
player was holding the Left key while jumping slightly into the wall.

A band-aid that seems to work involved two steps:
1. When capping their leftward movement, add a "+ 1" to the cap.
2. At the start of the point loop, enforce the left cap like we do the
   ceiling cap.

This seems to patch the problem, BUT it breaks the ability to walk up
slopes while moving left. Right-facing slopes can be climbed fine still.

Note: the original bug never was a problem against right walls, only
left ones, but the true root cause was not identified. See TODO comments
in collide_level.go.
2020-04-11 19:21:12 -07:00
..
balance Collision: Fix clipping thru left walls, w/ caveats 2020-04-11 19:21:12 -07:00
branding Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
collision Collision: Fix clipping thru left walls, w/ caveats 2020-04-11 19:21:12 -07:00
doodads Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
drawtool Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
enum Code Layout Refactor 2019-04-09 17:35:44 -07:00
filesystem Make Fire Deadly 2019-07-06 20:31:50 -07:00
level Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
log Switch github.com/kirsle/golog to git.kirsle.net/go/log 2019-12-22 18:34:31 -08:00
native Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
physics Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
scripting Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
shmem Cut lib/render into its own package, change all imports 2019-12-22 18:21:58 -08:00
sprites Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
uix The Window Manager Update 2020-04-06 23:21:17 -07:00
updater Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
userdir Makefile Love and Windows Bugfixes 2019-06-27 20:24:13 -07:00
wallpaper Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
wasm WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
windows Bugfix: Don't draw in the level behind open windows 2020-04-08 18:21:29 -07:00
cheats.go The Window Manager Update 2020-04-06 23:21:17 -07:00
commands.go The Window Manager Update 2020-04-06 23:21:17 -07:00
config.go WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
doodle.go Fix Two-State Blocks & Collision Detection 2020-01-02 17:58:22 -08:00
editor_scene_debug.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_scene.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
editor_ui_doodad.go The Window Manager Update 2020-04-06 23:21:17 -07:00
editor_ui_palette.go The Window Manager Update 2020-04-06 23:21:17 -07:00
editor_ui_toolbar.go The Window Manager Update 2020-04-06 23:21:17 -07:00
editor_ui.go Bugfix: Don't draw in the level behind open windows 2020-04-08 18:21:29 -07:00
fps.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
guitest_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
main_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
menu_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
play_inventory.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
play_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
scene.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
shell.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00