Map + furniture + puppet now render via the 2D camera so the camera target (= puppet position) appears at screen-center. Without the wrap, world rendering happened in raw window-coords: puppet at world (320,240) appeared at screen upper-left, mouse-screen-to-world math was correct but mouse cursor over the visible puppet computed dx/dy from puppet's world position to mouse_world which was OFF-by-(w/2,h/2). Visual result: head pointed in wrong direction relative to actual mouse position. Spine-prototype already used this pattern (init.lua:128). Aligning vagrant-skeleton with that convention.
8.6 KiB
8.6 KiB