FlxTilemap debug draw
Hello, forum dwellers!
How about changing the default FlxTilemap debug draw to exclude the blue uncolliding tiles? They are always only bothering me :-) For comparison (I have several FlxTilemap layers imported from Tiled):
I could make a PR, but I'm not sure if I should cut the blue rects entirely, provide a Bool compatibility variable, or FlxColor one, or does someone have a better idea?
I think a bool to hide blue rects, set to true by default, would make sense.
Here's the PR:
For those interested, while still working on the proper PR, I invented some fancy debug draw:-)
You can't pass from the side of a green line, but can do it if at first crossing a pink one. This is for complex allowCollisions flags
@starry-abyss That's awesome! Kinda odd that nobody has thought of visualizing allowCollisions before lol.
@Ohmnivore Thanks, you can take part in our little discussion at PR page
If someone wants the fancy debug draw example code (and to survive a git reset ;-)):
I think I'll return to it later, when the project will use more of custom colliding tiles. Feel free to share your debug draw code as well ;-)