You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
519 B
TypeScript
45 lines
519 B
TypeScript
import { AnimationPhases } from "../type";
|
|
|
|
export const animationPhases: AnimationPhases[] = [
|
|
{
|
|
name: "idle",
|
|
frames: 7,
|
|
},
|
|
{
|
|
name: "jump",
|
|
frames: 7,
|
|
},
|
|
{
|
|
name: "fall",
|
|
frames: 7,
|
|
},
|
|
{
|
|
name: "run",
|
|
frames: 9,
|
|
},
|
|
{
|
|
name: "dizzy",
|
|
frames: 11,
|
|
},
|
|
{
|
|
name: "sit",
|
|
frames: 5,
|
|
},
|
|
{
|
|
name: "roll",
|
|
frames: 7,
|
|
},
|
|
{
|
|
name: "bit",
|
|
frames: 7,
|
|
},
|
|
{
|
|
name: "ko",
|
|
frames: 12,
|
|
},
|
|
{
|
|
name: "getHit",
|
|
frames: 4,
|
|
},
|
|
];
|