summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-17 20:30:34 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-17 20:30:34 -0400
commit940a51456bcd886e5aaf6c83adecc97f5b16cbaf (patch)
tree26e206250659e0b6c17208f3b2ca53f84fc21a1c
parent7aad8c3f17cf180bd16d018f6c3b34fe6f1dc84c (diff)
Fix README formatting.
-rw-r--r--README.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.org b/README.org
index dc61ea1..41480e7 100644
--- a/README.org
+++ b/README.org
@@ -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