Isogenic Tile Map or IgeTiledComponent?

All things HTML5 or text based engines, or really any web based engines.
Post Reply
zaquanishak
Posts: 53
Joined: Mon Aug 26, 2013 1:54 am

Isogenic Tile Map or IgeTiledComponent?

Post 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
zachz
Programmer
compass-interactive
User avatar
coolbloke1324
Posts: 181
Joined: Mon Jan 23, 2012 5:20 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post 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. :)
CEO & Lead Developer
Irrelon Software Limited
http://www.isogenicengine.com
zaquanishak
Posts: 53
Joined: Mon Aug 26, 2013 1:54 am

Re: Isogenic Tile Map or IgeTiledComponent?

Post by zaquanishak »

Thanks coolbloke1324 for the explanation. Currently im studying the example to see how it works.

Regards,
zachz
zachz
Programmer
compass-interactive
User avatar
coolbloke1324
Posts: 181
Joined: Mon Jan 23, 2012 5:20 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post by coolbloke1324 »

Cool. Let me know if you need any help. :)
CEO & Lead Developer
Irrelon Software Limited
http://www.isogenicengine.com
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post 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.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post 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)?
The indelible lord of tl;dr
User avatar
coolbloke1324
Posts: 181
Joined: Mon Jan 23, 2012 5:20 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post 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! :)
CEO & Lead Developer
Irrelon Software Limited
http://www.isogenicengine.com
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Isogenic Tile Map or IgeTiledComponent?

Post by Jackolantern »

Oh nice! I have used Tiled and it is quite impressive :D
The indelible lord of tl;dr
Post Reply

Return to “HTML5/Web Engines”