doodle/pkg
Noah 241186209c Play Mode: Fix Level Collision w/ Scrolling
Fixes:
* Move the call to CollidesWithGrid() inside the Canvas instead of
  outside in the PlayScene.movePlayer() so it can apply to all Actors
  in motion.
* PlayScene.movePlayer() in turn just sets the player's Velocity so the
  Canvas.Loop() can move the actor itself.
* When keeping the player inside the level boundaries: previously it was
  assuming the player Position was relative to the window, and was
  checking the WorldIndexAt and getting wrong results.
* Canvas scrolling (loopFollowActor): check that the actor is getting
  close to the screen edge using the Viewport into the world, NOT the
  screen-relative coordinates of the Canvas bounding boxes.
2019-04-14 15:25:03 -07:00
..
balance Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
doodads Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
enum Code Layout Refactor 2019-04-09 17:35:44 -07:00
level Code Layout Refactor 2019-04-09 17:35:44 -07:00
log Code Layout Refactor 2019-04-09 17:35:44 -07:00
uix Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
userdir Drag Doodads Onto Levels in Edit Mode 2018-10-20 16:03:59 -07:00
wallpaper Code Layout Refactor 2019-04-09 17:35:44 -07:00
commands.go Improvements to the Debug Overlay Feature 2019-04-09 18:28:08 -07:00
config.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
doodle.go Port over code from old collision dev PR 2019-04-09 19:17:56 -07:00
editor_scene.go Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
editor_scene_debug.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_ui.go Improvements to the Debug Overlay Feature 2019-04-09 18:28:08 -07:00
editor_ui_doodad.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_ui_palette.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
fps.go Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
guitest_scene.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
main_scene.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
play_scene.go Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
scene.go Port over code from old collision dev PR 2019-04-09 19:17:56 -07:00
shell.go Code Layout Refactor 2019-04-09 17:35:44 -07:00