doodle/pkg/uix
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
..
magic-form Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
actor.go Invulnerable Anvil and other fixes 2022-02-20 11:48:36 -08:00
actor_animation.go Switch JavaScript engine to goja 2022-01-16 20:09:27 -08:00
actor_collision.go Checkpoint Flag can Re-assign Player Character 2022-01-18 21:24:36 -08:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas.go Checkpoint Flag can Re-assign Player Character 2022-01-18 21:24:36 -08:00
canvas_actors.go Checkpoint Flag can Re-assign Player Character 2022-01-18 21:24:36 -08:00
canvas_cursor.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
canvas_editable.go Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
canvas_link_tool.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas_present.go Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
canvas_scrolling.go Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
canvas_strokes.go Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
canvas_wallpaper.go Stabilize Load Screen by Deferring SDL2 Calls 2021-07-19 17:14:00 -07:00
canvas_zoom.go Zoom And Edit 2021-09-11 17:02:01 -07:00
crosshair.go Crosshair Option + Doodad Editor crash fix 2021-10-11 15:57:33 -07:00
scripting.go Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00