mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 11:20:50 +02:00
322defbbd0
Flat numbers cannot work here and both previous attempts proved it in opposite directions. The first ring was 7 world units across, which is inside anything bigger than a Rattata -- and additive drawing keeps the depth test, so all sixty quads a frame were rejected and nobody saw them. Correcting by eye gave a ring 24 across starting 20 units up, which is taller than the tallest Pokemon in the game: it hung in the sky above a Ponyta with nothing underneath it. A mon on the map is 5 to 18 world pixels tall (StadiumMon REF_HEIGHT 14). One ring cannot fit a Diglett and a Gyarados, so every distance is now a fraction of the mon: Stadium pushes each side's worldHeight and worldRadius into ShinyFx every frame -- worldRadius exists precisely so "a caller can size something to its footprint" -- and the burst is measured off those. Two more things the pictures showed. The ring is an ELLIPSE with its axes measured separately: flattened enough to read as a ring from the battle's low seat, a single radius reaches only a third of the body's height, so the top and bottom stars sit on the Pokemon. And it OPENS from clear of the body rather than from a point -- springing out of nothing means every star spends the first frames stacked at the centre, which is the middle of the mon and looks exactly like the sparkles being stuck inside it. Shot against Ponyta and Gyarados, an order of magnitude apart in size: the ring hugs each silhouette from outside and no star lands on either body.