www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Are there any 2D games libraries available for D2?

reply "Kingsley" <kingsley.hendrickse gmail.com> writes:
Hi

I'm looking for a 2D games library in D2 similar to gosu from 
ruby: http://www.libgosu.org/ or ray: 
https://github.com/Mon-Ouie/ray

Does such a thing exist?

--K
Feb 19 2015
next sibling parent reply "extrawurst" <stephan extrawurst.org> writes:
On Thursday, 19 February 2015 at 23:32:45 UTC, Kingsley wrote:
 Hi

 I'm looking for a 2D games library in D2 similar to gosu from 
 ruby: http://www.libgosu.org/ or ray: 
 https://github.com/Mon-Ouie/ray

 Does such a thing exist?

 --K
Maybe one of these works for you. ~Stephan
Feb 19 2015
parent reply "extrawurst" <stephan extrawurst.org> writes:
On Thursday, 19 February 2015 at 23:35:17 UTC, extrawurst wrote:
 On Thursday, 19 February 2015 at 23:32:45 UTC, Kingsley wrote:
 Hi

 I'm looking for a 2D games library in D2 similar to gosu from 
 ruby: http://www.libgosu.org/ or ray: 
 https://github.com/Mon-Ouie/ray

 Does such a thing exist?

 --K
Maybe one of these works for you. ~Stephan
And now with the link: http://wiki.dlang.org/Game_Development_and_Multimedia_Libraries XD
Feb 19 2015
parent reply "stewarth" <growlercab gmail.com> writes:
On Thursday, 19 February 2015 at 23:36:13 UTC, extrawurst wrote:
 On Thursday, 19 February 2015 at 23:35:17 UTC, extrawurst wrote:
 On Thursday, 19 February 2015 at 23:32:45 UTC, Kingsley wrote:
 Hi

 I'm looking for a 2D games library in D2 similar to gosu from 
 ruby: http://www.libgosu.org/ or ray: 
 https://github.com/Mon-Ouie/ray

 Does such a thing exist?

 --K
Maybe one of these works for you. ~Stephan
And now with the link: http://wiki.dlang.org/Game_Development_and_Multimedia_Libraries XD
I use Dgame which has a really nice and simple interface http://rswhite.de/dgame4/ From the web page: Dgame is a 2D framework which is based on the SDL and OpenGL, and is designed for the D programming language. The design is based on Pygame and as well on the SFML from the C++ programming language. Cheers, Stew
Feb 19 2015
parent reply "Kingsley" <kingsley.hendrickse gmail.com> writes:
 I use Dgame which has a really nice and simple interface

 http://rswhite.de/dgame4/

 From the web page:

 Dgame is a 2D framework which is based on the SDL and OpenGL, 
 and is designed for the D programming language. The design is 
 based on Pygame and as well on the SFML from the C++ 
 programming language.

 Cheers,
 Stew
I'm looking at DGame - I'm on osx - so I guess I have to build all the dependencies myself <sigh> - Once I get it installed and working - it looks like it may be enough for what I want. I guess I'll have to make it work with dub myself to make it easier to get started with.
Feb 19 2015
parent reply "Kingsley" <kingsley.hendrickse gmail.com> writes:
On Thursday, 19 February 2015 at 23:59:14 UTC, Kingsley wrote:
 I use Dgame which has a really nice and simple interface

 http://rswhite.de/dgame4/

 From the web page:

 Dgame is a 2D framework which is based on the SDL and OpenGL, 
 and is designed for the D programming language. The design is 
 based on Pygame and as well on the SFML from the C++ 
 programming language.

 Cheers,
 Stew
I'm looking at DGame - I'm on osx - so I guess I have to build all the dependencies myself <sigh> - Once I get it installed and working - it looks like it may be enough for what I want. I guess I'll have to make it work with dub myself to make it easier to get started with.
DGame has a dependency on Derelict 3 - but going to the link provided says that project is no longer maintained and doesn't work with the latest DMD compiler. It points to a new location where there are multiple different Derelict libraries - I'm hoping DGame will work with one of those still.
Feb 19 2015
parent reply "Jeremy DeHaan" <dehaan.jeremiah gmail.com> writes:
On Friday, 20 February 2015 at 00:07:20 UTC, Kingsley wrote:
 On Thursday, 19 February 2015 at 23:59:14 UTC, Kingsley wrote:
 I use Dgame which has a really nice and simple interface

 http://rswhite.de/dgame4/

 From the web page:

 Dgame is a 2D framework which is based on the SDL and OpenGL, 
 and is designed for the D programming language. The design is 
 based on Pygame and as well on the SFML from the C++ 
 programming language.

 Cheers,
 Stew
