diff options
| author | Gene Pasquet <dev@etenil.net> | 2026-04-05 23:44:12 +0100 |
|---|---|---|
| committer | Gene Pasquet <dev@etenil.net> | 2026-04-05 23:44:12 +0100 |
| commit | 300131ca5a19d9de5250579d944a52b067b2d60b (patch) | |
| tree | bed560ea0f5f252e3f40576a14e2a7f19bb35662 /docs/guide.org | |
| parent | b99ada53b715def5492c7d04c0d327fa7048e5d3 (diff) | |
Rename prefix from downstroke/ to downstroke-
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 |
