Re: Are there any 2D games libraries available for D2?

2015-02-26 Thread Dmitry via Digitalmars-d

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


Re: Are there any 2D games libraries available for D2?

2015-02-25 Thread Kingsley via Digitalmars-d
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



Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread stewarth via Digitalmars-d

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


Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread vbnjk via Digitalmars-d

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




Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread Jacob Carlborg via Digitalmars-d

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


Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread Mengu via Digitalmars-d

On Friday, 20 February 2015 at 07:43:42 UTC, Russel Winder wrote:
On Thu, 2015-02-19 at 23:32 +, 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


Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread Jeremy DeHaan via Digitalmars-d

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?


Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread Gan via Digitalmars-d

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.


Re: Are there any 2D games libraries available for D2?

2015-02-20 Thread Jeremy DeHaan via Digitalmars-d

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!


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Namespace via Digitalmars-d

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.


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Russel Winder via Digitalmars-d
On Thu, 2015-02-19 at 23:32 +, 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.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


signature.asc
Description: This is a digitally signed message part


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Jeremy DeHaan via Digitalmars-d

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.


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Gan via Digitalmars-d

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.


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Kingsley via Digitalmars-d

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.




Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread extrawurst via Digitalmars-d

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


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread stewarth via Digitalmars-d

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


Are there any 2D games libraries available for D2?

2015-02-19 Thread Kingsley via Digitalmars-d

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


Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread Kingsley via Digitalmars-d

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.




Re: Are there any 2D games libraries available for D2?

2015-02-19 Thread extrawurst via Digitalmars-d

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