Re: DTiled: Tiled map loader

2015-05-03 Thread Dmitry via Digitalmars-d-announce

On Saturday, 2 May 2015 at 19:16:03 UTC, rcorre wrote:
Any D game developers out there looking to create a tile-based 
game?


DTiled aims to provide a quick and easy way to load maps 
created with Tiled

Good! Thank you!


Re: DTiled: Tiled map loader

2015-05-03 Thread tired_eyes via Digitalmars-d-announce
Nice that you named Dgame on your repo. ;) As soon as it 
supports XML and CSV I would definitely use it.


Everyone who starts a game in D calls it Dgame!


Re: DTiled: Tiled map loader

2015-05-03 Thread Namespace via Digitalmars-d-announce

On Sunday, 3 May 2015 at 06:57:34 UTC, tired_eyes wrote:
Nice that you named Dgame on your repo. ;) As soon as it 
supports XML and CSV I would definitely use it.


Everyone who starts a game in D calls it Dgame!


That may be true, but I was referring to my framework.


Re: DTiled: Tiled map loader

2015-05-03 Thread Namespace via Digitalmars-d-announce

On Sunday, 3 May 2015 at 01:18:01 UTC, rcorre wrote:

On Saturday, 2 May 2015 at 19:24:12 UTC, Namespace wrote:
Nice that you named Dgame on your repo. ;) As soon as it 
supports XML and CSV I would definitely use it.


For my April/Mai game Angry Snowball 
(https://github.com/Dgame/AngrySnowball) I use currently a CSV 
format.


Unfortunately XML support is not a top priority for me, as I 
always use the JSON format. I normally have a build step that 
converts updated TMX file sto JSON files, which isn't a big 
deal since I already have a sort of content pipeline for music 
and art.


It is a possibility but I'd need to find a good XML serializer. 
Orange looks good but isn't on dub, and I'd like to integrate 
it in a way that users who only want JSON don't need to pull in 
the XML dependency (and visa-versa).


Out of curiosity, any reason for preferring the XML format? Not 
that I have a good reason for preferring JSON.


No, no reason. And at the moment I am using CSV, so CSV would be 
my top priority.


Re: DTiled: Tiled map loader

2015-05-02 Thread rcorre via Digitalmars-d-announce
hmm ... apparently copy-pasting out of a vim buffer was not a 
good idea. Sorry about the weird line breaks.


Re: DTiled: Tiled map loader

2015-05-02 Thread Namespace via Digitalmars-d-announce

On Saturday, 2 May 2015 at 19:17:51 UTC, rcorre wrote:
hmm ... apparently copy-pasting out of a vim buffer was not a 
good idea. Sorry about the weird line breaks.


Nice that you named Dgame on your repo. ;) As soon as it supports 
XML and CSV I would definitely use it.


For my April/Mai game Angry Snowball 
(https://github.com/Dgame/AngrySnowball) I use currently a CSV 
format.