fix: bounds
This commit is contained in:
parent
3809bf98e6
commit
86b7b74616
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user