aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/assets.odin2
-rw-r--r--src/resources.odin1
-rw-r--r--src/sprite.odin2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/assets.odin b/src/assets.odin
index dd506a3..17e0320 100644
--- a/src/assets.odin
+++ b/src/assets.odin
@@ -71,7 +71,7 @@ images: [Image_Id]Image_Resource = {
animations: [Animation_Id]Animation_Resource = {
.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 = {"jump_trans"={from = 16, to = 16}, "jump_down"={from = 17, to = 18}, "idle"={from = 0, to = 5}, "sleep"={from = 19, to = 22}, "jump_up"={from = 14, to = 15}, "run"={from = 6, to = 13}}},
+ .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 = {"jump_up"={from = 14, to = 15}, "jump_down"={from = 17, to = 18}, "jump_trans"={from = 16, to = 16}, "sleep"={from = 19, to = 22}, "run"={from = 6, to = 13}, "idle"={from = 0, to = 5}}},
}
rooms: [Room_Id]Room_Resource = {
diff --git a/src/resources.odin b/src/resources.odin
index 22fed57..8134ccb 100644
--- a/src/resources.odin
+++ b/src/resources.odin
@@ -83,7 +83,6 @@ get_image :: proc(id: Image_Id) -> fw.Texture {
defer image.destroy(img)
img_res.texture = fw.create_texture_from_image(img)
- log.debug(img_res.texture.size)
}
return img_res.texture
diff --git a/src/sprite.odin b/src/sprite.odin
index e93a3b1..4d82813 100644
--- a/src/sprite.odin
+++ b/src/sprite.odin
@@ -87,8 +87,6 @@ draw_sprite :: proc(sprite: Sprite) {
{f32(sprite.width), f32(sprite.height)},
}
- log.debug(sprite.width, sprite.height)
-
fw.draw_tex_ex(
sprite.image,
sprite.pos,