Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/longlene/cl-raylib
Common Lisp binding of raylib
https://github.com/longlene/cl-raylib
common-lisp game-development raylib
Last synced: 5 days ago
JSON representation
Common Lisp binding of raylib
- Host: GitHub
- URL: https://github.com/longlene/cl-raylib
- Owner: longlene
- License: mit
- Created: 2017-03-04T16:49:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T04:37:55.000Z (3 months ago)
- Last Synced: 2024-08-19T05:43:19.825Z (3 months ago)
- Topics: common-lisp, game-development, raylib
- Language: Common Lisp
- Homepage:
- Size: 472 KB
- Stars: 142
- Watchers: 8
- Forks: 21
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cl-raylib
Common Lisp binding of [raylib](https://www.raylib.com/)## basic example
1. install raylibcl-raylib require raylib dynamic library
run `brew install raylib` to install the library if run example on macOS
2. install `cffi`
cl-raylib use cffi to load dynamic library
`quicklisp` can install cffi automatically, or installing cffi with system package manager is also ok
3. fetch cl-raylib code
cl-raylib is not on quicklisp now, so you should fetch it manually
```bash
git clone https://github.com/longlene/cl-raylib.git ~/.quicklisp/local-projects/cl-raylib
```
my quicklisp install path is ~/.quicklispclone to ~/.local/share/common-lisp/source/cl-raylib is ok if you has no quicklisp
4. run basic example
enter sbcl repl (or ccl etc) :blush:
```bash
sbcl --load ~/.quicklisp/local-projects/cl-raylib/examples/basic.lisp --quit
```
Press `ESC` to close the basic window