Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
May 21, 2016 Game Development Using D | ||||
---|---|---|---|---|
| ||||
Hi, I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. |
May 21, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote:
> Hi,
>
> I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting?
>
> Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides.
The is derilict-gl
and then there is the dgame library
|
May 21, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stefan Koch | On Saturday, 21 May 2016 at 16:01:26 UTC, Stefan Koch wrote: > On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: >> Hi, >> >> I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? >> >> Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. > > The is derilict-gl > > and then there is the dgame library Check out the DerelictOrg bindings in general: https://github.com/DerelictOrg In particular DerelictAssimp3 might help with animation and scene loading. Other related game libraries are in the dub registry: https://code.dlang.org/search?q=game |
May 21, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: > Hi, > > I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? > > Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. I use GFM, https://github.com/d-gamedev-team/gfm It's pretty easy to use and saves alot of headache. Downside is that the documentation is somewhat outdated (namely close() functions are deprecated, you have to use the destroy attribute, or typecons). SDL + OpenGL is easy with GFM. here is a good opengl tutorial : http://www.learnopengl.com/ |
May 21, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: > Hi, > > I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? > > Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. Also forgot to add this : http://defenestrate.eu/_static/ossvikend/intro-gamedev-d/slides/index.html It's an intro to D game dev |
May 22, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: > Hi, > > I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? > > Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. In DlangUI there is Tetris game example Repository: https://github.com/buggins/dlangui Tetris: https://github.com/buggins/dlangui/tree/master/examples/tetris Clone repository, cd dlangui/examples/tetris, dub run As well, there are OpenGL example https://github.com/buggins/dlangui/tree/master/examples/opengl and DMiner example (minecraft-like rendering engine) https://github.com/buggins/dlangui/tree/master/examples/dminer |
May 22, 2016 Re: Game Development Using D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: > Hi, > > I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of these that would be useful it a game setting? > > Obviously this all depends on *how* much work I want to do. Ideally, I'd like a collection of tools that will get me roughly the equivalent of what XNA provides. If you don't know much OpenGL, go for DSFML https://github.com/Jebbs/DSFML |
Copyright © 1999-2021 by the D Language Foundation