Resize heart, bubble hunger icons

This commit is contained in:
Wuzzy 2020-01-26 16:00:16 +01:00
parent 15aed7f945
commit 9502ffdca6
10 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

View File

@ -42,7 +42,7 @@ minetest.register_entity(
{
visual = "sprite",
visual_size = {x = 1 * headbars_scale, y = 0.1 * headbars_scale, z = 1},
textures = {headbars.get_sprite("heart.png", "blank.png", 20, 20)},
textures = {headbars.get_sprite("headbars_heart.png", "blank.png", 20, 20)},
glow = 5,
@ -80,7 +80,7 @@ minetest.register_entity(
local hp = ent:get_hp()
-- Update displayed hearts
self.object:set_properties({textures = {headbars.get_sprite("heart.png", "headbars_heart_bg.png", 20, hp)}})
self.object:set_properties({textures = {headbars.get_sprite("headbars_heart.png", "headbars_heart_bg.png", 20, hp)}})
end,
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.