Added basic enemy textures.

This commit is contained in:
2026-07-24 06:33:43 +02:00
parent fe14f2723c
commit b7b701b34a
3 changed files with 3 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+3 -3
View File
@@ -42,11 +42,11 @@ init_player_assets :: proc(clip_array: ^[Player_State]AnimationClip) {
} }
init_enemy_assets :: proc(clip_array: ^[Enemy_State]AnimationClip) { init_enemy_assets :: proc(clip_array: ^[Enemy_State]AnimationClip) {
idle_tex := rl.LoadTexture("assets/textures/enemy/player_idle.png") idle_tex := rl.LoadTexture("assets/textures/enemy/enemy_idle.png")
walk_tex := rl.LoadTexture("assets/textures/enemy/player_walk.png") walk_tex := rl.LoadTexture("assets/textures/enemy/enemy_walk.png")
clip_array[.IDLE] = AnimationClip { clip_array[.IDLE] = AnimationClip {
texture = idle_tex, frame_count = 6, frame_width = 32, frame_height = 32, frame_time = 0.14, looping = true, texture = idle_tex, frame_count = 6, frame_width = 32, frame_height = 32, frame_time = 0.10, looping = true,
} }
clip_array[.WALK] = AnimationClip { clip_array[.WALK] = AnimationClip {
texture = walk_tex, frame_count = 8, frame_width = 32, frame_height = 32, frame_time = 0.14, looping = true, texture = walk_tex, frame_count = 8, frame_width = 32, frame_height = 32, frame_time = 0.14, looping = true,