doodle/lib/render
Noah Petherbridge 48fc40ade4 Texture Caching for WASM Canvas Engine
* Add RGBA color blending support in WASM build.
* Initial texture caching API for Canvas renderer engine. The WASM build
  writes the chunk caches as a "data:image/png" base64 URL on the
  browser's sessionStorage, for access to copy into the Canvas.
* Separated the ClickEvent from the MouseEvent (motion) in the WASM
  event queue system, to allow clicking and dragging.
* Added the EscapeKey handler, which will abruptly terminate the WASM
  application, same as it kills the window in the desktop build.
* Optimization fix: I discovered that if the user clicks and holds over
  a single pixel when drawing a level, repeated Set() operations were
  firing meaning multiple cache invalidations. Not noticeable on PC but
  on WebAssembly it crippled the browser. Now if the cursor isn't moving
  it doesn't do anything.
2019-06-26 22:44:08 -07:00
..
canvas Texture Caching for WASM Canvas Engine 2019-06-26 22:44:08 -07:00
sdl WASM Event Queue 2019-06-26 20:33:24 -07:00
color.go Initial WebAssembly Build Target 2019-06-26 18:40:40 -07:00
functions.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
interface.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
point_test.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
point.go Play Mode: Fix Level Collision w/ Scrolling 2019-04-14 15:25:03 -07:00
rect_test.go Return False: Solid Collision Between Actors 2019-05-28 21:43:30 -07:00