Work on sprite stuff

This commit is contained in:
2024-07-20 15:18:06 +02:00
parent 5c8d4947b1
commit 33fd32348f
7 changed files with 266 additions and 28 deletions

View File

@ -10,6 +10,20 @@ export type Asset = {
type: 'base64' | 'link'
}
export type Sprite = {
id: string;
name: string;
origin_x: number;
origin_y: number;
frameSpeed: number;
isAnimated: boolean;
isLooping: boolean;
isPlayableCharacter: boolean;
isEnemy: boolean;
createdAt: Date;
updatedAt: Date;
}
export type Tile = {
id: string
name: string