Compare commits
2 Commits
44b806333a
...
f57d7a8d8a
| Author | SHA1 | Date | |
|---|---|---|---|
| f57d7a8d8a | |||
| 0767278d7c |
@@ -32,8 +32,8 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
||||||
target_link_libraries(LotoStatek sfml-graphics)
|
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
|
||||||
elseif(LINUX)
|
elseif(LINUX)
|
||||||
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
||||||
target_link_libraries(LotoStatek sfml-graphics)
|
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
|
||||||
endif()
|
endif()
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.1 MiB |
2
main.cpp
2
main.cpp
@@ -14,7 +14,7 @@ int main()
|
|||||||
window.setVerticalSyncEnabled(true);
|
window.setVerticalSyncEnabled(true);
|
||||||
window.setFramerateLimit(60);
|
window.setFramerateLimit(60);
|
||||||
|
|
||||||
Background background("../assets/img/space.png ", 2.0f); //tutaj predkosc tla, mozna zwiekszyc jak za wolno
|
Background background("../assets/img/space.png", 2.0f); //tutaj predkosc tla, mozna zwiekszyc jak za wolno
|
||||||
|
|
||||||
|
|
||||||
AudioManager audioManager;
|
AudioManager audioManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user