{"id":"hit-bearings","name":"Hit bearings","kind":"ui","version":"0.1.0","summary":"Remembers recent damage origins and returns camera-relative bearings that fade without tracking attackers.","license":"MIT","attribution":"Copperwind Arcade","share":true,"tags":["damage","hud","direction"],"from":{"game":"stormbreak","studio":"Copperwind Arcade"},"entry":"src/incoming.ts","files":[{"path":"LICENSE","sha256":"582c84ddec05cc35d361d9e77c7588bf9687809af01fcb18ef2f6b7309de2831","bytes":1074},{"path":"README.md","sha256":"b2b918c52e829f54918c6fa9b0c6d20d849d0296cdd7860bb405618b596db879","bytes":1070},{"path":"preview/demo.js","sha256":"f2a112683292ec40245f268d696f25270f6a5dbeb7c01a18b2a8aef8a1d84725","bytes":1897},{"path":"preview/demo.ts","sha256":"07848df2277fe3890c20de796d040821cbb4248ab4ce1722c3cd806e4235da64","bytes":1498},{"path":"preview/index.html","sha256":"d678f81ec03baf5cf27198b505b2f448db6af79f8106532f4859164b9a5956cc","bytes":1377},{"path":"src/incoming.ts","sha256":"4064d26de4f4efb8beae7ea32984c686bd00d5846280c8645c41b8fc84ab60cc","bytes":1454},{"path":"tuning.json","sha256":"e36e6c02b2aae7260807af6a7088e186f6e2b94c89e992a68ffc634b97d52503","bytes":52}],"preview":{"page":"preview/index.html"},"requires":{"packages":{}},"provenance":{"source":"original","notes":"Original studio code extracted with part_new. MIT sharing authorized by the studio owner; no game models, generated media or whole-game source included."},"contract":{"inputs":{"description":"Call context(roundAndLifeKey), hit(attackerId, origin, victim, monotonicMs), then sample(yawRadians, monotonicMs, viewerPosition). Points use x/z; yaw zero faces -Z. Use positive finite timings and maxMarks >= 1."},"state":{"description":"Local presentation only. Supply validated damage events; saved origins never track an attacker after the hit."},"netplay":"local"},"cost":{"bytes":8422}}
