Wave bindings for raylib 5.5.0. This library allows you to develop games using raylib with the Wave programming language.
- Wave: v0.1.7-pre-beta or later (or latest master)
- raylib: 5.5.0
- Operating System: Linux (Fedora 43 recommended)
You can either clone the repository or copy the raylib.wave file directly into your project.
git clone https://github.com/wavefnd/raylib-wave.gitInstall raylib 5.5.0 on your system. On Fedora:
sudo dnf install raylib-develMake sure
libraylib.sois available in your system library path.
Import raylib.wave in your Wave source file:
import("raylib");
You can now use raylib APIs directly from Wave.
import("raylib");
fun main() {
var screenWidth: i32 = 800;
var screenHeight: i32 = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
SetTargetFPS(60);
var raywhite: Color = Color { r: 245, g: 245, b: 245, a: 255 };
var lightgray: Color = Color { r: 200, g: 130, b: 130, a: 255 };
while(WindowShouldClose() == 0) {
BeginDrawing();
ClearBackground(raywhite);
DrawText("Congrats! You created your first window!", 190, 200, 20, lightgray);
EndDrawing();
}
CloseWindow();
}
This project follows the same license as the Zlib. See the repository for more details.
