Debug-Draw - Lines, boxes, circles, etc

#1

I made a little module of convenience functions to help draw lines, shapes, and text for visual debugging. The render “draw_line” and “draw_text” messages are really long and cumbersome to type, so this wraps them up and makes things simple. It’s not an exhaustive shape-drawing library, just enough to draw a few different kinds of indicators and things.

You can use it as a library dependency with the following link, or just grab the lua file and drop it in your project wherever suits you.

https://github.com/rgrams/debug-draw/archive/master.zip

See the Readme on github for documentation (though it’s all pretty straightforward).

19 Likes

#2

Add it to our asset portal, it’s great and convenient :smiley:

2 Likes

#3

Yeah I know. :stuck_out_tongue: Since the dashboard’s going to be removed and the asset portal shuffled around in a few weeks I figured I might as well wait.

3 Likes