Patter editing.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 18 Mar 2010 05:57:08 +0000 (22:57 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 18 Mar 2010 05:57:08 +0000 (22:57 -0700)
README.txt
bulletml/__init__.py
bulletml/parser.py
setup.py

index d491ba5..cd2a6d4 100644 (file)
@@ -1,17 +1,20 @@
 python-bulletml - BulletML for Python
 -------------------------------------
 
 python-bulletml - BulletML for Python
 -------------------------------------
 
-This module parses and runs BulletML scripts. BulletML is a markup
-language for describing complex bullet patterns in shooting games.
-More information is available at the BulletML homepage,
-http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html.
+BulletML is the Bullet Markup Language. BulletML can describe the
+barrage of bullets in shooting games. (For example Progear, Psyvariar,
+Gigawing2, G DARIUS, XEVIOUS, ...) This module parses and executes
+BulletML scripts in Python. All data structures in it are
+renderer-agnostic. A sample renderer for Pygame is included.
 
 
-The module code is renderer-agnostic. A sample renderer for Pygame is
-included.
+More information is available at the BulletML homepage,
+http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html, or the
+python-bullet homepage, http://code.google.com/p/python-bulletml/.
 
 $ ./bulletml-runner examples/*/*.xml
 
 
 $ ./bulletml-runner examples/*/*.xml
 
-Use Page Up and Page Down to switch between bullet definitions.
+Use Page Up and Page Down to switch between bullet definitions, S to
+respawn the bullet pattern, and Enter to restart it.
 
 
 Installing
 
 
 Installing
@@ -23,6 +26,8 @@ $ sudo ./setup.py install
 License
 -------
 
 License
 -------
 
+The BulletML specification is the work of Kenta Cho.
+
 All example BulletML files in the examples folder are released into
 the public domain. Everything else is covered by the following
 license:
 All example BulletML files in the examples folder are released into
 the public domain. Everything else is covered by the following
 license:
index d41422f..1e1dbcd 100644 (file)
@@ -1,9 +1,14 @@
 """BulletML parser.
 
 """BulletML parser.
 
-This module parses and runs BulletML scripts. BulletML is a markup
-language for describing complex bullet patterns in shooting games.
+BulletML is the Bullet Markup Language. BulletML can describe the
+barrage of bullets in shooting games. (For example Progear, Psyvariar,
+Gigawing2, G DARIUS, XEVIOUS, ...) This module parses and executes
+BulletML scripts in Python. All data structures in it are
+renderer-agnostic.
+
 More information is available at the BulletML homepage,
 More information is available at the BulletML homepage,
-http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html.
+http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html, or the
+python-bullet homepage, http://code.google.com/p/python-bulletml/.
 
 Basic Usage:
 
 
 Basic Usage:
 
@@ -20,7 +25,7 @@ Basic Usage:
 
     ...
 
 
     ...
 
-For drawing, you're on your own, but Bullet has a number of
+For drawing, you're on your own, but Bullet instances have a number of
 attributes that can be used to influence it.
 
 """
 attributes that can be used to influence it.
 
 """
index 62f00d4..5e73069 100644 (file)
@@ -21,6 +21,8 @@ except ImportError:
 from bulletml.errors import Error
 from bulletml.expr import NumberDef, INumberDef
 
 from bulletml.errors import Error
 from bulletml.expr import NumberDef, INumberDef
 
+__all_ = ["ParseError", "BulletML"]
+
 class ParseError(Error):
     """Raised when an error occurs parsing the XML structure."""
     pass
 class ParseError(Error):
     """Raised when an error occurs parsing the XML structure."""
     pass
index 2d32e72..17213c2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -46,12 +46,14 @@ if __name__ == "__main__":
           data_files=glob.glob("examples/*/*.xml") + ["examples/template.xml"],
           scripts=["bulletml-runner"],
           long_description="""\
           data_files=glob.glob("examples/*/*.xml") + ["examples/template.xml"],
           scripts=["bulletml-runner"],
           long_description="""\
-This module parses and runs BulletML scripts. BulletML is a markup
-language for describing complex bullet patterns in shooting games.
-More information is available at the BulletML homepage,
-http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html.
+BulletML is the Bullet Markup Language. BulletML can describe the
+barrage of bullets in shooting games. (For example Progear, Psyvariar,
+Gigawing2, G DARIUS, XEVIOUS, ...) This module parses and executes
+BulletML scripts in Python. All data structures in it are
+renderer-agnostic. A sample renderer for Pygame is included.
 
 
-The module code is renderer-agnostic. A sample renderer for Pygame is
-included.
+More information is available at the BulletML homepage,
+http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html, or the
+python-bullet homepage, http://code.google.com/p/python-bulletml/.
 """
           )
 """
           )