This is just going to overcomplicate things. It will not be needed pretty much at all for the goals of this language. Signed-off-by: Slendi <slendi@socopon.com>
14 lines
229 B
Plaintext
14 lines
229 B
Plaintext
use rl "raylib"
|
|
|
|
rl.InitWindow 640 480 "Main window"
|
|
defer rl.CloseWindow
|
|
rl.SetTargetFPS 60
|
|
|
|
for !rl.WindowShouldClose {
|
|
rl.BeginDrawing
|
|
rl.ClearBackground .RAYWHITE
|
|
rl.DrawText "Hello world!" 50 50 40 .RED
|
|
rl.EndDrawing
|
|
}
|
|
|