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
These are not issues but I couldn't understand how to handle a few scenarios. Just need an help.
I'm trying to use this as a drawing some debug drawings on the screen. Since Defold can't draw expect for a line this might come very very handy. It works fine when we obey the rules. I would like to improve my use case, but I have a few problems which I don't know how to solve. Actually debug drawing shouldn't be a thing to spend on time for. Since it is for quick testing. If it is not going to work, I prefer to use dummy sprites.
Lets say I would like to use defold-orthographic and it is center is 0,0. But we have to position the buffer sprite from 0.0 as in the example, it should be centered to 512 x 1024. So there is no way to draw from, let say '-100x-100' to '-50x-50'. Values always has to be positive. How can I handle this situation?
I couldn't manage to use this canvas properly when using build-in camera for 3d. I have to move the camera far far away to see the rendered texture(like z: -120). I didn't investigate it much but I can share a repo case. I know this is not the use case of this lib but it would be super useful if we can draw stuff for debugging.
The text was updated successfully, but these errors were encountered:
Lets say I would like to use defold-orthographic and it is center is 0,0. But we have to position the buffer sprite from 0.0 as in the example, it should be centered to 512 x 1024. So there is no way to draw from, let say '-100x-100' to '-50x-50'. Values always has to be positive. How can I handle this situation?
If you convert from world to screen space coordinates using the camera view and project and have your canvas in screen space (bottom left being 0,0) then it shouldn't be a problem.
These are not issues but I couldn't understand how to handle a few scenarios. Just need an help.
I'm trying to use this as a drawing some debug drawings on the screen. Since Defold can't draw expect for a line this might come very very handy. It works fine when we obey the rules. I would like to improve my use case, but I have a few problems which I don't know how to solve. Actually debug drawing shouldn't be a thing to spend on time for. Since it is for quick testing. If it is not going to work, I prefer to use dummy sprites.
The text was updated successfully, but these errors were encountered: