Bar length is now rounded towards nearest integer
[minetest_hudbars.git] / hudbars.conf.example
blob9ca94510b7b1568edf2ee8be6472c119d2672e11
1 -- HUD bars example config file
2 -------------------------------
3 -- Currently you can customize the starting position of the first bottom two HUD bars
4 -- and the vertical margin. That's all.
5 -- Remove the two dashes to activate a setting. Lua syntax is used.
6 -- The examples are all equal to the mod defaults
7 -------------------------------------------------------------------------------------------------------
10 -- Vertical space between two HUD bars
11 -- hb.settings.vmargin = 24
13 -- Pos of the first HUD bar the the left (“pos”, as in hud definition of hud_add of Minetest Lua API)
14 -- hb.settings.pos_left = { x=0.5, y=1 }
16 -- Pos of the first HUD bar the the right
17 -- hb.settings.pos_right= { x = 0.5, y = 1 }
19 -- Offset of the first HUD bar to the left (“offset”, as in HUD definition)
20 -- hb.settings.start_offset_left = { x = -175, y = -70 }
22 -- Offset of the first HUD bar to the right
23 -- hb.settings_start_offset_right = { x = 15, y = -70 }