Page 1 of 1

Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 3:22 am
by zaquanishak
Hi,
Can anyone explain to me the different between using tile map and using component IgeTiledComponent? Because from the example i see using tile map i can attach mouse event to get the tileX and tileY, but im not sure if im using IgeTiledComponent. Because currently im using igeTiledComponent to load from the json file but i do not know how do i get the tileX and tileY to attach to the mouse event.

Thanks in advance.

Regards,
Zachz

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 10:31 am
by coolbloke1324
Hey Zachz,

The IgeTiledComponent is only used to read map data from a tiled-generated map.

IgeTileMap is a class that exposes methods to use in tile-based games like assigning data to a tile etc. Tile map data can also be used to generate A* paths.

The IgeTiledComponent will read a tiled map and convert each layer into data that you can read in your game.

Can you show me how you are using the IgeTiledComponent at the moment and I will show you how to access the tile data and use it correctly. :)

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 10:52 am
by zaquanishak
Thanks coolbloke1324 for the explanation. Currently im studying the example to see how it works.

Regards,
zachz

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 1:13 pm
by coolbloke1324
Cool. Let me know if you need any help. :)

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 1:57 pm
by hallsofvallhalla
I actually haven't had time to dig into any of the tile or map stuff yet. Still buried in the code but thanks for the answer as I plan on moving onto that soon.

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 7:55 pm
by Jackolantern
coolbloke1324 wrote:The IgeTiledComponent is only used to read map data from a tiled-generated map.
Are you referring to maps made with the editor Tiled (I really wish the author of that awesome tile map editor gave it a more complex name, as it has been the source of lots of confusion in the indie community lol)?

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Mon Aug 26, 2013 9:03 pm
by coolbloke1324
Jackolantern wrote:
coolbloke1324 wrote:The IgeTiledComponent is only used to read map data from a tiled-generated map.
Are you referring to maps made with the editor Tiled (I really wish the author of that awesome tile map editor gave it a more complex name, as it has been the source of lots of confusion in the indie community lol)?
Yes indeed that is the tool I mean! :)

Re: Isogenic Tile Map or IgeTiledComponent?

Posted: Tue Aug 27, 2013 1:05 am
by Jackolantern
Oh nice! I have used Tiled and it is quite impressive :D