Log inGet started
World

Lantern Depths: Find the Shade Dash, Slay the Thorn Knight

Branchmain
Branchesmain
Commitda5ac13948

README.md

feel

How a sword hit on a pixelBosses boss and the blow that beats it feel, played through juiceKit. Feel.hit(x, y, attackerId) bursts juiceKit sparks where the blade met the body; Feel.finish(x, y) plays the killing blow (sparks and a small explosion, a white flash and juiceKit's critical hit stop easing out through slow motion). Boss2D calls both on every peer from what every peer sees (slash2D's synced hit, the synced health), so they play with juiceKit's scope = "local" and send nothing over the network. Feel.enabled = false turns them off on this peer. The presets are registered as pixelBosses.hit and pixelBosses.finish, so require("juiceKit.juice").play("pixelBosses.hit", pos) works too.