MINETEST GUI SYSTEM SUCKS!!!!!!! AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
This commit is contained in:
parent
3978afd8c2
commit
58bada6236
@ -199,9 +199,11 @@ return {
|
||||
"button[0.1,3.4;5.3,0.5;label_button;" ..
|
||||
core.formspec_escape("SussyCraft " .. core.get_version().string) .. "]" ..
|
||||
|
||||
-- original x positions: 1.5 and 2.5
|
||||
"button[1.1,4.1;3.3,0.8;privacy;Privacy Policy]" ..
|
||||
"button[0.6,5.1;4.3,0.8;discord;SussyCraft Discord]" ..
|
||||
-- minetest gui system sucks so I had to make these calculations to center the buttons BECAUSE THEY CHANGE ON EVERY ANDROID DEVICE AND I HAVE TO WIDEN THEM MORE BECAUSE MINETEST IS A PIECE OF CRAP AAAAAAAAAAAAAAAA
|
||||
local privacy_button_size = 3.5
|
||||
local discord_button_size = 4.5
|
||||
"button[" .. tostring(-privacy_button_size / 2 + 2.75) .. ",4.1;" .. tostring(privacy_button_size) .. ",0.8;privacy;Privacy Policy]" ..
|
||||
"button[" .. tostring(-discord_button_size / 2 + 2.75) .. ",5.1;" .. tostring(discord_button_size) .. ",0.8;discord;SussyCraft Discord]" ..
|
||||
|
||||
"scroll_container[5.5,0.1;13.5,6.9;scroll_credits;vertical;" .. -- originally: 5.5,0.1;9.5,6.9
|
||||
tostring(scroll_height / 1000) .. "]" .. credit_fs ..
|
||||
|
Loading…
Reference in New Issue
Block a user