meld ~master
A tiny game engine built on top of OpenGL and Derelict
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:
meld
A tiny game engine for D with as few dependencies as possible.
Windows compilation requires dmc, dmd and dub. OSX compilation requires gcc, dmd and dub. You will also need to have the glwt library available. To create a new project:
dub init helloworld
Add meld to the project dependencies:
{
"name": "hello world",
"description": "HELLO, world!",
"copyright": "Copyright © 2014, Alex Parker",
"authors": ["Alex Parker"],
"dependencies": {
"meld": {
"version": "~master"
}
}
}
Import and initialise meld in your main loop:
import meld;
void main()
{
Window window = new Window("Hello, world!", 640, 480);
while (window.IsRunning())
{
window.Swap();
}
}
- ~master released 10 years ago
- meld-3d/meld
- BSL-1.0
- Copyright © 2014 Alex Parker
- Authors:
- Dependencies:
- derelict-gl3, derelict-glfw3, msgpack-d
- Versions:
-
0.0.1 2014-Jul-31 ~master 2014-Aug-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
220 downloads total
-
- Score:
- 0.6
- Short URL:
- meld.dub.pm