doodle/pkg/uix
Noah 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
..
actor.go Return False: Solid Collision Between Actors 2019-05-28 21:43:30 -07:00
actor_animation.go Mobile Enemy Doodad Test 2019-05-06 16:30:45 -07:00
actor_collision.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
actor_events.go Return False: Solid Collision Between Actors 2019-05-28 21:43:30 -07:00
canvas.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
canvas_actors.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
canvas_editable.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
canvas_link_tool.go Demo Running Level as Title Screen Wallpaper 2019-06-27 22:59:36 -07:00
canvas_present.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
canvas_scrolling.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
canvas_strokes.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
canvas_wallpaper.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
draw_modes.go Minor Tweaks 2019-06-08 17:02:28 -07:00