Hi guys! I want to create platformer level using Tiled. Okey, here we importing in Tiled an image (sheet with tiles), drawing our level with ground, water, platforms.
We have pieces in our tileset to make our platforms wider and shorter assembling them with corner/center/transit tiles. And now we need physics! So we adding «bodyType = string static» + «bounce float / friction float» custom properties to our layer, exporting, starting and …nothing works.
In hybrid mode we can see no platforms physics added from map. Why? As I understand by adding in Tiled layer custom properties we can simply make every tile for example static rectangle physics body.
Hmmm, maybe physics added by Tiled works ONLY for OBJECTS in ponywolf plugin? Seems that isn’t true because this way you will not be able to create thousands of various platforms on the fly but only few types with predefined shape by assembling each platform from tiles in a single image of an object.
Here is a link where this is realized and working
https://www.youtube.com/watch?v=AAAtDCegMBc&t=26s
I tried same and got nothing. Can someone show me what I’m doing wrong? This is very good idea to implement physics from map file and it will be so sad to code my own level editor from begining while there is a good one )
And the second question is: how about physics for non-rectangular tiles?