Log inGet started
Package

pixelBosses.package

Newest version

README.md

moves

Every boss attack as a pure function of time, so every peer computes the same thing from one synced move: Moves.pose(def, move, t, arena) (where the boss is and which frame it shows), Moves.hazards(def, move, t, arena, out) (projectiles, shockwaves, lasers, fists, missiles and telegraph markers, each with a hurt box and a sprite cell), Moves.cues(def, move, arena) (sounds, shakes, hit-stops, explosions, stinger spawns by time) and Moves.plan(def, ctx), the AI the authority runs to pick the next move. Timings live in Moves.KNIGHT, Moves.QUEEN and Moves.WARDEN. Used by Boss2D; handy for tests and for tuning.