Closed stemvork closed 3 years ago
Hello,
I don't think this warning is really important (I have it too in my perfectly functional project).
However, you should precise the position of your label, like that :
import wasabi2d as w
s = w.Scene()
s.background = 0.5, 0.5, 0.5
your_label = s.layers[0].add_label("test", pos=(s.width // 2, s.height // 2))
w.run()
Dunno what is the default position, probably off screen.
Thank you for clarifying my error. I didn't realise the absence of position in my test.
It works in my project, next step is figuring out a decent way to position the text centered in a box.
The following code
does not draw text and yields the following warning:
Seeking help as to what is going on and how to fix it.
Kind regards, stemvork