From 86b7b746164a56f54f64b4f7d985320f84eca65a Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 21 Jul 2024 19:24:29 -0500 Subject: [PATCH] fix: bounds --- app/server/create/player.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/server/create/player.js b/app/server/create/player.js index f195643..011f879 100644 --- a/app/server/create/player.js +++ b/app/server/create/player.js @@ -5,10 +5,10 @@ export default async function createPlayer(id) { bodies: [ { points: [ - {x: -8, y: -8}, - {x: 7, y: -8}, - {x: 7, y: 7}, - {x: -8, y: 7}, + {x: -4, y: -4}, + {x: 3, y: -4}, + {x: 3, y: 3}, + {x: -4, y: 3}, ], }, ], @@ -49,7 +49,7 @@ export default async function createPlayer(id) { Sound: {}, Sprite: { anchorX: 0.5, - anchorY: 0.8, + anchorY: 0.9, animation: 'moving:down', frame: 0, source: '/assets/dude/dude.json',