forked from MineClone5/MineClone5
Improve XP bar position
This commit is contained in:
parent
213f62ac06
commit
e152e346ea
|
@ -170,8 +170,8 @@ minetest.register_on_joinplayer(function(player)
|
||||||
name = "experience bar",
|
name = "experience bar",
|
||||||
text = "experience_bar_background.png^[lowpart:" .. math.floor(temp_pool.bar / 36 * 100) .. ":experience_bar.png^[transformR270",
|
text = "experience_bar_background.png^[lowpart:" .. math.floor(temp_pool.bar / 36 * 100) .. ":experience_bar.png^[transformR270",
|
||||||
position = {x=0.5, y=1},
|
position = {x=0.5, y=1},
|
||||||
offset = {x = (-9 * 28), y = -(48 + 24 + 16 - 7)},
|
offset = {x = (-9 * 28) - 3, y = -(48 + 24 + 16 - 5)},
|
||||||
scale = {x = 2.75, y = 2.75},
|
scale = {x = 2.8, y = 3.0},
|
||||||
alignment = { x = 1, y = 1 },
|
alignment = { x = 1, y = 1 },
|
||||||
z_index = 11,
|
z_index = 11,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue