Skip to content

Commit

Permalink
Fix sprite sidebar 1878 (#2005)
Browse files Browse the repository at this point in the history
* fixed the header levels in the sprite doc
changed doc subsection header
renamed old subsection

* Revert "fixed the header levels in the sprite doc"

This reverts commit e2c8b46.

* Revert "Revert "fixed the header levels in the sprite doc""

This reverts commit c2dcc0f.
  • Loading branch information
sabadam32 committed Mar 3, 2024
1 parent da23bc6 commit e3d1577
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arcade-dev
15 changes: 9 additions & 6 deletions doc/programming_guide/sprites/spritelists.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.. _pg_spritelists:

Drawing with Sprites and SpriteLists
------------------------------------

What's a Sprite?
----------------
^^^^^^^^^^^^^^^^

Each sprite describes where a game object is & how to draw it. This includes:

Expand All @@ -16,12 +19,12 @@ sprites to the screen.
.. _pg_spritelists_why:

Why SpriteLists?
----------------
^^^^^^^^^^^^^^^^

.. _pg_spritelists_why_hardware:

They're How Hardware Works
^^^^^^^^^^^^^^^^^^^^^^^^^^
""""""""""""""""""""""""""

Graphics hardware is designed to draw groups of objects at the same time.
These groups are called **batches**.
Expand All @@ -38,7 +41,7 @@ should avoid trying to draw sprites one at a time.
.. _pg_spritelists_why_faster_dev:

They Help Develop Games Faster
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
""""""""""""""""""""""""""""""

Sprite lists do more than just draw. They also have built-in features which save
you time & effort, including:
Expand All @@ -50,8 +53,8 @@ you time & effort, including:

.. _pg_spritelists_minimal_sprite_drawing:

Drawing with Sprites and SpriteLists
------------------------------------
Using Sprites and SpriteLists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Let's get to the example code.

Expand Down

0 comments on commit e3d1577

Please sign in to comment.