Hey,
I'm new to Godot. It looks great so far, except for one issue that I have (which is definitely due to the fact that I'm doing something wrong).
The thing is - my game will have a lot of custom drawn primitives, that I'll need to redraw every frame.
I found this example:
http://docs.godotengine.org/en/stable/tutorials/2d/custom_drawing_in_2d.html
which is exactly what I need. I got it to run, and everything was perfect, until I increased number of spinning polygons to 1000. I simply added FOR loop in the _draw function:
for i in range(1000):
draw_circle_arc_poly( center, radius, angle_from, angle_to, color )
and it dropped to 10-15 FPS.
How so ? What did I do wrong ?
Thank you for you help and insight.