doodle/pkg
Noah 336a949ed0 Global UI Popup Modals
* Adds global modal support in the pkg/modal/ package. It has easy
  Alert() and Confirm() methods to prompt the user before calling a
  callback function on affirmative response.
* Modals have global app state: they're processed in the main loop in
  pkg/doodle.go similar to the global command shell.
* When a modal is active, a semitransparent black frame covers the
  screen (gameplay loop paused, last game frame rendered below) and the
  modal window appears on top.
* The developer console retains higher priority than the modal system
  and always renders on top.
* Editor Mode: track when the level pixels have been modified, and
  confirm the user about unsaved changes when they attempt to close the
  level (New, Open, Close, etc.)
* Global: the Escape key no longer immediately shuts down the game, but
  will confirm the user's intent via a modal.
* File->Quit in the Editor Mode also invokes the confirm shutdown modal.
2020-11-15 18:02:35 -08:00
..
balance Add Player Character Sprites 2020-09-18 22:35:43 -07:00
bindata Add dummy bindata Go package to help new setup experience 2020-06-04 22:43:37 -07:00
branding Prepare v0.3.0 for release 2020-09-18 22:52:05 -07:00
campaign Tighten Doodad JavaScript API, User Documentation 2020-04-21 23:50:45 -07:00
collision Collision: Fix clipping thru left walls, w/ caveats 2020-04-11 19:21:12 -07:00
doodads Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
drawtool Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
enum Code Layout Refactor 2019-04-09 17:35:44 -07:00
filesystem Tighten Doodad JavaScript API, User Documentation 2020-04-21 23:50:45 -07:00
level Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
log Switch github.com/kirsle/golog to git.kirsle.net/go/log 2019-12-22 18:34:31 -08:00
modal Global UI Popup Modals 2020-11-15 18:02:35 -08:00
native Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
physics Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
scripting Add Initial Sound Effects 2020-05-22 20:07:48 -07:00
shmem Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
sound WIP Game Settings Window, WASM Fixes, Sound FX 2020-09-01 20:54:58 -07:00
sprites Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
uix Global UI Popup Modals 2020-11-15 18:02:35 -08:00
updater Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
userdir Tighten Doodad JavaScript API, User Documentation 2020-04-21 23:50:45 -07:00
wallpaper Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
wasm WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
windows WIP Game Settings Window, WASM Fixes, Sound FX 2020-09-01 20:54:58 -07:00
cheats.go The Window Manager Update 2020-04-06 23:21:17 -07:00
commands.go Global UI Popup Modals 2020-11-15 18:02:35 -08:00
config.go WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
doodle.go Global UI Popup Modals 2020-11-15 18:02:35 -08:00
editor_scene.go Global UI Popup Modals 2020-11-15 18:02:35 -08:00
editor_scene_debug.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_ui.go Global UI Popup Modals 2020-11-15 18:02:35 -08:00
editor_ui_doodad.go Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
editor_ui_palette.go Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
editor_ui_toolbar.go Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
fps.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
guitest_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
main_scene.go Convert to use Go modules 2020-11-15 15:20:15 -08:00
menu_scene.go WIP Game Settings Window, WASM Fixes, Sound FX 2020-09-01 20:54:58 -07:00
play_inventory.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
play_scene.go Add Player Character Sprites 2020-09-18 22:35:43 -07:00
scene.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
shell.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
story_scene.go Tighten Doodad JavaScript API, User Documentation 2020-04-21 23:50:45 -07:00