Skip to content

LunguGeorgeProgramator/LGK2Dgame

Repository files navigation

LGK2Dgame

Basic 2d game made in java 24, using a free tutorial.

Packages

Java 24 gradle-8.14

How to run

Run command

./gradlew run

When the game window opens, use the W, A, S and D keys to move the white rectangle.

To remove all picked-up items from the map, press the P key to clear the player's inventory.

enemyAttack test_spiders test-22

How to build a windows exe ?

Run the following commands to build the project and generate the .exe

./gradlew clean build
./gradlew launch4j

The generated executable will be located at:

LGK2Dgame/build/home/georgel/IdeaProjects/LGK2Dgame/build/exe/LGK2DGame.exe

For convenience, I've also included a pre-built .exe

⚠️ If you prefer not to run the included .exe , feel free to build it yourself using the commands above.

About

Basic 2d game made in java 24, using a free tutorial.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages