aboutsummaryrefslogtreecommitdiff
path: root/examples/core_world_screen.lua
diff options
context:
space:
mode:
authorghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
committerghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
commit1950085893f16d653f16ec0a0c991678e8c3cf53 (patch)
treee6f4ec40f983f50e427e19a49e7519fa1a51448c /examples/core_world_screen.lua
parent82a0fae678a0f4b761bd5369222c956ffe173d31 (diff)
parent306945fe147ea7742880635e77a5c2656f6e1fdc (diff)
downloadraylib-1950085893f16d653f16ec0a0c991678e8c3cf53.tar.gz
raylib-1950085893f16d653f16ec0a0c991678e8c3cf53.zip
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
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()