Loading sprites and animations now works

This commit is contained in:
2024-07-26 20:20:19 +02:00
parent d1f6920ed6
commit 8a75b7ae70
2 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,9 @@ export type Notification = {
export type Asset = {
key: string
url: string
group: 'tiles' | 'objects' | 'sound' | 'music' | 'ui' | 'font' | 'other' | 'sprite'
group: 'tiles' | 'objects' | 'sprites' | 'sprite_animations' | 'sound' | 'music' | 'ui' | 'font' | 'other'
frameWidth?: number
frameHeight?: number
}
export type Tile = {