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
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue