#how to draw text on screen
5 messages · Page 1 of 1 (latest)
Every little thing i wanna do in this engine i first have to appease the OOP gods in hopes that they will let me do what i want to do
Actually, you can, sort of. You can just have a single CanvasItem node and override its _draw method. I'm still somewhat unsure why you want to avoid using the node system though, since it is the main way of doing such things.
Inherits: Node< Object Inherited By: Control, Node2D Abstract base class for everything in 2D space. Description: Abstract base class for everything in 2D space. Canvas items are laid out in a tree...
It seems super convoluted. Feels like a ton of administrative paper work. It would probably cause a ton of bugs for me also
Do you prefer immediate-mode UI frameworks? I think _draw is the closest thing to that then.