aboutsummaryrefslogtreecommitdiff
path: root/examples/core_world_screen.lua
diff options
context:
space:
mode:
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()