Search found 8 matches

by seltar
Tue Oct 22, 2013 4:14 pm
Forum: HTML5/Web Engines
Topic: Tiled maps missing features and limitations
Replies: -1
Views: 1053

Re: Tiled maps missing features and limitations

robaldred:
I'd be really interested in that actually :)
by seltar
Mon Oct 14, 2013 6:13 pm
Forum: HTML5/Web Engines
Topic: Tiled maps missing features and limitations
Replies: -1
Views: 1053

Re: Tiled maps missing features and limitations

I'll look into commiting some changes sometime this week, but I'll need to test a bit to see if it's breaking anything else first :)
by seltar
Mon Oct 14, 2013 5:09 pm
Forum: HTML5/Web Engines
Topic: Tiled maps missing features and limitations
Replies: -1
Views: 1053

Re: Tiled maps missing features and limitations

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...
by seltar
Mon Oct 14, 2013 3:01 pm
Forum: HTML5/Web Engines
Topic: Tiled maps missing features and limitations
Replies: -1
Views: 1053

Tiled maps missing features and limitations

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 ...
by seltar
Mon Oct 14, 2013 11:33 am
Forum: HTML5/Web Engines
Topic: Viewports, minimaps, and questions
Replies: -1
Views: 724

Re: Viewports, minimaps, and questions

Thank you so much! :)
by seltar
Fri Oct 11, 2013 1:14 pm
Forum: HTML5/Web Engines
Topic: Viewports, minimaps, and questions
Replies: -1
Views: 724

Re: Viewports, minimaps, and questions

Although, I might be overcomplicating things.

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.
by seltar
Fri Oct 11, 2013 12:51 pm
Forum: HTML5/Web Engines
Topic: Viewports, minimaps, and questions
Replies: -1
Views: 724

Re: Viewports, minimaps, and questions

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...
by seltar
Wed Oct 09, 2013 1:56 pm
Forum: HTML5/Web Engines
Topic: Viewports, minimaps, and questions
Replies: -1
Views: 724

Viewports, minimaps, and questions

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 ...

Go to advanced search