very much guided by ai so far, some ghost ai isnt exactly the same as it is in og pacman, its good enough

This commit is contained in:
BoogieChild
2025-11-16 19:31:37 -05:00
parent 61c5000d04
commit edc1f9fc9c
4 changed files with 350 additions and 7 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ FetchContent_Declare(json
FetchContent_MakeAvailable(SFML json)
add_executable(main src/main.cpp src/Entity.cpp src/Game.cpp src/MazeMap.cpp src/ResourceManager.cpp)
add_executable(main src/main.cpp src/Entity.cpp src/Game.cpp src/MazeMap.cpp src/ResourceManager.cpp src/Ghost.cpp src/Pacman.cpp)
target_compile_features(main PRIVATE cxx_std_17)
target_link_libraries(main PRIVATE SFML::Graphics SFML::Audio nlohmann_json::nlohmann_json)
@@ -28,4 +28,4 @@ add_custom_command(TARGET main POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/assets
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/assets
COMMENT "Copying assets to build directory")
COMMENT "Copying assets to build directory")