Browse Source

Added demos/ folder for demos documentation.

Julian Murgia - StraToN 9 years ago
parent
commit
b27e21a85c
56 changed files with 167 additions and 0 deletions
  1. 167 0
      demos/2d/area_input.rst
  2. 0 0
      demos/2d/dynamic_collision_shapes.rst
  3. 0 0
      demos/2d/fog_of_war.rst
  4. 0 0
      demos/2d/hdr.rst
  5. 0 0
      demos/2d/hexamap.rst
  6. 0 0
      demos/2d/isometric.rst
  7. 0 0
      demos/2d/isometric_light.rst
  8. 0 0
      demos/2d/kinematic_char.rst
  9. 0 0
      demos/2d/kinematic_col.rst
  10. 0 0
      demos/2d/light_mask.rst
  11. 0 0
      demos/2d/lights_shadows.rst
  12. 0 0
      demos/2d/lookat.rst
  13. 0 0
      demos/2d/motion.rst
  14. 0 0
      demos/2d/navpoly.rst
  15. 0 0
      demos/2d/normalmaps.rst
  16. 0 0
      demos/2d/particles.rst
  17. 0 0
      demos/2d/platformer.rst
  18. 0 0
      demos/2d/polygon_path_finder.rst
  19. 0 0
      demos/2d/polygon_path_finder_demo.rst
  20. 0 0
      demos/2d/pong.rst
  21. 0 0
      demos/2d/rubegoldberg.rst
  22. 0 0
      demos/2d/screen_space_shaders.rst
  23. 0 0
      demos/2d/sdf_font.rst
  24. 0 0
      demos/2d/shower_of_bullets.rst
  25. 0 0
      demos/2d/space_shooter.rst
  26. 0 0
      demos/2d/splash.rst
  27. 0 0
      demos/2d/sprite_shaders.rst
  28. 0 0
      demos/2d/tetris.rst
  29. 0 0
      demos/2d/texscreen.rst
  30. 0 0
      demos/3d/fixed_materials.rst
  31. 0 0
      demos/3d/kinematic_char.rst
  32. 0 0
      demos/3d/mousepick_test.rst
  33. 0 0
      demos/3d/navmesh.rst
  34. 0 0
      demos/3d/platformer.rst
  35. 0 0
      demos/3d/polygon_path_finder.rst
  36. 0 0
      demos/3d/sat_test.rst
  37. 0 0
      demos/3d/shader_materials.rst
  38. 0 0
      demos/3d/truck_town.rst
  39. 0 0
      demos/gui/drag_and_drop.rst
  40. 0 0
      demos/gui/input_mapping.rst
  41. 0 0
      demos/gui/rich_text_bbcode.rst
  42. 0 0
      demos/gui/translation.rst
  43. 0 0
      demos/misc/autoload.rst
  44. 0 0
      demos/misc/instancing.rst
  45. 0 0
      demos/misc/joysticks.rst
  46. 0 0
      demos/misc/pause.rst
  47. 0 0
      demos/misc/regex.rst
  48. 0 0
      demos/misc/scene_changer.rst
  49. 0 0
      demos/misc/threads.rst
  50. 0 0
      demos/misc/tween.rst
  51. 0 0
      demos/misc/udp_chat.rst
  52. 0 0
      demos/misc/window_management.rst
  53. 0 0
      demos/viewport/2d_in_3d.rst
  54. 0 0
      demos/viewport/3d_in_2d.rst
  55. 0 0
      demos/viewport/gui_in_3d.rst
  56. 0 0
      demos/viewport/screen_capture.rst

+ 167 - 0
demos/2d/area_input.rst

@@ -0,0 +1,167 @@
+
+Area Input
+==========
+
+Objectives of the demo
+----------------------
+
+
+Bullet Lists
+------------
+
+====
+
+
+
+
+Bullet lists:
+
+- This is item 1
+- This is item 2
+
+- Bullets are "-", "*" or "+".
+  Continuing text must be aligned
+  after the bullet and whitespace.
+
+* bullet
++ different bullet.
+  
+Note that a blank line is required
+before the first item and after the
+last, but is optional between items. 
+
+Enumerated Lists
+----------------
+
+Enumerated lists:
+
+3. This is the first item
+4. This is the second item
+5. Enumerators are arabic numbers,
+   single letters, or roman numerals
+6. List items should be sequentially
+   numbered, but need not start at 1
+   (although not all formatters will
+   honour the first index).
+#. This item is auto-enumerated 
+
+Field Lists
+-----------
+
+:Authors:
+    Tony J. (Tibs) Ibbs,
+    David Goodger
+
+    (and sundry other good-natured folks)
+
+:Version: 1.0 of 2001/08/08
+:Dedication: To my father. 
+
+Line Blocks
+-----------
+
+| Line blocks are useful for addresses,
+| verse, and adornment-free lists.
+|
+| Each new line begins with a
+| vertical bar ("|").
+|     Line breaks and initial indents
+|     are preserved.
+| Continuation lines are wrapped
+  portions of long lines; they begin
+  with spaces in place of vertical bars.
+|
+
+
+Tables
+------
+
+Grid table:
+
++------------+------------+-----------+
+| Header 1   | Header 2   | Header 3  |
++============+============+===========+
+| body row 1 | column 2   | column 3  |
++------------+------------+-----------+
+| body row 2 | Cells may span columns.|
++------------+------------+-----------+
+| body row 3 | Cells may  | - Cells   |
++------------+ span rows. | - contain |
+| body row 4 |            | - blocks. |
++------------+------------+-----------+
+
+Simple table:
+
+=====  =====  ======
+   Inputs     Output
+------------  ------
+  A      B    A or B
+=====  =====  ======
+False  False  False
+True   False  True
+False  True   True
+True   True   True
+=====  =====  ======
+
+Transitions
+-----------
+
+ A transition marker is a horizontal line
+of 4 or more repeated punctuation
+characters.
+
+------------
+
+A transition should not begin or end a
+section or document, nor should two
+transitions be immediately adjacent. 
+
+===============
+Explicit Markup
+===============
+
+Hyperlink Targets
+-----------------
+
+External hyperlinks, like Python_.
+
+.. _Python: http://www.python.org/ 
+
+External hyperlinks, like `Python
+<http://www.python.org/>`_.
+
+Internal crossreferences, like example_.
+
+.. _example:
+
+This is an example crossreference target. 
+
+Python_ is `my favourite
+programming language`__.
+
+.. _Python: http://www.python.org/
+
+__ Python_ 
+
+
+Directives
+----------
+
+For instance:
+
+.. image:: images/ball1.gif 
+
+.. code:: python
+
+ def my_function():
+     "just a test"
+     print 8/2
+
+.. |date| date::
+.. |time| date:: %H:%M
+
+Today's date is |date|.
+
+This document was generated on |date| at |time|.
+
+end of file...

+ 0 - 0
demos/2d/dynamic_collision_shapes.rst


+ 0 - 0
demos/2d/fog_of_war.rst


+ 0 - 0
demos/2d/hdr.rst


+ 0 - 0
demos/2d/hexamap.rst


+ 0 - 0
demos/2d/isometric.rst


+ 0 - 0
demos/2d/isometric_light.rst


+ 0 - 0
demos/2d/kinematic_char.rst


+ 0 - 0
demos/2d/kinematic_col.rst


+ 0 - 0
demos/2d/light_mask.rst


+ 0 - 0
demos/2d/lights_shadows.rst


+ 0 - 0
demos/2d/lookat.rst


+ 0 - 0
demos/2d/motion.rst


+ 0 - 0
demos/2d/navpoly.rst


+ 0 - 0
demos/2d/normalmaps.rst


+ 0 - 0
demos/2d/particles.rst


+ 0 - 0
demos/2d/platformer.rst


+ 0 - 0
demos/2d/polygon_path_finder.rst


+ 0 - 0
demos/2d/polygon_path_finder_demo.rst


+ 0 - 0
demos/2d/pong.rst


+ 0 - 0
demos/2d/rubegoldberg.rst


+ 0 - 0
demos/2d/screen_space_shaders.rst


+ 0 - 0
demos/2d/sdf_font.rst


+ 0 - 0
demos/2d/shower_of_bullets.rst


+ 0 - 0
demos/2d/space_shooter.rst


+ 0 - 0
demos/2d/splash.rst


+ 0 - 0
demos/2d/sprite_shaders.rst


+ 0 - 0
demos/2d/tetris.rst


+ 0 - 0
demos/2d/texscreen.rst


+ 0 - 0
demos/3d/fixed_materials.rst


+ 0 - 0
demos/3d/kinematic_char.rst


+ 0 - 0
demos/3d/mousepick_test.rst


+ 0 - 0
demos/3d/navmesh.rst


+ 0 - 0
demos/3d/platformer.rst


+ 0 - 0
demos/3d/polygon_path_finder.rst


+ 0 - 0
demos/3d/sat_test.rst


+ 0 - 0
demos/3d/shader_materials.rst


+ 0 - 0
demos/3d/truck_town.rst


+ 0 - 0
demos/gui/drag_and_drop.rst


+ 0 - 0
demos/gui/input_mapping.rst


+ 0 - 0
demos/gui/rich_text_bbcode.rst


+ 0 - 0
demos/gui/translation.rst


+ 0 - 0
demos/misc/autoload.rst


+ 0 - 0
demos/misc/instancing.rst


+ 0 - 0
demos/misc/joysticks.rst


+ 0 - 0
demos/misc/pause.rst


+ 0 - 0
demos/misc/regex.rst


+ 0 - 0
demos/misc/scene_changer.rst


+ 0 - 0
demos/misc/threads.rst


+ 0 - 0
demos/misc/tween.rst


+ 0 - 0
demos/misc/udp_chat.rst


+ 0 - 0
demos/misc/window_management.rst


+ 0 - 0
demos/viewport/2d_in_3d.rst


+ 0 - 0
demos/viewport/3d_in_2d.rst


+ 0 - 0
demos/viewport/gui_in_3d.rst


+ 0 - 0
demos/viewport/screen_capture.rst