Is there a tutorial that shows you how to drawing shapes in defold

I’m a newbie in game development . I’ve chosen defold as my tool for making games. I’d like to draw a simple shape in the game engine but i’m not sure how to do that.

Defold is sprite oriented, You have to adjust if you are coming from engines/frameworks which has a drawing canvas.

There are good examples here.

What kind of shape? Like @kiprono said, can you use a sprite?

If you really want something similar to a canvas then take a look at the DrawPixels extension: https://defold.com/assets/drawpixels/

1 Like

a circle shape

I’m totally new to all this… I’ve already got up to speed with lua I just wasn’t sure how to use it in the engine.

You don’t draw things from code with Defold (generally speaking).

2 Likes