You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
It would be nice if I could set a function's debug draw function similar to scene:drawBackground. The color could also be set like scene.debugColor, (and then pd.setDebugDrawColor(r, g, b, a)) so it's like background.
Describe alternatives you've considered
I could add it my own, and rn I'm going to do it by manually adding it in my scene:enter and scene:exit for my base scene
What problems would this solve or help prevent, if any
It would be cool, and I'm adding a debug system menu toggle that I want to use. Having a
Additional context
Here's what I'm currently doing in my BaseScene.lua:
Describe the feature
It would be nice if I could set a function's debug draw function similar to
scene:drawBackground
. The color could also be set likescene.debugColor
, (and thenpd.setDebugDrawColor(r, g, b, a)
) so it's like background.Describe alternatives you've considered
I could add it my own, and rn I'm going to do it by manually adding it in my
scene:enter
andscene:exit
for my base sceneWhat problems would this solve or help prevent, if any
It would be cool, and I'm adding a debug system menu toggle that I want to use. Having a
Additional context
Here's what I'm currently doing in my
BaseScene.lua
:The text was updated successfully, but these errors were encountered: