#262 : Send frameRate to client

This commit is contained in:
2024-12-21 02:20:14 +01:00
parent 2ad58aea9f
commit 2c10b54582
2 changed files with 3 additions and 1 deletions

View File

@ -188,7 +188,8 @@ async function addHttpRoutes(app: Application) {
isAnimated: spriteAction.isAnimated,
frameCount: JSON.parse(JSON.stringify(spriteAction.sprites)).length,
frameWidth: spriteAction.frameWidth,
frameHeight: spriteAction.frameHeight
frameHeight: spriteAction.frameHeight,
frameSpeed: spriteAction.frameSpeed
})
})

View File

@ -34,6 +34,7 @@ export type AssetData = {
frameCount?: number
frameWidth?: number
frameHeight?: number
frameSpeed?: number
}
export type WorldSettings = {