local v=require("\114\097\121\108\105\098")local M,O=800,450 v.SetConfigFlags(v.FLAG_VSYNC_HINT)v.InitWindow(800,450,"\114\097\121\108\105\098 \091\115\104\097\112\101\115\093 \101\120\097\109\112\108\101 - \098\097\115\105\099 \115\104\097\112\101\115 \100\114\097\119\105\110\103")v.InitAudioDevice()local U=v.LoadTexture("\101\120\097\109\112\108\101\115\047\101\109\098\101\100\100\105\110\103\047\114\101\115\115\111\117\114\099\101\115\047\108\111\103\111\046\112\110\103")local J=v.LoadMusicStream("\101\120\097\109\112\108\101\115\047\101\109\098\101\100\100\105\110\103\047\114\101\115\115\111\117\114\099\101\115\047\109\105\110\105\049\049\049\049\046\120\109")v.PlayMusicStream(J)while not v.WindowShouldClose()do v.UpdateMusicStream(J)v.BeginDrawing()v.ClearBackground(v.RAYWHITE)v.DrawTexture(U,M/2-U.width/2,O/2-U.height/2,v.WHITE)v.DrawText("\116\104\105\115 \105\115 \097 \116\101\120\116\117\114\101\033",350,370,10,v.GRAY)v.EndDrawing()end v.UnloadMusicStream(J)v.CloseAudioDevice()v.CloseWindow()
local rl = require("raylib")

local width, height = 800, 450

rl.SetConfigFlags(rl.FLAG_VSYNC_HINT)
rl.InitWindow(800, 450, "raylib [shapes] example - basic shapes drawing")
rl.InitAudioDevice()

local logo = rl.LoadTexture("examples/embedding/ressources/logo.png")
local music = rl.LoadMusicStream("examples/embedding/ressources/mini1111.xm")

rl.PlayMusicStream(music)

while not rl.WindowShouldClose() do
  rl.UpdateMusicStream(music)

  rl.BeginDrawing()
  rl.ClearBackground(rl.RAYWHITE)

  rl.DrawTexture(logo, width / 2 - logo.width / 2, height / 2 - logo.height / 2, rl.WHITE)
  rl.DrawText("this is a texture!", 350, 370, 10, rl.GRAY)

  rl.EndDrawing()
end

rl.UnloadMusicStream(music)

rl.CloseAudioDevice()
rl.CloseWindow()
