doodle/pkg
Noah Petherbridge 77297fd60d Text Tool and Pan Tool
Two new tools added to the Level Editor:

* Pan Tool: left-click to scroll the level around safely.
* Text Tool: write text onto your level.

Features of the Text Tool:

* Can choose from the game's built-in fonts, size and enter the message
  you want to write.
* The mouse cursor previews the text when hovered over the level.
* Click to "stamp" the text onto your level. The currently selected
  color swatch will be used to color the text in.
* Adds two new fonts: Azulian.ttf and Rive.ttf that can be selected in
  the Text Tool.

Some implementation notes:

* Added package native/engine_sdl.go that handles the lower-level
  SDL2_TTF logic to rasterize the text into a black&white image.
* WASM not supported yet (if the game even still built for WASM);
  native/engine_wasm.go stubs out the TextToImage() call with a "not
  supported" error just in case.

Other changes:

* New Toolbar icons: they are 24x24 instead of 32x32 to make more room
  for more tools.
* The toolbar now shows two buttons per row for a more densely packed
  layout. For very narrow screen widths (< 600px) the default Vertical
  Toolbar layout will use one-button-per-row to not eat too much screen
  real estate.
* In the Horizontal Toolbars layout there are 2 buttons per column.
2022-03-05 15:34:20 -08:00
..
balance Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
branding Prepare v0.11.0 for release (+ fixes) 2022-02-20 17:48:07 -08:00
campaign Go 1.16 embed instead of go-bindata 2021-07-13 18:04:25 -07:00
chatbot Easter Egg: RiveScript Chatbot 2022-01-08 19:21:08 -08:00
collision Polish and bugfixes 2021-10-09 20:45:38 -07:00
doodads Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
drawtool Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
enum Window Icon, UI Polish 2021-12-30 16:31:45 -08:00
filesystem Finalize basic functionality for Level Packs 2021-12-26 20:48:29 -08:00
gamepad Window Focus Bugfixes 2022-02-19 20:20:58 -08:00
keybind v0.11.0 last minute tweaks 2022-02-21 13:09:51 -08:00
level Refactor Level Publishing + MagicForm 2022-01-17 18:51:11 -08:00
levelpack Savegame and High Scores 2022-01-02 16:28:43 -08:00
license Diverge Free vs. Paid Features 2021-06-16 22:35:01 -07:00
log Switch github.com/kirsle/golog to git.kirsle.net/go/log 2019-12-22 18:34:31 -08:00
modal v0.11.0 last minute tweaks 2022-02-21 13:09:51 -08:00
native Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
pattern Loading Screen 2021-07-18 21:19:52 -07:00
physics Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
savegame Centralize cheats, detect cheated player character 2022-01-08 18:27:37 -08:00
scripting Checkpoint Flag can Re-assign Player Character 2022-01-18 21:24:36 -08:00
shmem Crosshair Option + Doodad Editor crash fix 2021-10-11 15:57:33 -07:00
sound WIP Game Settings Window, WASM Fixes, Sound FX 2020-09-01 20:54:58 -07:00
sprites Savegame and High Scores 2022-01-02 16:28:43 -08:00
uix Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
updater Send User-Agent of version/os/arch on update check 2022-01-16 18:33:27 -08:00
usercfg Game Controller Support 2022-02-19 18:31:22 -08:00
userdir Savegame and High Scores 2022-01-02 16:28:43 -08:00
wallpaper Giant Screenshot Feature 2021-10-03 17:21:17 -07:00
wasm WASM: Store User Files in localStorage 2019-06-27 15:59:18 -07:00
windows Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
cheats.go Invulnerable Anvil and other fixes 2022-02-20 11:48:36 -08:00
commands.go Switch JavaScript engine to goja 2022-01-16 20:09:27 -08:00
common_menubar.go Spit and polish 2022-01-02 22:36:32 -08:00
config.go Go 1.16 embed instead of go-bindata 2021-07-13 18:04:25 -07:00
doodle.go v0.11.0 last minute tweaks 2022-02-21 13:09:51 -08:00
editor_scene_debug.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_scene.go Window Focus Bugfixes 2022-02-19 20:20:58 -08:00
editor_ui_doodad.go Zoom Improvements 2021-09-12 15:27:37 -07:00
editor_ui_menubar.go Window Focus Bugfixes 2022-02-19 20:20:58 -08:00
editor_ui_palette.go Condensed Palette, Bird AI Update 2021-10-12 20:49:48 -07:00
editor_ui_popups.go Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
editor_ui_toolbar.go Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
editor_ui.go Text Tool and Pan Tool 2022-03-05 15:34:20 -08:00
fps.go Centralize cheats, detect cheated player character 2022-01-08 18:27:37 -08:00
guitest_scene.go The Window Manager Update 2020-04-06 23:21:17 -07:00
main_scene.go Prepare v0.11.0 for release (+ fixes) 2022-02-20 17:48:07 -08:00
menu_scene.go Window Icon, UI Polish 2021-12-30 16:31:45 -08:00
play_inventory.go Async Giant Screenshot, Player Physics and UI Polish 2021-10-07 18:27:38 -07:00
play_scene_menubar.go v0.11.0 last minute tweaks 2022-02-21 13:09:51 -08:00
play_scene_touch.go Spit and polish 2022-01-02 22:36:32 -08:00
play_scene.go v0.11.0 last minute tweaks 2022-02-21 13:09:51 -08:00
scene.go Game Controller Support 2022-02-19 18:31:22 -08:00
shell.go Switch JavaScript engine to goja 2022-01-16 20:09:27 -08:00
story_scene.go Finalize basic functionality for Level Packs 2021-12-26 20:48:29 -08:00