From a316893a68ae44a100d6dc5be34bf2c7d582e9ca Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 4 May 2014 21:51:07 -0400 Subject: Tweak README to reflect API changes. --- README.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index bbd26e0..c1a4245 100644 --- a/README.org +++ b/README.org @@ -48,17 +48,17 @@ user might experience when updating the game takes longer than drawing a frame at the desired rate. Instead of slowing to a crawl, some frames are dropped and the loop tries to catch up on - updates. Additionally, a fixed timestep allows for a more - deterministic simulation than a variable timestep. + updates. Additionally, a fixed timestep allows for a deterministic + simulation, unlike a variable timestep. - To start up the game loop, simply call =(run-game-loop)=. It's a + To start up the game loop, simply call =(start-game-loop)=. It's a good idea to set up the game window prior to starting the loop via the =with-window= form. #+BEGIN_SRC scheme (with-window (make-window #:title "Best Game Ever" #:resolution (vector2 640 480)) - (run-game-loop)) + (start-game-loop)) #+END_SRC *** Sprites @@ -157,8 +157,7 @@ #+BEGIN_SRC scheme (use-modules (2d agenda) - (2d coroutine) - (2d game)) + (2d coroutine)) (coroutine (while #t -- cgit v1.2.3