1
0
forked from noxious/client

More finetuning of hair positioning

This commit is contained in:
2024-12-15 14:40:47 +01:00
parent e3e40dd083
commit d58cfa668d
4 changed files with 16 additions and 18 deletions

View File

@ -82,7 +82,7 @@ export async function loadSpriteTextures(scene: Phaser.Scene, sprite: Sprite) {
scene.textures.addSpriteSheet(sprite_action.key, anim, { frameWidth: sprite_action.frameWidth ?? 0, frameHeight: sprite_action.frameHeight ?? 0 })
scene.anims.create({
key: sprite_action.key,
frameRate: 6.3, // TODO | 262 : Allow configuring frame rate
frameRate: 7, // TODO | 262 : Allow configuring frame rate
frames: scene.anims.generateFrameNumbers(sprite_action.key, { start: 0, end: sprite_action.frameCount! - 1 }),
repeat: -1
})