fix: bounds

This commit is contained in:
cha0s 2024-07-21 19:24:29 -05:00
parent 3809bf98e6
commit 86b7b74616

View File

@ -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',