Open mrmalee opened 12 years ago
Could you draw a mockup of what these lines are supposed to look like?
Did you look at the Tiled source code to see whether you may be able to add this feature yourself?
Sure, http://boxofsoap.com/work/gamedev/tiled/tiled_line_normals.jpg I'd imagine that from the settings window you can toggle a checkbox "draw line normals". I'd also imagine that the size of the normal's would be defined as something like 10% of the lines length or a fixed value. I'd love to try add the code myself but I'm unfamiliar with C++ and the QT framework and also very busy with my current project.
Hmm, your URL isn't working for me.
Ah, that also explains why you need the normal. Well, I guess it shouldn't be too hard to add. Maybe I will find some time after the 0.8 release.
Hi mrmalee. If you get my version of tiled, you can try out drawing of normals on polylines and polygons. It just draws them by default.
Sorry to resurrect an old post, but this is a feature I would like/need. I'd try adding it myself, but I can't write C++.
@jamesrehabstudio I'll just note that @MegaJiXiang implemented this feature for orthogonal maps in MegaJiXiang/tiled@7c391f4f184cb74f1e38bbb4ab1fba97b62c923e. Eventually this feature will make it into Tiled, but I wouldn't wait for it (though I would of course support me on Patreon to help me get around to it earlier :-)).
Hi, first off its great that Tiled now has polyline and polygon objects, however, I really need to know what direction my lines are facing, if there could be an option to draw line normals (front and perpendicular) that would make my life so much easier. Right now, I build my lines, compile my game and have to fix up any lines that don't face my desired direction. If I could see this in Tiled I wouldn't have to go through this tedious task.
Thanks.