From 865b216ebef8e62a19f3a264001ddf17601f95c5 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 6 Aug 2016 19:29:58 +0200 Subject: Updated Lua examples Most of the examples already working! Only some of them still fail, mostly related to data arrays... --- examples/text_rbmf_fonts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/text_rbmf_fonts.lua') diff --git a/examples/text_rbmf_fonts.lua b/examples/text_rbmf_fonts.lua index 0e0e4142..31a733f1 100644 --- a/examples/text_rbmf_fonts.lua +++ b/examples/text_rbmf_fonts.lua @@ -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 } -- cgit v1.2.3