From 3ee647f5e7243b1055e9dbf3d978ba6d8b308d9a Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 16 Jan 2023 00:43:46 +0100 Subject: [PATCH] increasing size of discard buttons --- objects/Playermat1White.8b081b.json | 34 ++++++++++++++-------------- objects/Playermat2Orange.bd0ff4.json | 34 ++++++++++++++-------------- objects/Playermat3Green.383d8b.json | 34 ++++++++++++++-------------- objects/Playermat4Red.0840d5.json | 34 ++++++++++++++-------------- src/playermat/Playmat.ttslua | 18 +++++++-------- 5 files changed, 77 insertions(+), 77 deletions(-) diff --git a/objects/Playermat1White.8b081b.json b/objects/Playermat1White.8b081b.json index 12bb5635..9cb68266 100644 --- a/objects/Playermat1White.8b081b.json +++ b/objects/Playermat1White.8b081b.json @@ -231,19 +231,7 @@ }, { "Position": { - "x": 1.365, - "y": 0.1, - "z": -0.646 - }, - "Rotation": { - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "Position": { - "x": 0.91, + "x": 1.38, "y": 0.1, "z": -0.645 }, @@ -255,7 +243,19 @@ }, { "Position": { - "x": 0.455, + "x": 0.92, + "y": 0.1, + "z": -0.645 + }, + "Rotation": { + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "Position": { + "x": 0.46, "y": 0.1, "z": -0.645 }, @@ -279,7 +279,7 @@ }, { "Position": { - "x": -0.455, + "x": -0.46, "y": 0.1, "z": -0.645 }, @@ -291,7 +291,7 @@ }, { "Position": { - "x": -0.91, + "x": -0.92, "y": 0.1, "z": -0.645 }, @@ -303,7 +303,7 @@ }, { "Position": { - "x": -1.365, + "x": -1.38, "y": 0.1, "z": -0.645 }, diff --git a/objects/Playermat2Orange.bd0ff4.json b/objects/Playermat2Orange.bd0ff4.json index 4e439de4..3a6e632e 100644 --- a/objects/Playermat2Orange.bd0ff4.json +++ b/objects/Playermat2Orange.bd0ff4.json @@ -231,19 +231,7 @@ }, { "Position": { - "x": 1.365, - "y": 0.1, - "z": -0.646 - }, - "Rotation": { - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "Position": { - "x": 0.91, + "x": 1.38, "y": 0.1, "z": -0.645 }, @@ -255,7 +243,19 @@ }, { "Position": { - "x": 0.455, + "x": 0.92, + "y": 0.1, + "z": -0.645 + }, + "Rotation": { + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "Position": { + "x": 0.46, "y": 0.1, "z": -0.645 }, @@ -279,7 +279,7 @@ }, { "Position": { - "x": -0.455, + "x": -0.46, "y": 0.1, "z": -0.645 }, @@ -291,7 +291,7 @@ }, { "Position": { - "x": -0.91, + "x": -0.92, "y": 0.1, "z": -0.645 }, @@ -303,7 +303,7 @@ }, { "Position": { - "x": -1.365, + "x": -1.38, "y": 0.1, "z": -0.645 }, diff --git a/objects/Playermat3Green.383d8b.json b/objects/Playermat3Green.383d8b.json index c8bae84a..97962ae6 100644 --- a/objects/Playermat3Green.383d8b.json +++ b/objects/Playermat3Green.383d8b.json @@ -231,19 +231,7 @@ }, { "Position": { - "x": 1.365, - "y": 0.1, - "z": -0.646 - }, - "Rotation": { - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "Position": { - "x": 0.91, + "x": 1.38, "y": 0.1, "z": -0.645 }, @@ -255,7 +243,19 @@ }, { "Position": { - "x": 0.455, + "x": 0.92, + "y": 0.1, + "z": -0.645 + }, + "Rotation": { + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "Position": { + "x": 0.46, "y": 0.1, "z": -0.645 }, @@ -279,7 +279,7 @@ }, { "Position": { - "x": -0.455, + "x": -0.46, "y": 0.1, "z": -0.645 }, @@ -291,7 +291,7 @@ }, { "Position": { - "x": -0.91, + "x": -0.92, "y": 0.1, "z": -0.645 }, @@ -303,7 +303,7 @@ }, { "Position": { - "x": -1.365, + "x": -1.38, "y": 0.1, "z": -0.645 }, diff --git a/objects/Playermat4Red.0840d5.json b/objects/Playermat4Red.0840d5.json index 11f926d2..0daca64a 100644 --- a/objects/Playermat4Red.0840d5.json +++ b/objects/Playermat4Red.0840d5.json @@ -231,19 +231,7 @@ }, { "Position": { - "x": 1.365, - "y": 0.1, - "z": -0.646 - }, - "Rotation": { - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "Position": { - "x": 0.91, + "x": 1.38, "y": 0.1, "z": -0.645 }, @@ -255,7 +243,19 @@ }, { "Position": { - "x": 0.455, + "x": 0.92, + "y": 0.1, + "z": -0.645 + }, + "Rotation": { + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "Position": { + "x": 0.46, "y": 0.1, "z": -0.645 }, @@ -279,7 +279,7 @@ }, { "Position": { - "x": -0.455, + "x": -0.46, "y": 0.1, "z": -0.645 }, @@ -291,7 +291,7 @@ }, { "Position": { - "x": -0.91, + "x": -0.92, "y": 0.1, "z": -0.645 }, @@ -303,7 +303,7 @@ }, { "Position": { - "x": -1.365, + "x": -1.38, "y": 0.1, "z": -0.645 }, diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 4359db56..7d678069 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -11,12 +11,12 @@ local COLLISION_ENABLED = false local DRAWN_ENCOUNTER_CARD_OFFSET = {1.365, 0.5, -0.635} local DRAWN_CHAOS_TOKEN_OFFSET = {-1.55, 0.5, -0.58} local DISCARD_BUTTON_OFFSETS = { - {-1.365, 0.1, -0.945}, - {-0.91, 0.1, -0.945}, - {-0.455, 0.1, -0.945}, - {0, 0.1, -0.945}, - {0.455, 0.1, -0.945}, - {0.91, 0.1, -0.945} + {-1.38, 0.1, -0.94}, + {-0.92, 0.1, -0.94}, + {-0.46, 0.1, -0.94}, + {0.00, 0.1, -0.94}, + {0.46, 0.1, -0.94}, + {0.92, 0.1, -0.94} } local MAIN_PLAY_AREA = { @@ -205,9 +205,9 @@ function makeDiscardButton(position, discardPosition, number) function_owner = self, position = position, scale = {0.12, 0.12, 0.12}, - width = 800, - height = 280, - font_size = 180 + width = 900, + height = 350, + font_size = 220 }) end