feat: distractions

This commit is contained in:
2026-07-27 10:31:18 -04:00
parent c1e190a559
commit 81961e53f3
5 changed files with 258 additions and 41 deletions

View File

@ -8,7 +8,7 @@ export function addPlayer(k, world) {
const player = k.add([
...visual(k, "player"),
k.pos(p),
k.area(),
k.area({ collisionIgnore: ["link", "chicken"] }),
k.body(), // dynamic body: pushed out of static obstacles/walls
"player",
]);