doodle/pkg/scripting
Noah Petherbridge 08e65c32b5 Overhaul the Platformer Physics System
* Player character now experiences acceleration and friction when
  walking around the map!
* Actor position and movement had to be converted from int's
  (render.Point) to float64's to support fine-grained acceleration
  steps.
* Added "physics" package and physics.Vector to be a float64 counterpart
  for render.Point. Vector is used for uix.Actor.Position() for the sake
  of movement math. Vector is flattened back to a render.Point for
  collision purposes, since the levels and hitboxes are pixel-bound.
* Refactor the uix.Actor to no longer extend the doodads.Drawing (so it
  can have a Position that's a Vector instead of a Point). This broke
  some code that expected `.Doodad` to directly reference the
  Drawing.Doodad: now you had to refer to it as `a.Drawing.Doodad` which
  was ugly. Added convenience method .Doodad() for a shortcut.
* Moved functions like GetBoundingRect() from doodads package to
  collision, where it uses its own slimmer Actor interface for just the
  relevant methods it needs.
2020-04-04 21:00:32 -07:00
..
events.go Fix Two-State Blocks & Collision Detection 2020-01-02 17:58:22 -08:00
pubsub.go Fix Two-State Blocks & Collision Detection 2020-01-02 17:58:22 -08:00
scripting.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
supervisor_events.go Level Exit Doodad 2019-07-02 15:24:46 -07:00
timers.go Script Timers, Multiple Doodad Frames 2019-04-18 18:15:05 -07:00
vm.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00