I'm looking at DGame - I'm on osx - so I guess I have to build all the dependencies myself <sigh> - Once I get it installed and working - it looks like it may be enough for what I want. I guess I'll have to make it work with dub myself to make it easier to get started with.
DGame has a dependency on Derelict 3 - but going to the link provided says that project is no longer maintained and doesn't work with the latest DMD compiler. It points to a new location where there are multiple different Derelict libraries - I'm hoping DGame will work with one of those still.
Chiming in with my own library. https://github.com/Jebbs/DSFML Things are a bit of a mess, but I'm gearing up for a release soon and things will be all nice and tidy and structured.
Feb 19 2015
parent reply "Gan" <avisaria me.com> writes:
On Friday, 20 February 2015 at 04:52:29 UTC, Jeremy DeHaan wrote:
 On Friday, 20 February 2015 at 00:07:20 UTC, Kingsley wrote:
 On Thursday, 19 February 2015 at 23:59:14 UTC, Kingsley wrote:
 I use Dgame which has a really nice and simple interface

 http://rswhite.de/dgame4/

 From the web page:

 Dgame is a 2D framework which is based on the SDL and 
 OpenGL, and is designed for the D programming language. The 
 design is based on Pygame and as well on the SFML from the 
 C++ programming language.

 Cheers,
 Stew
I'm looking at DGame - I'm on osx - so I guess I have to build all the dependencies myself <sigh> - Once I get it installed and working - it looks like it may be enough for what I want. I guess I'll have to make it work with dub myself to make it easier to get started with.
DGame has a dependency on Derelict 3 - but going to the link provided says that project is no longer maintained and doesn't work with the latest DMD compiler. It points to a new location where there are multiple different Derelict libraries - I'm hoping DGame will work with one of those still.
Chiming in with my own library. https://github.com/Jebbs/DSFML Things are a bit of a mess, but I'm gearing up for a release soon and things will be all nice and tidy and structured.
I really want to check out DGame but I suggest withholding from it until it becomes actively maintained again. I'm using DSFML and it is one of the easiest. Though I had strange issues like high ram usage and text not rendering. Though the ease of use and performance is phenomenal.
Feb 19 2015
next sibling parent reply "Namespace" <rswhite4 gmail.com> writes:
On Friday, 20 February 2015 at 07:12:34 UTC, Gan wrote:
 On Friday, 20 February 2015 at 04:52:29 UTC, Jeremy DeHaan 
 wrote:
 On Friday, 20 February 2015 at 00:07:20 UTC, Kingsley wrote:
 On Thursday, 19 February 2015 at 23:59:14 UTC, Kingsley wrote:
 I use Dgame which has a really nice and simple interface

 http://rswhite.de/dgame4/

 From the web page:

 Dgame is a 2D framework which is based on the SDL and 
 OpenGL, and is designed for the D programming language. The 
 design is based on Pygame and as well on the SFML from the 
 C++ programming language.

 Cheers,
 Stew
I'm looking at DGame - I'm on osx - so I guess I have to build all the dependencies myself <sigh> - Once I get it installed and working - it looks like it may be enough for what I want. I guess I'll have to make it work with dub myself to make it easier to get started with.
DGame has a dependency on Derelict 3 - but going to the link provided says that project is no longer maintained and doesn't work with the latest DMD compiler. It points to a new location where there are multiple different Derelict libraries - I'm hoping DGame will work with one of those still.
Chiming in with my own library. https://github.com/Jebbs/DSFML Things are a bit of a mess, but I'm gearing up for a release soon and things will be all nice and tidy and structured.
I really want to check out DGame but I suggest withholding from it until it becomes actively maintained again. I'm using DSFML and it is one of the easiest. Though I had strange issues like high ram usage and text not rendering. Though the ease of use and performance is phenomenal.
I will try to fix the Derelict 3 mess this weekend. Putting it on DUB will take some more time, which I don't have currently, because I have my exams right now.
Feb 19 2015
parent "stewarth" <growlercab gmail.com> writes:
On Friday, 20 February 2015 at 07:30:37 UTC, Namespace wrote:
[snip]

 I will try to fix the Derelict 3 mess this weekend. Putting it 
 on DUB will take some more time, which I don't have currently, 
 because I have my exams right now.
