diff options
| author | raysan5 <raysan5@gmail.com> | 2016-08-06 19:29:58 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-08-06 19:29:58 +0200 |
| commit | 865b216ebef8e62a19f3a264001ddf17601f95c5 (patch) | |
| tree | f31468099c8d85cf8767161c3e9c4b16391276d1 /examples/text_rbmf_fonts.lua | |
| parent | 7f9513fbf41e9d340307fc0f9aeed8e5f4293a96 (diff) | |
| download | raylib-865b216ebef8e62a19f3a264001ddf17601f95c5.tar.gz raylib-865b216ebef8e62a19f3a264001ddf17601f95c5.zip | |
Updated Lua examples
Most of the examples already working! Only some of them still fail,
mostly related to data arrays...
Diffstat (limited to 'examples/text_rbmf_fonts.lua')
| -rw-r--r-- | examples/text_rbmf_fonts.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
