diff options
author | Colin Okay <colin@cicadas.surf> | 2022-06-27 15:25:21 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-06-27 15:25:21 -0500 |
commit | eec6cf517e8185ce54e068330e73f77bee843cb6 (patch) | |
tree | 6353f040d86b595f59a1f8a2be3669807cfb7f90 | |
parent | e5104cf39570605859c3648ed83c37fe647b0e3f (diff) |
[add] readme, installation and how-to on running examples
-rw-r--r-- | README.org | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -6,5 +6,39 @@ : [1913 Webster] /A Sprite System in Common Lisp for Games and GUIs/ +** Installation +Ensure that sdl2 is installed on your system. +*** Fetch Systems That Are Not In Quicklisp + #+begin_src shell + mkdir ~/wheelwork-playground + cd ~/wheelwork-playground + git clone https://cicadas.surf/cgit/colin/hyperquirks.git/ hyperquirks + git clone https://cicadas.surf/cgit/colin/lambda-riffs.git/ lambda-riffs + git clone https://cicadas.surf/cgit/colin/wheelwork.git wheelwork + #+end_src + +*** Fire up Slime + +You'll want to let quickisp know about the =wheelwork-playground= directory + +#+begin_src lisp + +(pushnew #P"~/wheelwork-playground/" ql:*local-project-directories*) +(ql:register-local-projects ) +(ql:quickload :wheelwork) + +#+end_src + +Then load one of the example files and call its "start" function: + +#+begin_src lisp + +(load "~/wheelwork-playground/examples/02-bitmap-display.lisp") +(ww.examples/2:start) + +#+end_src + +For example two, try clicking around, rolling your mouse wheel, +pushign arrow keys. See the file for more about controls. |