Add game framework and whitebox level

This commit is contained in:
2026-06-08 23:47:32 +08:00
parent 5525343656
commit e52cf94336
24 changed files with 778 additions and 0 deletions
+17
View File
@@ -31,4 +31,21 @@ if is_plat("windows") then
add_packages("zlib")
add_syslinks("imm32")
target_end()
target("Frostbite2DGame")
set_kind("binary")
add_files("game/src/**.cpp")
add_deps("Frostbite2D")
add_packages("libsdl2")
add_packages("libsdl2_image")
add_packages("libsdl2_mixer")
add_packages("libsdl2_ttf")
add_packages("glm")
add_packages("zlib")
add_syslinks("imm32")
after_build(function (target)
os.cp(path.join(os.projectdir(), "game/assets"),
path.join(target:targetdir(), "assets"))
end)
target_end()
end