doodle/pkg/level
Noah Petherbridge cb02feff1d Add Switches, Fire/Water Collision and Play Menu
* New doodads: Switches.
  * They come in four varieties: wall switch (background element, with
    "ON/OFF" text) and three side-profile switches for the floor, left
    or right walls.
  * On collision with the player, they flip their state from "OFF" to
    "ON" or vice versa. If the player walks away and then collides
    again, the switch flips again.
  * Can be used to open/close Electric Doors when turned on/off. Their
    default state is "off"
  * If a switch receives a power signal from another linked switch, it
    sets its own state to match. So, two "on/off" switches that are
    connected to a door AND to each other will both flip on/off when one
    of them flips.
* Update the Level Collision logic to support Decoration, Fire and Water
  pixel collisions.
  * Previously, ALL pixels in the level were acting as though solid.
  * Non-solid pixels don't count for collision detection, but their
    attributes (fire and water) are collected and returned.
* Updated the MenuScene to support loading a map file in Play Mode
  instead of Edit Mode. Updated the title screen menu to add a button
  for playing levels instead of editing them.
* Wrote some documentation.
2019-07-06 18:30:03 -07:00
..
actors.go Link Tool UX 2019-06-23 16:15:09 -07:00
base_test.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
chunk_map.go WIP: MsgPack stubs, Level Filesystem Module 2019-05-06 12:41:46 -07:00
chunk_test.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
chunk.go Add Switches, Fire/Water Collision and Play Menu 2019-07-06 18:30:03 -07:00
chunker_test.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
chunker.go WIP: MsgPack stubs, Level Filesystem Module 2019-05-06 12:41:46 -07:00
filesystem.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
fmt_binary.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
fmt_json.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
fmt_readwrite.go WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette.go Blueprint Theme Palette 2019-06-25 17:43:23 -07:00
swatch.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
types.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00