./gradlew desktop:run
Starting the project from IDEA or any other IDE requires that working directory is set to core/assets (other than that you can find a playable demo on Release page) - see the below screenshot.
./gradlew desktop:run
./gradlew desktop:dist
java -jar ./desktop/build/libs/desktop-1.0.jar
The first step (gradlew desktop:run
) is required in order to build texture atlases
Left player:
A, D - left/right movement.
W, S - up/down aim.
Left shift - weapon change.
Left control - jump (possible to do a double jump).
Left alt - shoot.
Right player:
Left/Right arrow - left/right movement.
Up/Down arrow - up/down aim
Right Shift - change weapon.
Right Control - jump.
Right Alt - shoot.
./gradlew desktop:run
Jako projekt w idei (lub analogicznie w innym IDE) trzeba ustawić na obecną chwilę working directory w Run Configuration na core/assets - wtedy można z niej uruchomić.
Lewy gracz:
A, D - lewo/prawo.
W, S - góra/dół (celowanie).
Lewy Shift - zmiana broni.
Lewy Control - skok (możliwy podwójny).
Lewy Alt - strzał.
Prawy gracz:
Left/Right arrow - lewo/prawo.
Up/down arrow - celowanie góra/dół.
Prawy Shift - zmiana broni.
Prawy Control - skok.
Prawy alt - strzał.