An open API service indexing awesome lists of open source software.

https://github.com/temperlang/temper-raylib

Raylib Bindings for Temper
https://github.com/temperlang/temper-raylib

Last synced: 4 months ago
JSON representation

Raylib Bindings for Temper

Awesome Lists containing this project

README

          

# temper-raylib
Raylib Bindings for Temper

Based on the json version of the C header for [raylib].

# Building

To build temper-raylib, make sure you have both python3 and temper on your path.

First generate the raylib bindings for temper.
```sh
python3 rl/gen.py
```

Then Build the temper files into a library.
```
temper build -b js -b py
```

# Running

Temper supports multiple backends for temper-raylib, currently `py` and `js` work.

```sh
python3 -m pip install vendor/raypyc
python3 launch.py conway

```

```sh
npm i
node launch.js conway
```

[raylib]: https://www.raylib.com/