doodle/pkg/uix
Noah 37f6177a17 Zoom In/Out Feature: WorldIndexAt Fixed
WorldIndexAt() translates the pixel below the mouse cursor in screen
space (0,0 at top-left corner of the application window) into a world
coordinate in the level shown inside the canvas, taking into account the
canvas's position on the window and the scroll position.

It now translates correctly when zoom In or Out, so the "Abs:" mouse
position level in the status bar shows correctly.

Zoom features that are still jank:

- Scrolling while zoomed in, the chunks to the top/left start unloading
  too rapidly and outpacing the scroll, eventually level is invisible
- Drawing and committing pixels to the image while zoomed in/out is
  unpredictable where the pixels actually land.
- Actors in the level don't move or zoom at all.
2021-07-13 18:04:25 -07:00
..
actor.go Doodads: Small Key Door + Bigger Crumbly Floor 2021-01-03 17:06:33 -08:00
actor_animation.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
actor_collision.go Decouple gravity from player velocities 2021-06-02 22:18:25 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas.go Zoom In/Out Feature: WorldIndexAt Fixed 2021-07-13 18:04:25 -07:00
canvas_actors.go Updater: Better SemVer version checks for updates 2021-07-11 14:09:18 -07: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 Progress on the Zoom In/Out Feature 2021-07-11 21:54:28 -07:00
canvas_link_tool.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas_present.go Zoom In/Out Feature: WorldIndexAt Fixed 2021-07-13 18:04:25 -07:00
canvas_scrolling.go Fix Scroll-Follow-Actor Behavior 2021-06-13 20:25:42 -07:00
canvas_strokes.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
canvas_wallpaper.go Progress on the Zoom In/Out Feature 2021-07-11 21:54:28 -07:00
canvas_zoom.go Zoom In/Out Feature: WorldIndexAt Fixed 2021-07-13 18:04:25 -07:00
scripting.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00