Screenshots • About • Key Features • How To Use • License
DwarfGameEngine started as a learning project to explore 3D graphics while I was studying Java. Inspired by a tutorial video by javidx9 on YouTube, I set out to develop my own game engine. After almost a year of work, I'm pleased to say that the project has reached a state where I consider it somewhat finished. Along the way, I've gained valuable experience and knowledge, motivating me to continue improving and refining the engine.
- Pixel shaders
- Perspective correct attribute interpolation
- Vertex attributes: normal, worldPos, depth, texcoord
- Built-in phong and diffuse lighting
- Simple OBJ loader
- Scene management
- Screen space 2D renderer
- And more...
These are some of the key features offered by DwarfGameEngine.
I'll be honest the engine is severely limited in terms of performance. The 3D rendering is painfully slow partly because it's in software but also due to the fact that the engine is single threaded and I am not very good at optimizing things😅. To get reasonable frame rates you'll have to run the engine on low resolutions. However that's not to say I'm gonna leave it like this. This is only the alpha version so I am planning to come back to this and hopefully improve the performance
To get started, follow these steps:
- Download the latest release of DwarfGameEngine from the repository and unzip the archive. You can find the download link here
- Inside the extracted folder, locate "DwarfGameEngine.jar".
- Add "DwarfGameEngine.jar" to the classpath of your project.
- Add "DwarfGameEngineSrc.jar" as the source file for the jar. This will help your IDE understand the source code and provide helpful suggestions while you're writing your code.
- With these configurations in place, you are now ready to start coding some 3D or 2D games. Check out the wiki for more
MIT