Many enhancements and some needed fixes.#31
Many enhancements and some needed fixes.#31stvoidmain wants to merge 10 commits intoHaxePunk:masterfrom
Conversation
…and tilesets reside.
…Tiled Fixed 'y': Tiled uses wrong row number when object has tile association. Added autoloading of tile image when set has its image loaded. Fixed type when object hast tile association (can be set in tile) Added Polygon to masks.
Added autoLoadImage. Added loading of external tileset (need to configure the assets prefix in TmxMap) Added parsing of object collisions that can be set up in Tiled "Tile Collision editor". Added image autoloading. Fixed getRect, was returning 0 width/height.
…ecified layers and, optionally, collision info to generate masks.
|
Hi! Will you be able to provide a README for your fork of this repo? I tried to overwrite my old copy (from this one) with yours and it produced a good amount of errors. Thanks! |
|
I don't understand why that happens to you, are you able to replace your copy with master branch from original project? Because nothing introduced here shoud produce errors... |
|
@ShedoSurashu Could you post the errors you get? |
|
@ibilon Here you go: |
|
Well, that explains it, you're not using latest HaxePunk... |
|
@stvoidmain I just got what was on the website available for download. |
|
I did the update against HaxePunk from git, that should explain why the 2014-05-30 14:53 GMT-03:00 Shedo Chung-Hee Surashu <notifications@github.com
|
|
Umm okay, so what do I need to do then? (Pretty new to HaXe and HaxePunk in general) |
|
http://haxepunk.com/documentation/tutorials/getting-started/ 2014-05-30 14:59 GMT-03:00 Shedo Chung-Hee Surashu <notifications@github.com
|
Most important: Added 'loadGraphics', function to autoload all tileset graphics in specified layers without the need to pass tilesheet path and, optionally, collision info to generate masks.