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
- Host: GitHub
- URL: https://github.com/temperlang/temper-raylib
- Owner: temperlang
- Created: 2023-10-27T11:28:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T17:42:56.000Z (over 1 year ago)
- Last Synced: 2025-07-27T10:36:43.747Z (11 months ago)
- Language: Python
- Size: 3.18 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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/