diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-17 20:30:34 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-17 20:30:34 -0400 |
commit | 940a51456bcd886e5aaf6c83adecc97f5b16cbaf (patch) | |
tree | 26e206250659e0b6c17208f3b2ca53f84fc21a1c | |
parent | 7aad8c3f17cf180bd16d018f6c3b34fe6f1dc84c (diff) |
Fix README formatting.
-rw-r--r-- | README.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -66,7 +66,7 @@ Sprites encapsulate the presentation of a image or a region of an image. The simplest way to get started with sprites is to use the - `load-sprite` procedure. All arguments except the filename are + =load-sprite= procedure. All arguments except the filename are optional keyword arguments. #+BEGIN_SRC scheme @@ -75,7 +75,7 @@ #+END_SRC Alternatively, you can make a sprite from an existing texture. The - same keyword arguments in `load-sprite` are also available here. + same keyword arguments in =load-sprite= are also available here. #+BEGIN_SRC scheme (define texture @@ -100,7 +100,7 @@ sprites to the GPU in large chunks. To take advantage of this, create a sprite batch and use - `with-sprite-batch`. All calls to `draw-sprite` will use the + =with-sprite-batch=. All calls to =draw-sprite= will use the sprite batch within this form. #+BEGIN_SRC scheme @@ -131,12 +131,12 @@ Coroutines are procedures that can be exited at any point and resumed later. - It would be nice if after every call to `walk`, the NPC would wait + It would be nice if after every call to =walk=, the NPC would wait for one second before taking its next step. This is where the agenda comes in. The agenda is used to schedule procedures to be run after an arbitrary number of game updates (1 by default). Since coroutines and the agenda go hand in hand, there - exists a `wait` procedure to pause a coroutine and schedule it to + exists a =wait= procedure to pause a coroutine and schedule it to be resumed later. Using a coroutine and the agenda, the NPC script can be rewritten |