Giter VIP home page Giter VIP logo

dwarfgameengine's Introduction



Dwarf Game Engine

A Java-based minimalistic game engine and software renderer.

ScreenshotsAboutKey FeaturesHow To UseLicense

Screenshots

lights gif screenshot1 screenshot2 screenshot3

About This Project

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.

Key Features

  • 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.

Weaknesses

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

How To Use

To get started, follow these steps:

  1. Download the latest release of DwarfGameEngine from the repository and unzip the archive. You can find the download link here
  2. Inside the extracted folder, locate "DwarfGameEngine.jar".
  3. Add "DwarfGameEngine.jar" to the classpath of your project.
  4. 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.
  5. With these configurations in place, you are now ready to start coding some 3D or 2D games. Check out the wiki for more

License

MIT


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.