doodle/pkg/native
Noah Petherbridge 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
..
browser_wasm.go App rename + macOS Build Fixes 2021-05-02 12:06:34 -07:00
browser.go Update changelog for v0.4.0-alpha 2020-11-20 23:35:37 -08:00
doc.go Add app version/update check to the Main Scene 2020-01-01 17:50:15 -08:00
engine_sdl.go Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
engine_wasm.go Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
file_dialog_fallback.go Custom Wallpapers for Levels 2021-06-06 18:59:04 -07:00
file_dialog_native.go WIP Publish Dialog + UI Improvements 2021-06-10 22:36:22 -07:00
file_dialogs.go Custom Wallpapers for Levels 2021-06-06 18:59:04 -07:00