Hey, Yeah, that's how I'm using it now; as a component that fetches data. And I understand the benefits :) I had to add the raw data to the callback inside the IgeTiledComponent so that I could access it, though. And I modified the loadJson function so that it supports the json files straight out of...
Currently there are some limitations to the Tiled map support. A loaded map returns a bunch of layers instead of one map class with data like dimensions, layers, tilesets etc. Can't get layer widths / heights easily without hacking the engine. It only supports tilesets with the same tilesize as the ...
If I could render a viewport to texture after the map has loaded, I could make my own Minimap entity that could have it's own mouse events etc.
The map doesn't need to be redrawn each frame if I could just have it as an image.
Hi, thanks for the reply. 1 & 2) I've extended the engine a little bit to get access to the raw data from the Tiled maps. Regarding getting the position of the viewport using .screenPosition(), I ended up doing something like this to detect which viewport was pressed. // set up viewport self.min...
Hi I'm making an isometric game, using Tiled as a map editor. Currently I'm adding a minimap, and have come across a few things I'm wondering about. 1. how do i add a unique mouseDown function for each viewport? Right now they seem to override each other. 2. how do I get the correct screen position ...