diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/assets.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assets.odin b/src/assets.odin index b2222bb..d1dd852 100644 --- a/src/assets.odin +++ b/src/assets.odin @@ -9,13 +9,13 @@ package demonchime import rl "vendor:raylib" Image_Id :: enum { - TILESETS, PLAYER, + TILESETS, } Animation_Id :: enum { - PLAYER, NONE, + PLAYER, } Room_Id :: enum { @@ -35,13 +35,13 @@ Resource_Id :: union { } images: [Image_Id]Image_Resource = { - .TILESETS = {data = #load("../.compiled-res/tilesets.qoi"), anim = .NONE}, .PLAYER = {data = #load("../.compiled-res/player-sheet.qoi"), anim = .PLAYER}, + .TILESETS = {data = #load("../.compiled-res/tilesets.qoi"), anim = .NONE}, } animations: [Animation_Id]Animation_Resource = { - .PLAYER = {frame_count = 23, frame_durations = {100, 100, 100, 100, 100, 100, 75, 75, 75, 75, 75, 75, 75, 75, 100, 100, 100, 100, 100, 100, 100, 100, 100}, tags = {"idle"={from = 0, to = 5}, "jump_trans"={from = 16, to = 16}, "run"={from = 6, to = 13}, "jump_down"={from = 17, to = 18}, "jump_up"={from = 14, to = 15}, "sleep"={from = 19, to = 22}}}, .NONE = {frame_count=1, frame_durations={100}, tags={}}, + .PLAYER = {frame_count = 23, frame_durations = {100, 100, 100, 100, 100, 100, 75, 75, 75, 75, 75, 75, 75, 75, 100, 100, 100, 100, 100, 100, 100, 100, 100}, tags = {"run"={from = 6, to = 13}, "jump_down"={from = 17, to = 18}, "jump_up"={from = 14, to = 15}, "sleep"={from = 19, to = 22}, "idle"={from = 0, to = 5}, "jump_trans"={from = 16, to = 16}}}, } rooms: [Room_Id]Room_Resource = { |
