Improved look on the mobile device

Now the food doesn't cover the full screen on mobile devices...
...at the cost of stretching at ultrawide or portrait aspect ratios.
This commit is contained in:
the-real-herowl 2024-04-14 08:34:41 +02:00
parent 8d5c9996a2
commit e582c3bb97

View file

@ -133,7 +133,7 @@ local function init_hud(player)
hud_elem_type = "image",
text = "blank.png",
position = {x = 0.5, y = 1},
scale = {x = 30, y = 30},
scale = {x = -25, y = -45},
alignment = {x = 0, y = -1},
offset = {x = 0, y = -30},
z_index = -200,