diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..612e322 --- /dev/null +++ b/init.lua @@ -0,0 +1,11 @@ +minetest.register_on_joinplayer(function(player) + player:hud_add({ + hud_elem_type = "image", + position = {x = 0.5, y = 0.5}, + scale = { + x = -100, + y = -100 + }, + text = "hud_image.png" + }) +end) diff --git a/textures/hud_image.png b/textures/hud_image.png new file mode 100644 index 0000000..8d3004b Binary files /dev/null and b/textures/hud_image.png differ