diff options
author | rexim <reximkut@gmail.com> | 2024-03-23 09:57:37 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-03-23 09:57:37 +0700 |
commit | eee6e99a8d38058a7f9c7d0869f329fc90cea97d (patch) | |
tree | 51bd0ecb07cc9c264b59bd262b2f5163ae026555 | |
parent | dd92afccfe1ec29822c8a51676aa939ab0581e48 (diff) |
Create assets folder
-rw-r--r-- | assets/colors.txt (renamed from colors.txt) | 0 | ||||
-rw-r--r-- | assets/map.png (renamed from map.png) | bin | 1344 -> 1344 bytes | |||
-rw-r--r-- | assets/sounds.txt | 4 | ||||
-rw-r--r-- | game.adb | 11 |
4 files changed, 10 insertions, 5 deletions
diff --git a/colors.txt b/assets/colors.txt Binary files differindex 420d2a8..420d2a8 100644 --- a/colors.txt +++ b/assets/colors.txt diff --git a/assets/sounds.txt b/assets/sounds.txt new file mode 100644 index 0000000..2a1f30a --- /dev/null +++ b/assets/sounds.txt @@ -0,0 +1,4 @@ +- https://opengameart.org/content/footsteps-on-different-surfaces +- https://opengameart.org/content/footsteps-0 +- https://opengameart.org/content/metal-footsteps-on-concrete +- https://opengameart.org/content/walking-sound-effect @@ -982,7 +982,7 @@ procedure Game is Wake_Up_Radius: constant IVector2 := (3, 3); begin if Inside_Of_Rect(Eeper.Position, Eeper.Size, Game.Player.Position) then - Load_Game_From_Image("map.png", Game, True); + Load_Game_From_Image("assets/map.png", Game, True); elsif Inside_Of_Rect(Eeper.Position - Wake_Up_Radius, Eeper.Size + Wake_Up_Radius*2, Game.Player.Position) then Eeper.Eyes_Target := Game.Player.Position; Eeper.Eyes := Eyes_Open; @@ -1347,8 +1347,8 @@ begin Set_Exit_Key(KEY_NULL); Random_Integer.Reset(Gen); - Load_Colors("colors.txt"); - Load_Game_From_Image("map.png", Game, True); + Load_Colors("assets/colors.txt"); + Load_Game_From_Image("assets/map.png", Game, True); Game_Save_Checkpoint(Game); while not Window_Should_Close loop @@ -1375,13 +1375,13 @@ begin if DEVELOPMENT then if Is_Key_Pressed(KEY_R) then - Load_Game_From_Image("map.png", Game, False); + Load_Game_From_Image("assets/map.png", Game, False); end if; if Is_Key_Pressed(KEY_O) then Palette_Editor := not Palette_Editor; if not Palette_Editor then - Save_Colors("colors.txt"); + Save_Colors("assets/colors.txt"); end if; end if; @@ -1563,3 +1563,4 @@ end; -- TODO: Indicate how many bomb slots we have in HUD -- TODO: Eyes of Father changing as the Player gets closer: -- - Happy (very important to indicate that he's not hostile) +-- TODO: Transition Player's eyes linearly in Euclidean space instead of angularly. |