add libraries etc.

This commit is contained in:
any
2026-05-08 21:27:11 +02:00
parent 372b497cbb
commit f737d32b73
5 changed files with 46 additions and 1 deletions
+17 -1
View File
@@ -1,3 +1,19 @@
package main
func main() {}
import rl "github.com/gen2brain/raylib-go/raylib"
func main() {
rl.InitWindow(800, 450, "raylib [core] example - basic window")
defer rl.CloseWindow()
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()
}
}