From 865b216ebef8e62a19f3a264001ddf17601f95c5 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 6 Aug 2016 19:29:58 +0200 Subject: Updated Lua examples Most of the examples already working! Only some of them still fail, mostly related to data arrays... --- examples/core_world_screen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/core_world_screen.lua') 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() -- cgit v1.2.3