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
Isogenic Tile Map or IgeTiledComponent?
-
zaquanishak
- Posts: 53
- Joined: Mon Aug 26, 2013 1:54 am
Isogenic Tile Map or IgeTiledComponent?
zachz
Programmer
compass-interactive
Programmer
compass-interactive
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isogenic Tile Map or IgeTiledComponent?
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.
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.
-
zaquanishak
- Posts: 53
- Joined: Mon Aug 26, 2013 1:54 am
Re: Isogenic Tile Map or IgeTiledComponent?
Thanks coolbloke1324 for the explanation. Currently im studying the example to see how it works.
Regards,
zachz
Regards,
zachz
zachz
Programmer
compass-interactive
Programmer
compass-interactive
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isogenic Tile Map or IgeTiledComponent?
Cool. Let me know if you need any help. 
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Isogenic Tile Map or IgeTiledComponent?
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.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Isogenic Tile Map or IgeTiledComponent?
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)?coolbloke1324 wrote:The IgeTiledComponent is only used to read map data from a tiled-generated map.
The indelible lord of tl;dr
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isogenic Tile Map or IgeTiledComponent?
Yes indeed that is the tool I mean!Jackolantern wrote: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)?coolbloke1324 wrote:The IgeTiledComponent is only used to read map data from a tiled-generated map.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Isogenic Tile Map or IgeTiledComponent?
Oh nice! I have used Tiled and it is quite impressive 
The indelible lord of tl;dr