summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-10-19 23:11:24 +0500
committerilotterytea <iltsu@alright.party>2024-10-19 23:11:24 +0500
commit69a47c38e71c66a5330171d5db5dc82f6bb0082a (patch)
treec98f1b5b42f662c685fdcbbbe2a7151b84b90a40 /assets
parent3d6d9941a7a76a9945a06232289ed2015b7b3f43 (diff)
feat: mobile support (wip?) for ui skin
Diffstat (limited to 'assets')
-rw-r--r--assets/sprites/gui/ui.skin44
1 files changed, 44 insertions, 0 deletions
diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin
index 2004b30..e9c6149 100644
--- a/assets/sprites/gui/ui.skin
+++ b/assets/sprites/gui/ui.skin
@@ -35,6 +35,10 @@
file: fnt/FontText.fnt,
scaledSize: 24
},
+ defaultMobile: {
+ file: fnt/FontText.fnt,
+ scaledSize: 48
+ },
small: {
file: fnt/FontText.fnt,
scaledSize: 18
@@ -43,14 +47,26 @@
file: fnt/FontText.fnt,
scaledSize: 19
},
+ store_item_name_mobile: {
+ file: fnt/FontText.fnt,
+ scaledSize: 36
+ },
store_item_price: {
file: fnt/FontText.fnt,
scaledSize: 18
},
+ store_item_price_mobile: {
+ file: fnt/FontText.fnt,
+ scaledSize: 30
+ },
store_control: {
file: fnt/FontText.fnt,
scaledSize: 18
},
+ store_control_mobile: {
+ file: fnt/FontText.fnt,
+ scaledSize: 36
+ },
tooltip: {
file: fnt/FontText.fnt,
scaledSize: 19
@@ -69,10 +85,18 @@
over: button_hover,
disabled: button_disabled,
},
+ defaultMobile: {
+ parent: default
+ font: defaultMobile
+ },
store_control: {
parent: default,
font: store_control
},
+ store_control_mobile: {
+ parent: store_control,
+ font: store_control_mobile
+ },
link: {
font: small,
fontColor: yellow,
@@ -86,10 +110,18 @@
font: default,
fontColor: white
},
+ defaultMobile: {
+ parent: default
+ font: defaultMobile
+ },
store_item: {
font: store_item_name,
fontColor: store_item
},
+ store_item_mobile: {
+ parent: store_item,
+ font: store_item_name_mobile,
+ },
store_item_hover: {
font: store_item_name,
fontColor: store_item_hover
@@ -98,14 +130,26 @@
font: store_item_name,
fontColor: store_item_disabled
},
+ store_item_disabled_mobile: {
+ parent: store_item_mobile,
+ fontColor: store_item_disabled
+ },
store_item_price: {
font: store_item_price,
fontColor: store_item_price_available
},
+ store_item_price_mobile: {
+ parent: store_item_price,
+ font: store_item_price_mobile
+ },
store_item_price_disabled: {
font: store_item_price,
fontColor: store_item_price_disabled
},
+ store_item_price_disabled_mobile: {
+ parent: store_item_price_mobile,
+ fontColor: store_item_price_disabled
+ },
slots: {
font: slots,
fontColor: white