Pie in the Sky: animated 3D globe for Pie Control, with a night view
An orthographic Earth on a 2D canvas (sticker look, plus a night view with stars, city lights and terminator) showing a capped sample of each crust's pies, laser links, pie-dish beams and launches. One rAF loop only while open (30 fps cap, DPR <= 2, idle while hidden), nothing left behind once closed. Land comes from LANDS_LL. The world map only gets a pink pie-dish badge at cities with a dish, behind one null check per visible city when there are none.
This commit is contained in:
parent
c860a128e4
commit
d3174600e7
13 changed files with 338 additions and 3 deletions
4
src/game/90-actions/98-pie-globe.js
Normal file
4
src/game/90-actions/98-pie-globe.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// The Pie Control globe's day/night switch (96-map/89-pie-globe.js). Display only: nothing in the save changes.
|
||||
Object.assign(ACT,{
|
||||
pieGlobeNight:()=>{pieGlobeNight(!PG.night);},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue