The Java Edition of the Sparky Engine by TheCherno
Based on LWJGL 3 and using PNGDecoder. Pieced together with code from Cherno's live streams, videos and repository of his Sparky Engine series. Still capable of being optimized.
Setting up a project in the IDE of your choice is simple:
- Download the source
- Create a new project
- Copy and paste the downloaded folders
- Make sure that the
dependencies
andsrc
folders are in the root project folder - Open the Project Properties/Settings
- Add the
lwjgl.jar
(found independecies/lwjgl/jar/
) as a Library/Dependency - Add the
PNGDecoder.jar
(found independecies/PNGDecoder/
) as a Library/Dependency - Open the Run Configurations
- Add
-Djava.library.path="dependencies/lwjgl/native/"
to the VM Options