arcade icon indicating copy to clipboard operation
arcade copied to clipboard

hope add (draw() function in spirit Type)

Open Secret-Dumplings opened this issue 6 months ago • 1 comments

Secret-Dumplings avatar Jun 14 '25 21:06 Secret-Dumplings

You are probably looking for https://api.arcade.academy/en/latest/api_docs/api/drawing_primitives.html#arcade.draw_sprite Sprite.draw() was removed in 3.0 to promote using SpriteList instead. Arcade sprites are not really drawable as single entities but we did provide this new function as a fallback.

It's NOT recommended to draw single sprites unless you are just doing a few of them. SpriteList is the way to go. It can draw 1 million static sprites and around 3500 moving sprites at 60 fps.

Arcade is a GPU-based library and we need to adapt to that reality. Lots of small draw calls is a performance killer.

einarf avatar Jun 14 '25 22:06 einarf

It has been one week with no response. Closing for now.

einarf avatar Jun 21 '25 08:06 einarf