add inital pacman position

This commit is contained in:
2025-11-10 11:36:20 -05:00
parent a58c19817c
commit 36bbf5b888
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -69,6 +69,8 @@ void Game::run() {
pacman.setAnimationTiles(resources.getTexture("all_textures"), {1952, 0}, "static", {60, 60}, 1, 0);
pacman.setAnimationTiles(resources.getTexture("all_textures"), {2016, 0}, "death", {60, 60}, 11, 4);
pacman.setActiveSprite("static", 0);
pacman.setOrigin({30, 30});
pacman.setPosition({32 * 14.5 - 16, 32 * 24 - 16});
blinky.setAnimationTiles(resources.getTexture("all_textures"), {1824, 256}, "right_walking", {60, 60}, 2, 4);
blinky.setAnimationTiles(resources.getTexture("all_textures"), {1952, 256}, "left_walking", {60, 60}, 2, 4);