Draw Sprites And Text Using Code?



How would we draw sprites and text using code?
Let us know, thanks!



You can do it with buffers but it’s kind of complicated. There are a couple of assets in the defoldmine you could use as a reference.

It would be easier to know what you are trying to do. Probably what you want to be using are GOs with sprites attached to them and GOs with labels attached to them. And then create/destroy/move them as needed.