Move through course, sprite and input
Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
@@ -1,6 +1,12 @@
|
||||
add_executable(${LIGHT_YEARS_GAME_TARGET_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/gameFramework/GameApplication.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/gameFramework/GameApplication.cpp
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/spaceship/Spaceship.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/spaceship/Spaceship.cpp
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/player/PlayerSpaceship.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/player/PlayerSpaceship.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${LIGHT_YEARS_GAME_TARGET_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
@@ -19,3 +25,19 @@ add_custom_command(
|
||||
endfunction()
|
||||
|
||||
CopyLibDirToTarget(${LIGHT_YEARS_ENGINE_TARGET_NAME} ${LIGHT_YEARS_GAME_TARGET_NAME})
|
||||
|
||||
set(RESOURCE_FOLDER_NAME "assets")
|
||||
set(RESOURCE_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${RESOURCE_FOLDER_NAME}")
|
||||
|
||||
add_custom_command(TARGET ${LIGHT_YEARS_GAME_TARGET_NAME}
|
||||
POST_BUILD
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E copy_directory
|
||||
${RESOURCE_SRC_DIR}
|
||||
$<TARGET_FILE_DIR:${LIGHT_YEARS_GAME_TARGET_NAME}>/${RESOURCE_FOLDER_NAME}
|
||||
)
|
||||
|
||||
configure_file(
|
||||
"config.h.in"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/include/config.h" ESCAPE_QUOTES
|
||||
)
|
||||
BIN
LightYearsGame/assets/.DS_Store
vendored
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/.DS_Store
vendored
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Backgrounds/black.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/Backgrounds/blue.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/Backgrounds/purple.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_laser1.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_laser2.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_lose.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_shieldDown.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_shieldUp.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_twoTone.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/Bonus/sfx_zap.ogg
Normal file
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/.DS_Store
vendored
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1001 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire00.png
Normal file
|
After Width: | Height: | Size: 345 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire01.png
Normal file
|
After Width: | Height: | Size: 593 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire02.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire03.png
Normal file
|
After Width: | Height: | Size: 582 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire04.png
Normal file
|
After Width: | Height: | Size: 677 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire05.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire06.png
Normal file
|
After Width: | Height: | Size: 629 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire07.png
Normal file
|
After Width: | Height: | Size: 734 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire08.png
Normal file
|
After Width: | Height: | Size: 378 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire09.png
Normal file
|
After Width: | Height: | Size: 387 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire10.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire11.png
Normal file
|
After Width: | Height: | Size: 611 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire12.png
Normal file
|
After Width: | Height: | Size: 587 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire13.png
Normal file
|
After Width: | Height: | Size: 588 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire14.png
Normal file
|
After Width: | Height: | Size: 684 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire15.png
Normal file
|
After Width: | Height: | Size: 780 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire16.png
Normal file
|
After Width: | Height: | Size: 641 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire17.png
Normal file
|
After Width: | Height: | Size: 739 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire18.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/fire19.png
Normal file
|
After Width: | Height: | Size: 386 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/shield1.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/shield2.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/shield3.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/speed.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/star1.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/star2.png
Normal file
|
After Width: | Height: | Size: 345 B |
BIN
LightYearsGame/assets/SpaceShooterRedux/PNG/Effects/star3.png
Normal file
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 274 B |
|
After Width: | Height: | Size: 322 B |
|
After Width: | Height: | Size: 276 B |
|
After Width: | Height: | Size: 691 B |
|
After Width: | Height: | Size: 617 B |
|
After Width: | Height: | Size: 882 B |
|
After Width: | Height: | Size: 754 B |
|
After Width: | Height: | Size: 771 B |
|
After Width: | Height: | Size: 719 B |
|
After Width: | Height: | Size: 321 B |
|
After Width: | Height: | Size: 281 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 282 B |
|
After Width: | Height: | Size: 802 B |
|
After Width: | Height: | Size: 709 B |
|
After Width: | Height: | Size: 321 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 316 B |
|
After Width: | Height: | Size: 278 B |
|
After Width: | Height: | Size: 329 B |
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 813 B |
|
After Width: | Height: | Size: 749 B |