gfm 3.0.6
D gamedev toolkit. 3D maths, OpenGL/SDL/FreeImage/Assimp/ENet wrapper, stb_image port.
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:
GFM
GFM is a lightweight library to ease the creation of video games / multimedia applications with the D programming language.
Documentation and overview can be found here: http://d-gamedev-team.github.io/gfm/
License
Public Domain (Unlicense).
How to use GFM?
Add the sub-package you are interested in in your dub.json
:
{
"dependencies": {
"gfm:math": "~>3.0"
}
}
See the examples/ directory, or https://github.com/p0nce/aliasthis as an example of a game.
Changelog
https://github.com/d-gamedev-team/gfm/wiki/Changelog
Dependencies
You absolutely don't need to use the whole of GFM. Pick just what you need to minimize the amount of dependencies.
There is an ongoing work to delete things in GFM that exist elsewhere but better. See http://code.dlang.org to discover lots of useful libraries for your programs.
Design goals
- Give some more power to the library user providing code that will probably need to be written anyway.
- Each module / sub-package is maximally decoupled.
- Logging interface for everything that has a logging callback.
- Correctness and functionality are favoured over speed.
- Wrappers are transparent layers that expose the C libraries objects, turn every error code into an D exception and makes it easier to use the library correctly. They do almost nothing and perhaps you don't need them.
Why use GFM?
In the D1 days, I created several multimedia applications:
- Vibrant: http://www.gamesfrommars.fr/vibrant/
- Wormhol: http://www.gamesfrommars.fr/wormhol/
- Extatique: http://www.pouet.net/prod.php?which=53942
- The Orange Guy: http://www.pouet.net/prod.php?which=52780
- SeamzGood: http://www.dsource.org/projects/seamzgood
This all came with some insight with how to do OpenGL applications in D. During this time I became acutely aware that my quick & dirty coding style wouldn't cut it in the long run. GFM is the clean successor library to the unfortunate code I was using at this time.
- Registered by ponce
- 3.0.6 released 9 years ago
- d-gamedev-team/gfm
- github.com/d-gamedev-team/gfm/
- public domain
- none
- Authors:
- Sub packages:
- gfm:core, gfm:math, gfm:image, gfm:net, gfm:enet, gfm:assimp, gfm:opengl, gfm:sdl2, gfm:freeimage, gfm:logger
- Dependencies:
- gfm:image, gfm:core, gfm:net, gfm:opengl, gfm:sdl2, gfm:logger, gfm:math, gfm:assimp, gfm:enet, gfm:freeimage
- Versions:
-
8.0.6 2021-Feb-09 8.0.5 2021-Jan-04 8.0.4 2020-Sep-10 8.0.3 2020-Jan-16 8.0.2 2019-Nov-09 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
8 downloads this month
-
77815 downloads total
-
- Score:
- 2.7
- Short URL:
- gfm.dub.pm