diff options
Diffstat (limited to 'docs/guide.org')
| -rw-r--r-- | docs/guide.org | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/guide.org b/docs/guide.org index 5119cea..af6319e 100644 --- a/docs/guide.org +++ b/docs/guide.org @@ -42,7 +42,7 @@ chicken-install downstroke sdl2 sdl2-image defstruct matchable states Create a file called =mygame.scm=: #+begin_src scheme -(import downstroke/engine) +(import downstroke-engine) (define *game* (make-game title: "Hello World" width: 640 height: 480)) @@ -66,10 +66,10 @@ Now let's add an entity you can move with the keyboard. Create =square.scm=: (import scheme (chicken base) (prefix sdl2 "sdl2:") - downstroke/engine - downstroke/world - downstroke/entity - downstroke/input) + downstroke-engine + downstroke-world + downstroke-entity + downstroke-input) (define *game* (make-game @@ -138,13 +138,13 @@ For a real game, you probably want tilemaps, gravity, and collision detection. D #+begin_src scheme (import scheme (chicken base) - downstroke/engine - downstroke/world - downstroke/entity - downstroke/input - downstroke/physics - downstroke/scene-loader - downstroke/sound) + downstroke-engine + downstroke-world + downstroke-entity + downstroke-input + downstroke-physics + downstroke-scene-loader + downstroke-sound) (define *game* (make-game |
