||5 months ago|
|resources||5 months ago|
|sounds||6 months ago|
|src/main/java||5 months ago|
|textures||5 months ago|
|.gitattributes||1 year ago|
|.gitignore||5 months ago|
|Crafter.iml||5 months ago|
|LICENSE||1 year ago|
|README.md||5 months ago|
|build.properties||6 months ago|
|build.xml||6 months ago|
|pom.xml||5 months ago|
A blocky game written in java with LWJGL 3
Based off of what I've learned from Minetest's engine and lua api
IRC: #crafter on Libera (https://libera.chat/)
Required Java version (JRE): 17
You can get this version at: https://jdk.java.net/17/
Or you can install openJDK on most linux distros.
sudo apt install openjdk-17-jdk
sudo dnf install java-latest-openjdk-devel.x86_64
To update default JRE:
sudo update-alternatives --config java
You can try these flags for a performance boost, if you want. These are experimental.
-Xmx1G -XX:-UseAdaptiveSizePolicy -XX:-UseParallelGC -Xmn128M
Building with ANT:
If you know how to improve the ant build script, feel free to.
You must install ANT (Another Neat Tool) for the build to work.
Once you have ANT installed, you can simply CD to the Crafter directory.
Check build.properties to make sure that
jdk.home.17= is pointing to your openJDK 17 install.
You can find this with:
readlink -f $(which java) (Don't copy the bin/java part)
Once it says build successful, you must create a folder for the game, preferably on your desktop.
Drop the jar from the build directory (WHEREVER/Crafter/out/artifacts/Crafter_jar/Crafter.jar) to your new folder directory.
Copy the /textures/ and /sounds/ folders into the new directory.
You should now be able to run the game using java -jar Crafter.jar in the folder you created, or double clicking the jar in Windows.
Todo List: (This is probably outdated)
- Modularize things - less hardcoded implementations
Stargazers over time
If you want to see the first ever commit done to this project:
This was done on my secondary account.