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:
raysan5 2016-08-06 19:29:58 +02:00
parent 7f9513fbf4
commit 865b216ebe
17 changed files with 69 additions and 78 deletions

View file

@ -56,7 +56,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC key
End3dMode()
DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100 / 100", 20)//2, cubeScreenPosition.y, 20, BLACK)
DrawText("Enemy: 100 / 100", cubeScreenPosition.x//1 - MeasureText("Enemy: 100 / 100", 20)//2, cubeScreenPosition.y//1, 20, BLACK)
DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20))//2, 25, 20, GRAY)
EndDrawing()