I've just managed to get building with DUB and submitted a PR. NOTE: You will want to review the diffs carefully because I've had to change some things like Derelict import paths which may break non-dub builds. Feel free to reject the PR if the breakage is too great and cherry pick anything you find useful. Or I can amend the PR if that helps also. Thanks, Stew
Feb 20 2015
prev sibling parent reply "Jeremy DeHaan" <dehaan.jeremiah gmail.com> writes:
On Friday, 20 February 2015 at 07:12:34 UTC, Gan wrote:
 On Friday, 20 February 2015 at 04:52:29 UTC, Jeremy DeHaan
 Chiming in with my own library. https://github.com/Jebbs/DSFML

 Things are a bit of a mess, but I'm gearing up for a release 
 soon and things will be all nice and tidy and structured.
I really want to check out DGame but I suggest withholding from it until it becomes actively maintained again. I'm using DSFML and it is one of the easiest. Though I had strange issues like high ram usage and text not rendering. Though the ease of use and performance is phenomenal.
Thanks for the heads up. I'll open an issue to inspect RAM usage, but can you let me know when you were having Text rendering issues so I can inspect that too?
Feb 20 2015
parent reply "Gan" <avisaria me.com> writes:
On Friday, 20 February 2015 at 15:15:36 UTC, Jeremy DeHaan wrote:
 On Friday, 20 February 2015 at 07:12:34 UTC, Gan wrote:
 On Friday, 20 February 2015 at 04:52:29 UTC, Jeremy DeHaan
 Chiming in with my own library. https://github.com/Jebbs/DSFML

 Things are a bit of a mess, but I'm gearing up for a release 
 soon and things will be all nice and tidy and structured.
I really want to check out DGame but I suggest withholding from it until it becomes actively maintained again. I'm using DSFML and it is one of the easiest. Though I had strange issues like high ram usage and text not rendering. Though the ease of use and performance is phenomenal.
Thanks for the heads up. I'll open an issue to inspect RAM usage, but can you let me know when you were having Text rendering issues so I can inspect that too?
This link can give you more information about it: http://en.sfml-dev.org/forums/index.php?topic=17550.0 I started getting text rendering issues when I was playing with my space background render textures. It's kinda strange cause they seem unrelated.
Feb 20 2015
parent reply "Jeremy DeHaan" <dehaan.jeremiah gmail.com> writes:
On Friday, 20 February 2015 at 18:23:09 UTC, Gan wrote:
 On Friday, 20 February 2015 at 15:15:36 UTC, Jeremy DeHaan 
 wrote:
 On Friday, 20 February 2015 at 07:12:34 UTC, Gan wrote:
 On Friday, 20 February 2015 at 04:52:29 UTC, Jeremy DeHaan
 Chiming in with my own library. 
 https://github.com/Jebbs/DSFML

 Things are a bit of a mess, but I'm gearing up for a release 
 soon and things will be all nice and tidy and structured.
I really want to check out DGame but I suggest withholding from it until it becomes actively maintained again. I'm using DSFML and it is one of the easiest. Though I had strange issues like high ram usage and text not rendering. Though the ease of use and performance is phenomenal.
Thanks for the heads up. I'll open an issue to inspect RAM usage, but can you let me know when you were having Text rendering issues so I can inspect that too?
This link can give you more information about it: http://en.sfml-dev.org/forums/index.php?topic=17550.0 I started getting text rendering issues when I was playing with my space background render textures. It's kinda strange cause they seem unrelated.
I'll check it out, thanks!
Feb 20 2015
parent reply "Kingsley" <kingsley.hendrickse gmail.com> writes:
 I'm using DSFML and it is one of the easiest. Though I had 
 strange issues like high ram usage and text not rendering. 
 Though the ease of use and performance is phenomenal.
Thanks for the heads up. I'll open an issue to inspect RAM usage, but can you let me know when you were having Text rendering issues so I can inspect that too?
This link can give you more information about it: http://en.sfml-dev.org/forums/index.php?topic=17550.0 I started getting text rendering issues when I was playing with my space background render textures. It's kinda strange cause they seem unrelated.
I'll check it out, thanks!
Hi - I started using dsfml - I really like it! The fact that there were pre-built zips to download for my platform was awesome!! Got started straight away. I have been googling but not found a nice answer. I want to make an explosion from a list of 20 images. sfml doesn't seem to have very good support for doing that kind of thing. I have seen an external thing called thor - but I guess I'd have to port that to D - maybe a bit beyond my skills at the moment. If anyone has an example of creating an explosion from images using dsfml please post it so I can learn :) :) you will see why I need this pretty soon :) --K
Feb 25 2015
parent "Dmitry" <dmitry indiedev.ru> writes:
On Wednesday, 25 February 2015 at 22:25:35 UTC, Kingsley wrote:
 I have been googling but not found a nice answer. I want to 
 make an explosion from a list of 20 images. sfml doesn't seem 
 to have very good support for doing that kind of thing. I have 
 seen an external thing called thor - but I guess I'd have to 
 port that to D - maybe a bit beyond my skills at the moment.

 If anyone has an example of creating an explosion from images 
 using dsfml please post it so I can learn :) :)
It can help: http://pastebin.com/tJxLvKm8 (from "SFML Game Development" book, Chapter 8: Every Pixel Counts – Adding Visual Effects, Animated sprites) It's C++, but I think it is easy for porting to D
Feb 26 2015
prev sibling next sibling parent reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 2015-02-19 at 23:32 +0000, Kingsley via Digitalmars-d wrote:
 Hi
=20
 I'm looking for a 2D games library in D2 similar to gosu from ruby:=20
  http://www.libgosu.org/or ray:
 https://github.com/Mon-Ouie/ray
I got totally confused there for a moment: Gosu is a programming=20 language for the JVM, and nothing to do with Ruby. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Feb 19 2015
parent "Mengu" <mengukagan gmail.com> writes:
On Friday, 20 February 2015 at 07:43:42 UTC, Russel Winder wrote:
 On Thu, 2015-02-19 at 23:32 +0000, Kingsley via Digitalmars-d 
 wrote:
 Hi
 
 I'm looking for a 2D games library in D2 similar to gosu from 
 ruby:
  http://www.libgosu.org/or ray:
 https://github.com/Mon-Ouie/ray
I got totally confused there for a moment: Gosu is a programming language for the JVM, and nothing to do with Ruby.
same here. when i first saw the name libgosu i thought "wow, gosu guys made a game lib" and then when i went to the libgosu website i saw that it has nothing to do with gosu, the jvm programming language. for teh lazy, libgosu website says: "Gosu is a 2D game development library for the Ruby and C++ programming languages, available for Mac OS X, Windows, and Linux"
Feb 20 2015
prev sibling next sibling parent "vbnjk" <dudukidudule gmail.com> writes:
On Thursday, 19 February 2015 at 23:32:45 UTC, Kingsley wrote:
 Hi

 I'm looking for a 2D games library in D2 similar to gosu from 
 ruby: http://www.libgosu.org/ or ray: 
 https://github.com/Mon-Ouie/ray

 Does such a thing exist?

 --K
Feb 20 2015
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2015-02-20 00:32, Kingsley wrote:
 Hi

 I'm looking for a 2D games library in D2 similar to gosu from ruby:
 http://www.libgosu.org/ or ray: https://github.com/Mon-Ouie/ray

 Does such a thing exist?
This is for 3D but have a look at Dash Engine [1] [2] [1] http://dash.circularstudios.com [2] https://github.com/Circular-Studios/Dash -- /Jacob Carlborg
Feb 20 2015