Add better game name gui that doesn't interfere with chat or debug info
This commit is contained in:
parent
1f7a306aeb
commit
47eb770da9
@ -49,6 +49,7 @@
|
||||
- Make snow falling node
|
||||
- Add creative mode
|
||||
- Add trap chest and sticky piston
|
||||
- Added in Et QtFunny font info
|
||||
|
||||
---
|
||||
|
||||
|
BIN
crafter version.xcf
Normal file
BIN
crafter version.xcf
Normal file
Binary file not shown.
@ -1,29 +1,15 @@
|
||||
--[[
|
||||
--map
|
||||
running - set fov set_fov(fov, is_multiplier) set_breath(value)
|
||||
sneaking --set eye offset
|
||||
|
||||
]]--
|
||||
crafter_version = 0.03
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
--add in info
|
||||
player:hud_set_flags({minimap=true})
|
||||
--add in version info
|
||||
player:hud_add({
|
||||
hud_elem_type = "text",
|
||||
position = {x=0,y=0},
|
||||
text = "Crafter Alpha "..crafter_version,
|
||||
number = 000000,
|
||||
alignment = {x=1,y=1},
|
||||
offset = {x=2, y=2},
|
||||
})
|
||||
player:hud_add({
|
||||
hud_elem_type = "text",
|
||||
position = {x=0,y=0},
|
||||
text = "Crafter Alpha "..crafter_version,
|
||||
number = 0xffffff,
|
||||
alignment = {x=1,y=1},
|
||||
offset = {x=0, y=0},
|
||||
hud_elem_type = "image",
|
||||
position = {x=1,y=0},
|
||||
scale = {x=0.75,y=0.75},
|
||||
text = "version.png",
|
||||
--number = 000000,
|
||||
--alignment = {x=-1,y=0},
|
||||
offset = {x=-180, y=19},
|
||||
})
|
||||
end)
|
||||
|
||||
|
1
mods/player/textures/attributes.txt
Normal file
1
mods/player/textures/attributes.txt
Normal file
@ -0,0 +1 @@
|
||||
font used - https://www.fontspace.com/et-qtfunny-font-f9592 (Public Domain)
|
BIN
mods/player/textures/version.png
Normal file
BIN
mods/player/textures/version.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Loading…
x
Reference in New Issue
Block a user