February 20, 2015
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

February 20, 2015
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
February 20, 2015
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"
February 20, 2015
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
February 20, 2015
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?
February 20, 2015
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.
February 20, 2015
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!
February 25, 2015
>>>> 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

February 26, 2015
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
1 2
Next ›   Last »