I am using the very basic example lua file from the examples:
rl.SetConfigFlags(rl.FLAG_VSYNC_HINT)
rl.InitWindow(800, 450, "raylib [core] example - basic window")
while not rl.WindowShouldClose() do
rl.BeginDrawing()
rl.ClearBackground(rl.RAYWHITE)
rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LIGHTGRAY)
rl.EndDrawing()
end
rl.CloseWindow()
But when I try to use raylua_s main.lua or raylua_e main.lua I always get:
❯ ./raylua_s main.lua
RAYLUA: Raylua boot script
RAYLUA: Lua Version: Lua 5.1
RAYLUA: Lua JIT: LuaJIT 2.1.1700008891
[string "--[[..."]:857: attempt to index a number value
I am using the very basic example lua file from the examples:
But when I try to use
raylua_s main.luaorraylua_e main.luaI always get: