Swift bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan-programmers way.
A swifty interface and app lifecycle to ease development with raylib!
- Swifty interface and compatibility with the latest features!
- Support for
@main
lifecycle - Decent examples collection with +16 code examples!
import Raylib
@main struct BasicWindow: Applet {
init() {
Window.create(800, by: 450, title: "Example - Core - Basic Window")
}
func draw() {
Renderer2D.text(center: "Congrats! You created your first window!", color: Color.lightGray)
}
}