modify assets structure and add sounds

This commit is contained in:
2025-11-09 00:22:12 -05:00
parent 03eaf5b816
commit a88f527dd4
47 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 473 B

Before

Width:  |  Height:  |  Size: 614 B

After

Width:  |  Height:  |  Size: 614 B

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 495 B

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 81 B

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 714 B

Before

Width:  |  Height:  |  Size: 113 B

After

Width:  |  Height:  |  Size: 113 B

Before

Width:  |  Height:  |  Size: 573 B

After

Width:  |  Height:  |  Size: 573 B

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

+3 -3
View File
@@ -11,13 +11,13 @@ void Game::run() {
ResourceManager resources; ResourceManager resources;
MazeMap map; MazeMap map;
resources.loadTexture("all_textures", "assets/all_textures_transparent.png"); resources.loadTexture("all_textures", "assets/textures/all_textures_transparent.png");
// resize all_textures to 32px // resize all_textures to 32px
resources.resizeTexture("all_textures", 32); resources.resizeTexture("all_textures", 32);
// Collision data: 1=wall, 0=path // Collision data: 1=wall, 0=path
resources.loadMap("mazeMap", "assets/maze.txt"); resources.loadMap("mazeMap", "assets/game/maze.txt");
// Pellet data: 0=none, 1=pellet, 2=power // Pellet data: 0=none, 1=pellet, 2=power
resources.loadMap("pelletMap", "assets/pellets.txt"); resources.loadMap("pelletMap", "assets/game/pellets.txt");
// Texture layout: [Pellet Maze Image] + gap (16px) + [Base Maze Image] // Texture layout: [Pellet Maze Image] + gap (16px) + [Base Maze Image]
// Original: 224px (28*8) + 4px gap at 8px tiles // Original: 224px (28*8) + 4px gap at 8px tiles