Draw Sprites And Text Using Code?


#1

Hi,

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

Jesse


#2

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.