Drawing in defold


Hello. I’ve been learning defold for not too long, but I’ve been a js web developer for a long time. There I created a small example of a “drawing” game. I want to do the same in defold, but I can’t think of the best way to do it. in js I did it with the help of 2 sprites (circle and square) with angle and width changes. But in defold this method will be ineffective, because after 2-3 seconds of drawing on the screen more than a hundred game objects.

Try the DrawPixels extension:

This will basically give you a pixel canvas where you can draw.

3 Likes