raylib-go alternatives and similar packages
Based on the "Game Development" category.
Alternatively, view raylib-go alternatives based on common mentions on social networks and blogs.
-
engo
Engo is an open-source 2D game engine written in Go. It follows the Entity-Component-System paradigm. -
Pitaya
Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK. -
prototype
Cross-platform (Windows/Linux/Mac) library for creating desktop games using a minimal API. -
tile
Data-oriented and cache-friendly 2D Grid library (TileMap), includes pathfinding, observers and import/export.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of raylib-go or a related project?
Popular Comparisons
README
raylib-go
Golang bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
Requirements
Ubuntu
X11
apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev
Wayland
apt-get install libgl1-mesa-dev libwayland-dev libxkbcommon-dev
Fedora
X11
dnf install mesa-libGL-devel libXi-devel libXcursor-devel libXrandr-devel libXinerama-devel
Wayland
dnf install mesa-libGL-devel wayland-devel libxkbcommon-devel
macOS
On macOS you need Xcode or Command Line Tools for Xcode.
Windows
On Windows you need C compiler, like Mingw-w64 or TDM-GCC. You can also build binary in MSYS2 shell.
Android
Raspberry Pi
Installation
go get -v -u github.com/gen2brain/raylib-go/raylib
Build tags
noaudio
- disables audio functionsopengl21
- uses OpenGL 2.1 backend (default is 3.3 on desktop)opengl11
- uses OpenGL 1.1 backend (pseudo OpenGL 1.1 style)wayland
- builds against Wayland libraries
Documentation
Documentation on GoDoc. Also check raylib cheatsheet.
Example
package main
import "github.com/gen2brain/raylib-go/raylib"
func main() {
rl.InitWindow(800, 450, "raylib [core] example - basic window")
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
rl.BeginDrawing()
rl.ClearBackground(rl.RayWhite)
rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LightGray)
rl.EndDrawing()
}
rl.CloseWindow()
}
Check more examples organized by raylib modules.
License
raylib-go is licensed under an unmodified zlib/libpng license. View LICENSE.
*Note that all licence references and agreements mentioned in the raylib-go README section above
are relevant to that project's source code only.