31 lines
453 B
Markdown
31 lines
453 B
Markdown
|
|
# LLGo wrapper of raylib
|
||
|
|
|
||
|
|
## How to install
|
||
|
|
|
||
|
|
### on macOS (Homebrew)
|
||
|
|
|
||
|
|
```sh
|
||
|
|
brew install raylib
|
||
|
|
```
|
||
|
|
|
||
|
|
### on Linux (Debian/Ubuntu)
|
||
|
|
|
||
|
|
```sh
|
||
|
|
TODO
|
||
|
|
```
|
||
|
|
|
||
|
|
## Demos
|
||
|
|
|
||
|
|
The `_demo` directory contains our demos (it start with `_` to prevent the `go` command from compiling it):
|
||
|
|
|
||
|
|
- [raylibdemo](_demo/tetris/tetris.go): a basic raylib demo
|
||
|
|
|
||
|
|
### How to run demos
|
||
|
|
|
||
|
|
To run the demos in directory `_demo`:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
cd <demo-directory> # eg. cd _demo/tetris
|
||
|
|
llgo run .
|
||
|
|
```
|