mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Lua examples
Most of the examples already working! Only some of them still fail, mostly related to data arrays...
This commit is contained in:
@ -47,7 +47,7 @@ local positions = {}
|
||||
for i = 1, 8 do
|
||||
positions[i] = Vector2(0, 0)
|
||||
positions[i].x = screenWidth/2 - MeasureTextEx(fonts[i], messages[i], fonts[i].size*2, spacings[i]).x/2
|
||||
positions[i].y = 60 + fonts[i].size + 50*i
|
||||
positions[i].y = 60 + fonts[i].size + 45*(i - 1)
|
||||
end
|
||||
|
||||
local colors = { MAROON, ORANGE, DARKGREEN, DARKBLUE, DARKPURPLE, LIME, GOLD, BLACK }
|
||||
|
||||
Reference in New Issue
Block a user