-
Notifications
You must be signed in to change notification settings - Fork 4
1. Home
Hyrdaboo edited this page Jul 6, 2023
·
1 revision
Welcome to the DwarfGameEngine wiki! DwarfGameEngine is a software renderer/game engine that supports basic functionality for making games. You can use it to make simple games or implement algorithms and modify it in whatever way you like. Though keep in mind this is a hobby project made by a single guy so it's got issues of its own and doesn't work 100% of the time.
You can get started with this wiki and if you wanna learn more you can use the demos provided with the engine and you can always modify my code to suit your own needs.
- Application
- Customizable resolution
- Window scale
- deltaTime and time since the application started
- Ability to switch fullscreen on and off
- You can customize the window to your liking
- Polling based Input system
- Full Keyboard input includes key states (press, holding, release). You'll need to call the corresponding function for each state
- Mouse input including: click states, scrolling and mouse delta
- 2D Drawing routines. These are located inside the static
DisplayRendererclass. These are the things it can do:- Lines
- Circles
- Polygons (rect, triangle)
- Images
- And of course setting pixels which allows you implement whatever you desire yourself
- Basic text rendering
- Customizable fonts. You can change font atlas at any time
- Text position and size
- Spacing of the characters
- Texturing
- Load textures from files or create procedurally
- Sampling modes (Point, Bilinear)
- Wrap modes
- Tiling and offset
- 3D Renderer
- Pixel shaders
- Lighting
- Point
- Directional
- Ambient
- Customizable (intensity, color, radius)
- Perspective correct attribute interpolation
- Vertex attributes (normal, worldPos, depth, texcoord, vertex color)
- Built-in phong and diffuse lighting
- Simple OBJ loader (Doesn't support non triangulated meshes)
- Scene management