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:
parent
7f9513fbf4
commit
865b216ebe
17 changed files with 69 additions and 78 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue