README:raylib

This commit is contained in:
luoliwoshang
2024-07-08 22:24:41 +08:00
parent 2f79417d0d
commit aa9254eeb0

30
c/raylib/README.md Normal file
View File

@@ -0,0 +1,30 @@
# 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 .
```