dgt 0.2.0
An ergonomic 2D game toolkit
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
libdgt
A D Game Toolkit library
The project is written in D to take advantage of its ability for both low and high level programming. There's no need for a separate scripting language like Lua; both the engine and high-level code can be written in the same language.
Required tools to build
- dub, the D package manager
- A D compiler, usually DMD
Feature List
- Texture loading and rendering
- Automatic batched rendering
- Camera / viewport system
- Polygon, rectangle, and circle rendering
- Basic geometry module with circles, rects, etc.
- TTF Font rendering
- Sound playing API
- Streaming music API
- 2D tilemap for pixel-perfect geometry checking
- Particle system
- A basic Immediate Mode UI system
- A button with different hover and pressed states
- A slider that can allow for a non-discrete set of values
- A carousel with a set of rotating values
- Automatic letterboxing
- User-created shaders
- Sprites and animated sprites
- Gamepad API
- Tiled JSON format support
Examples
The example assets are stored using Git LFS. You'll need to install it to download them.
Roadmap
- Documentation
- Write documentation for each module
- [ ] Animation
- [ ] Array
- [ ] Color
- [ ] Font
- [ ] Gamepad
- [ ] Geometry
- [ ] OpenGL Backend
- [ ] IO
- [ ] Level
- [ ] Music
- [ ] Particles
- [ ] Sound
- [ ] Sprite
- [ ] Texture
- [ ] Tilemap
- [ ] UI
- [ ] Util
- [ ] Window
- Document power-of-two textures
- Document SDL libraries
- Generate and host the documentation on a github page
- Link to the documentation from the README
- Write documentation for each module
- Testing
- [ ] Animation
- [x] Array
- [x] Color
- [ ] Font
- [ ] Gamepad
- [x] Geometry
- [x] OpenGL Backend
- [x] IO
- [ ] Level
- [ ] Music
- [ ] Particles
- [ ] Sound
- [ ] Sprite
- [ ] Texture
- [x] Tilemap
- [ ] UI
- [x] Util
- [ ] Window
- Registered by Ryan Goldstein
- 0.2.0 released 7 years ago
- ryanisaacg/libdgt
- Apache-2.0
- Copyright © 2017, Ryan Goldstein
- Authors:
- Dependencies:
- derelict-gl3, derelict-sdl2
- Versions:
-
0.3.2 2017-Sep-19 0.3.1 2017-Sep-18 0.3.0 2017-Sep-18 0.2.2 2017-Sep-03 0.2.1 2017-Aug-30 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
69 downloads total
-
- Score:
- 0.0
- Short URL:
- dgt.dub.pm