[modularization] Phase 4: Effects — Matrix Rain, Lightning, Beam, Runes, Gravity, Shockwave #413
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4 of App.js Modularization (Refs #409)
What
Extract all visual effects into individual modules:
modules/effects/matrix-rain.js— Commit-density-driven rainmodules/effects/lightning.js— Lightning arcs between zonesmodules/effects/energy-beam.js— Agent-count-tethered beammodules/effects/rune-ring.js— Portal-tethered rune ringmodules/effects/gravity-zones.js— Portal-position gravity anomaliesmodules/effects/shockwave.js— Shockwave, fireworks, merge flashEach Effect Module
Depends on: Phase 3 (panels/)
Refs #409
PR #465 created: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/465
Wired all 6 effects modules into app.js via globalTicker. Changes:
subscribe(fn)exportcore/state.jsso effects see real valueseffects.jsreferences with neweffects/rune-ring.jsandeffects/gravity-zones.jsnode --check app.jspasses. 37 insertions, 4 deletions.