aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-01-12 21:01:46 -0500
committeriamcheeseman <[hidden email]>2026-01-12 21:01:59 -0500
commit58de3f9ddc72c5dbf433e45babb43a06c819cb4f (patch)
treeafaf1a2c277c2b5c1288293d430edf3e0d32dcfe /src
parent7fb83578b99aa224f7545f4118a46e84b58a9295 (diff)
fix the debug run script :swagxmas:
Diffstat (limited to 'src')
-rw-r--r--src/assets.odin8
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 = {