Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -121,7 +121,7 @@
'display_version': True,
'logo_only': False,
'sticky_navigation': True,
'navigation_depth': 3,
'navigation_depth': 4,
'collapse_navigation': False,
}

Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/array_backed_grid.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _array_backed_grid:

Array-Backed Grid
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/array_backed_grid_buffered.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _array_backed_grid_buffered:

Array-Backed Grid Buffered
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/array_backed_grid_sprites_1.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _array_backed_grid_sprites_1:

Grid Using Sprites v1
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/array_backed_grid_sprites_2.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _array_backed_grid_sprites_2:

Grid Using Sprites v2
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/astar_pathfinding.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _astar_pathfinding:

A-Star Path Finding
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/asteroid_smasher.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _asteroid_smasher:

Asteroid Smasher
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/background_parallax.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _background_parallax:

Parallax
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/bouncing_rectangle.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _bouncing_rectangle:

Bouncing Rectangle
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/camera_platform.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _camera_platform:

Camera Use in a Platformer
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/controller.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _controller:

How To Get Connected Controllers
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/conway_alpha.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _conway_alpha:

Conway's Game of Life
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/drawing_primitives.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _drawing_primitives:

Drawing Primitives
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/drawing_text.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _drawing_text:

Slow but Easy Text Drawing
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/drawing_text_objects.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _drawing_text_objects:

Better Text Drawing with Text Objects
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/drawing_text_objects_batch.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _drawing_text_objects_batch:

The Fastest Text Drawing: pyglet Batches
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/dual_stick_shooter.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _dual_stick_shooter:

Dual Stick Shooter
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/easing_example_1.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _easing_example_1:

Easing Example 1
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/easing_example_2.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _easing_example_2:

Easing Example 2
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/follow_path.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _follow_path:

Sprites That Follow a Path
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/full_screen_example.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _full_screen_example:

Full Screen Example
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/game_of_life_fbo.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _game_of_life_fbo:

Game of Life with Frame Buffers
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gradients.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gradients:

Gradients Example
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_flat_button.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_flat_button:

Flat Text Buttons
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_flat_button_styled.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_flat_button_styled:

Flat Text Button Styled
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_ok_messagebox.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_ok_messagebox:

OK Message Box
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_scrollable_text.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_scrollable_text:

GUI Scrollable Text
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_slider.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_slider:

GUI Slider
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/gui_widgets.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _gui_widgets:

GUI Widgets
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/happy_face.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _happy_face:

Happy Face
Expand Down
27 changes: 19 additions & 8 deletions doc/example_code/index.rst
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,6 +3,17 @@
Examples
========

.. Partly solve https://github.com/pythonarcade/arcade/issues/2274
.. via globbing support in Sphinx toctrees to exclude this file

.. toctree::
:glob:
:hidden:
:maxdepth: 1

[a-h]*
[j-z]*


Starting Templates
------------------
Expand All@@ -19,11 +30,11 @@ Starting Templates

:ref:`template_platformer`

Primitives
----------
Drawing Shapes
--------------

Drawing Primitives
^^^^^^^^^^^^^^^^^^
Basic Shape Drawing
^^^^^^^^^^^^^^^^^^^

.. figure:: images/thumbs/happy_face.png
:figwidth: 170px
Expand DownExpand Up@@ -55,8 +66,8 @@ Drawing Primitives

:ref:`drawing_text_objects_batch`

Animating Drawing Primitives
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Animating Basic Shape Drawing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. figure:: images/thumbs/bouncing_rectangle.png
:figwidth: 170px
Expand DownExpand Up@@ -84,8 +95,8 @@ Animating Drawing Primitives

.. _shape-element-lists:

Faster Drawing with ShapeElementLists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Faster Shapes with ShapeElementLists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. figure:: images/thumbs/shape_list_demo.png
:figwidth: 170px
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/light_demo.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _light_demo:

Lighting Demo
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/line_of_sight.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _line_of_sight:

Line of Sight
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/lines_buffered.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _lines_buffered:

Using a Vertex Buffer Object With Lines
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/maze_depth_first.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _maze_depth_first:

Creating a Depth First Maze
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/maze_recursive.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _maze_recursive:

Creating a Recursive Maze
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/minimap.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _minimap:

Mini-Map
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/music_control_demo.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _music_control_demo:

Music Control Demo
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/normal_mapping.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _normal_mapping:

Normal Mapping
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/particle_fireworks.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _particle_fireworks:

Particle System - Fireworks
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/particle_systems.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _particle_systems:

Particle Systems
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/performance_statistics.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _performance_statistics_example:

Performance Statistics
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/perspective.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _perspective:

Perspective
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/procedural_caves_bsp.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _procedural_caves_bsp:

Procedural Caves - Binary Space Partitioning
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/procedural_caves_cellular.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _procedural_caves_cellular:

Procedural Caves - Cellular Automata
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/pymunk_box_stacks.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _pymunk_box_stacks:

Pymunk Physics Engine - Stacks of Boxes
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/pymunk_demo_top_down.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _pymunk_demo_top_down:

Pymunk Demo - Top Down
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/pymunk_joint_builder.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _pymunk_joint_builder:

Pymunk Physics Engine - Joint Builder
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/pymunk_pegboard.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _pymunk_pegboard:

Pymunk Physics Engine - Pegboard
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/radar_sweep.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _radar_sweep:

Radar Sweep
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/resizable_window.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _resizable_window:

Resizable Window
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/sections_demo_1.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _sections_demo_1:

Sections Demo 1
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/sections_demo_2.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _sections_demo_2:

Sections Demo 2
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/sections_demo_3.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _sections_demo_3:

Sections Demo 3
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/shape_list_demo.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _shape_list_demo:

ShapeElementList Explanation
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/shape_list_demo_skylines.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _shape_list_demo_skylines:

Shape List - Skylines
Expand Down
2 changes: 0 additions & 2 deletions doc/example_code/shapes.rst
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
:orphan:

.. _shapes-slow:

Bouncing Shapes
Expand Down
Loading