doodle/pkg/modal
Noah Petherbridge ba97c81b55 Loading Screen
* pkg/loadscreen implements a global Loading Screen for loading heavy
  levels for playing or editing.
* All chunks in a level are pre-rendered to bitmap before gameplay
  begins, which reduces stutter as chunks were being lazily rendered on
  first appearance before.
* The loading screen can be played with in the developer console:
  $ loadscreen.Show()
  $ loadscreen.Hide()
  Along with ShowWithProgress(), SetProgress(float64) and IsActive()
* Chunker: separate the concerns between Bitmaps an (SDL2) Textures.
* Chunker.Prerender() converts a chunk to a bitmap (a Go image.Image)
  and caches it, only re-rendering if marked as dirty.
* Chunker.Texture() will use the pre-cached bitmap if available to
  immediately produce the SDL2 texture.

Other miscellaneous changes:

* Added to the Colored Pencil palette: Sandstone
* Added "perlin noise" brush pattern
2021-07-18 20:04:24 -07:00
..
loadscreen Loading Screen 2021-07-18 20:04:24 -07:00
alert.go WIP Publish Dialog + UI Improvements 2021-06-10 22:36:22 -07:00
confirm.go WIP Publish Dialog + UI Improvements 2021-06-10 22:36:22 -07:00
modal_test.go Global UI Popup Modals 2020-11-15 18:02:35 -08:00
modal.go Loading Screen 2021-07-18 20:04:24 -07:00