as3-tiled-reader icon indicating copy to clipboard operation
as3-tiled-reader copied to clipboard

README documentation

Open snarlynarwhal opened this issue 11 years ago • 5 comments

The README gives the impression that this is a a completed project. Update to include working features and upcoming ones. Example links to incomplete project.

snarlynarwhal avatar Feb 07 '14 04:02 snarlynarwhal

In terms of absolutely complete, probably not. But the vast majority of use cases should be covered.

But you're right, it needs full documentation. Currently I would suggest looking at how the linked project uses it if you're interested. Linked project is just a demo to demo various features, including this project, and will never be a "complete game".

The code is well documented and should be simple to navigate. From the "how to use" section, you should be able to load a map. Then just browsing what methods are available at each step should get you what you need. Actual documentation would probably be just that, but in a more readable format.

Will leave this open so hopefully when I have some free time I remember to create better documentation.

In terms of rendering that's not part of the library. This will just load tmx files and give you access to all the data (the layers etc), and how you send that to whatever you're using to draw (flixel, axel, starling, etc) will depend on the library.

arkeus avatar Feb 07 '14 05:02 arkeus

Oh okay, I see. I was under the impression it was a standalone library for parsing AND rendering. My apologies.

snarlynarwhal avatar Feb 07 '14 20:02 snarlynarwhal

In TiledMap.as col: 43 Error: Implicit coercion of a value with static type Object to a possibly unrelated type QName. var name:QName = (elements[i] as XML).name();

I am not familiar with QName, i just 'fixed' it with var name:QName = new QName("TMX", (elements[i] as XML).name() );

i am using tiled 0.9.1

YopSolo avatar Aug 23 '14 22:08 YopSolo

Can't move to new issue, so responding here: What version of flash/SDK are you using? Are you using flex or air? Which version?

arkeus avatar Aug 24 '14 05:08 arkeus

I am using the current default sdk shiped with flash develop Flex 4.6.0 / Air 14.0

YopSolo avatar Aug 26 '14 10:08 YopSolo