Browse Source

Merge pull request #2105 from clayjohn/custom_drawing

Removed reference to shower of bullets demo
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
7df2e73626
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      tutorials/2d/custom_drawing_in_2d.rst

+ 3 - 4
tutorials/2d/custom_drawing_in_2d.rst

@@ -25,10 +25,9 @@ examples why:
 -  Visualizations that are not that compatible with nodes: (example: a
    tetris board). The tetris example uses a custom draw function to draw
    the blocks.
--  Managing drawing logic of a large amount of simple objects (in the
-   hundreds of thousands). Using a thousand nodes is probably not nearly
-   as efficient as drawing, but a thousand draw calls are cheap;
-   take the "Shower of Bullets" demo as an example.
+-  Drawing a large number of simple objects. Custom drawing avoids the
+   overhead of using nodes which makes it less memory intensive and 
+   potentially faster.
 -  Making a custom UI control. There are plenty of controls available,
    but it's easy to run into the need to make a new, custom one.