aboutsummaryrefslogtreecommitdiff
path: root/examples/core_world_screen.lua
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-08-06 19:29:58 +0200
committerraysan5 <raysan5@gmail.com>2016-08-06 19:29:58 +0200
commit865b216ebef8e62a19f3a264001ddf17601f95c5 (patch)
treef31468099c8d85cf8767161c3e9c4b16391276d1 /examples/core_world_screen.lua
parent7f9513fbf41e9d340307fc0f9aeed8e5f4293a96 (diff)
downloadraylib-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/core_world_screen.lua')
-rw-r--r--examples/core_world_screen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core_world_screen.lua b/examples/core_world_screen.lua
index ebad41f8..51f2cdbf 100644
--- a/examples/core_world_screen.lua
+++ b/examples/core_world_screen.lua
@@ -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()