help me with wide nodebox
Hi, i wrote wide nodebox, but the texture is deformed.


Is it even posible?
EDIT:



Is it even posible?
EDIT:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("notes:note", {
description = "Note",
drawtype = "nodebox",
tiles = {"128x20_nomohakon.png"},
inventory_image = "notes_note.png",
wield_image = "notes_note.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-4, -0.625, 0.4375, 4, 0.625, 0.50},
},
},
selection_box = {
type = "fixed",
fixed = {
{-4, -0.625, 0.4375, 4, 0.625, 0.50},
},
},
groups = {dig_immediate=3},
})