forked from noxious/server
Also set frame width and height
This commit is contained in:
parent
e3d556dce2
commit
7f84c4fedf
@ -37,7 +37,9 @@ async function addHttpRoutes(app: Application) {
|
||||
assets.push({
|
||||
key: spriteAction.id,
|
||||
url: '/assets/sprites/' + sprite.id + '/' + spriteAction.action + '.png',
|
||||
group: spriteAction.isAnimated ? 'sprite_animations' : 'sprites'
|
||||
group: spriteAction.isAnimated ? 'sprite_animations' : 'sprites',
|
||||
frameWidth: spriteAction.frameWidth,
|
||||
frameHeight: spriteAction.frameHeight
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user