Add: frames to each state, more smooth animation

This commit is contained in:
DaZuo0122
2026-02-15 16:51:17 +08:00
parent 832fbda04d
commit bed7a052f3
9 changed files with 58 additions and 48 deletions

View File

@@ -54,7 +54,7 @@ const HALO_VAL_MIN = 0.04;
const RENDER_FIT_PADDING = 16;
const MIN_RENDER_SCALE = 0.01;
const ANIMATION_SLOWDOWN_FACTOR_MIN = 1;
const ANIMATION_SLOWDOWN_FACTOR_MAX = 20;
const ANIMATION_SLOWDOWN_FACTOR_MAX = 200;
const ANIMATION_SLOWDOWN_FACTOR_DEFAULT = 3;
export class PixiPetRenderer {