Skip to content

Instantly share code, notes, and snippets.

@moomerman
Created January 29, 2026 18:36
Show Gist options
  • Select an option

  • Save moomerman/0b48e4a5b284f6706fc1b456c8c23260 to your computer and use it in GitHub Desktop.

Select an option

Save moomerman/0b48e4a5b284f6706fc1b456c8c23260 to your computer and use it in GitHub Desktop.
package main
import rl "vendor:raylib"
main :: proc() {
rl.InitWindow(1280, 720, "Hello Zed!")
for !rl.WindowShouldClose() {
rl.BeginDrawing()
rl.ClearBackground(rl.BLUE)
rl.DrawText("Hello Zed!", 380, 250, 100, rl.BLACK)
rl.EndDrawing()
}
rl.CloseWindow()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment