diff --git a/src/utilities/http.ts b/src/utilities/http.ts index bb85684..4c6e731 100644 --- a/src/utilities/http.ts +++ b/src/utilities/http.ts @@ -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 }) }) diff --git a/src/utilities/types.ts b/src/utilities/types.ts index c402a3e..9bf0166 100644 --- a/src/utilities/types.ts +++ b/src/utilities/types.ts @@ -34,6 +34,7 @@ export type AssetData = { frameCount?: number frameWidth?: number frameHeight?: number + frameSpeed?: number } export type WorldSettings = {