doodle/pkg/level
Noah 647124495b Level Difficulty + UI Polish
Added a new level property: Difficulty

* An enum ranging from -1, 0, 1 (Peaceful, Normal, Hard)
* Default difficulty is Normal; pre-existing levels are Normal by
  default per the zero value.

Doodad scripts can read the difficulty via the new global variable
`Level.Difficulty` and some doodads have been updated:

* Azulians: on Peaceful they ignore all player characters, and on Hard
  they are in "hunt mode": infinite aggro radius and they're aggressive
  to all characters.
* Bird: on Peaceful they will not dive and attack any player character.

Other spit and polish:

* New Level/Level Properties UI reworked into a magicform.
* New "PromptPre(question, answer, func)" function for prompting the
  user with the developer shell, but pre-filling in an answer for them
  to either post or edit.
* magicform has a PromptUser field option for simple Text/Int fields
  which present as buttons, so magicform can prompt and update the
  variable itself.
* Don't show the _autosave.doodad in the Doodad Dropper window.
2022-03-06 22:20:53 -08:00
..
giant_screenshot Polish and bugfixes 2021-10-09 20:45:38 -07:00
publishing Refactor Level Publishing + MagicForm 2022-01-17 18:51:11 -08:00
actors.go Link Start Flags to Change Characters 2021-08-11 20:40:31 -07:00
chunk.go Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
chunk_map.go Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
chunk_test.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
chunker.go Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
chunker_test.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
filesystem.go Refactor Level Publishing + MagicForm 2022-01-17 18:51:11 -08:00
fmt_json.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
fmt_maintenance.go Auto-prune Empty Chunks in Level Files 2019-07-16 22:10:18 -07:00
fmt_readwrite.go Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
inflate.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
palette_defaults.go Checkpoint Flag & Retry from Checkpoint 2021-08-15 20:17:53 -07:00
swatch.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
types.go Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00