doodle/pkg/level
Noah Petherbridge c8620f871e Drawing Strokes and Undo/Redo Functionality
* Add new pkg/drawtool with utilities to abstract away drawing actions
  into Strokes and track undo/redo History for them.
* The freehand Pencil tool in EditorMode has been refactored to create a
  Stroke of Shape=Freehand and queue up its world pixels there instead
  of directly modifying the level chunker in real time. When the mouse
  button is released, the freehand Stroke is committed to the level
  chunker and added to the UndoHistory.
* UndoHistory is (temporarily) stored with the level.Level so it can
  survive trips to PlayScene and back, but is not stored as JSON on
  disk.
* Ctrl-Z and Ctrl-Y in EditorMode for undo and redo, respectively.
2019-07-03 16:25:23 -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 Refactor Render Texture-Cache Interface 2019-06-27 13:01:01 -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