avatar
Nicholas Macias @nich.bsky.social

I’d kind of expect that it would make more sense to tile into a more local grid (or semantic clustering depending on game type and animation) than to be so concerned with overlapping? And then just turn off events?

aug 28, 2025, 3:39 pm • 0 0

Replies

avatar
🌫️ Grant Forrest @gfor.rest

Overlap is purely due to compositing. Before I avoided overlaps, the browser was doing a Layerize step every frame when I planned the camera, and with so many layers it was dropping to sub-20FPS. I probably should have documented that part more thoroughly.

aug 29, 2025, 1:49 am • 0 0 • view
avatar
Nicholas Macias @nich.bsky.social

Masking is probably silly but maybe clipped rows of rotated dom could slap. For science…

aug 28, 2025, 3:49 pm • 0 0 • view
avatar
🌫️ Grant Forrest @gfor.rest

Clipped rotated rectangles is interesting! Not sure how the browser would handle it graphically.

aug 29, 2025, 1:47 am • 0 0 • view
avatar
Nicholas Macias @nich.bsky.social

What are the technical requirements of each cell? Single image and hit events can map? Animation? Or like rendering selectable text?

aug 29, 2025, 1:54 am • 1 0 • view
avatar
🌫️ Grant Forrest @gfor.rest

Still figuring that out. Text, mages and sub-elements at least, probably which render outside the bounds. I may ultimately end up in SVG. But I wanted to try DOM because I already wrote a highly bespoke DnD system for DOM for this project and, also, it'd be fun.

aug 29, 2025, 2:00 am • 0 0 • view