From 8528a0c9d9aab9dae4aeb0a68bf33fec164a3abf Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 21 Jan 2025 00:33:27 +0500 Subject: feat: ui skin --- assets/fonts/FontText.fnt | 166 ++++++++++ assets/fonts/FontText.png | Bin 0 -> 38315 bytes assets/sprites/gui/ui.atlas | 17 + assets/sprites/gui/ui.png | Bin 0 -> 548 bytes assets/sprites/gui/ui.skin | 345 +++++++++++++++++++++ .../kz/ilotterytea/frogartha/assets/Assets.java | 7 + 6 files changed, 535 insertions(+) create mode 100644 assets/fonts/FontText.fnt create mode 100644 assets/fonts/FontText.png create mode 100644 assets/sprites/gui/ui.atlas create mode 100644 assets/sprites/gui/ui.png create mode 100644 assets/sprites/gui/ui.skin create mode 100644 core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java diff --git a/assets/fonts/FontText.fnt b/assets/fonts/FontText.fnt new file mode 100644 index 0000000..481c19d --- /dev/null +++ b/assets/fonts/FontText.fnt @@ -0,0 +1,166 @@ +info face="FontText" size=12 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=2 padding=1,1,1,1 spacing=0,0 +common lineHeight=43 base=34 scaleW=506 scaleH=163 pages=1 packed=0 alphaChnl=0 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="FontText.png" +chars count=161 +char id=32 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=-1 xadvance=8 page=0 chnl=0 +char id=33 x=49 y=38 width=4 height=25 xoffset=1 yoffset=9 xadvance=8 page=0 chnl=0 +char id=34 x=419 y=141 width=6 height=9 xoffset=1 yoffset=11 xadvance=10 page=0 chnl=0 +char id=35 x=391 y=116 width=18 height=17 xoffset=0 yoffset=14 xadvance=20 page=0 chnl=0 +char id=36 x=31 y=2 width=15 height=32 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=0 +char id=37 x=283 y=2 width=22 height=29 xoffset=0 yoffset=7 xadvance=23 page=0 chnl=0 +char id=38 x=430 y=91 width=24 height=23 xoffset=1 yoffset=11 xadvance=27 page=0 chnl=0 +char id=39 x=502 y=116 width=3 height=9 xoffset=1 yoffset=11 xadvance=6 page=0 chnl=0 +char id=40 x=48 y=2 width=8 height=32 xoffset=0 yoffset=8 xadvance=9 page=0 chnl=0 +char id=41 x=58 y=2 width=9 height=32 xoffset=-1 yoffset=8 xadvance=10 page=0 chnl=0 +char id=42 x=403 y=141 width=14 height=14 xoffset=0 yoffset=11 xadvance=16 page=0 chnl=0 +char id=43 x=94 y=141 width=17 height=17 xoffset=0 yoffset=14 xadvance=19 page=0 chnl=0 +char id=44 x=436 y=141 width=5 height=8 xoffset=0 yoffset=30 xadvance=8 page=0 chnl=0 +char id=45 x=17 y=160 width=12 height=2 xoffset=1 yoffset=24 xadvance=16 page=0 chnl=0 +char id=46 x=496 y=141 width=4 height=4 xoffset=1 yoffset=30 xadvance=8 page=0 chnl=0 +char id=47 x=0 y=91 width=10 height=23 xoffset=0 yoffset=11 xadvance=12 page=0 chnl=0 +char id=48 x=240 y=141 width=16 height=17 xoffset=1 yoffset=17 xadvance=20 page=0 chnl=0 +char id=49 x=25 y=141 width=11 height=17 xoffset=0 yoffset=17 xadvance=12 page=0 chnl=0 +char id=50 x=158 y=116 width=14 height=18 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=51 x=30 y=116 width=13 height=22 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=0 +char id=52 x=413 y=91 width=15 height=23 xoffset=-1 yoffset=16 xadvance=16 page=0 chnl=0 +char id=53 x=110 y=65 width=11 height=24 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 +char id=54 x=123 y=65 width=14 height=24 xoffset=1 yoffset=10 xadvance=17 page=0 chnl=0 +char id=55 x=15 y=116 width=13 height=23 xoffset=-1 yoffset=16 xadvance=14 page=0 chnl=0 +char id=56 x=0 y=116 width=13 height=23 xoffset=1 yoffset=11 xadvance=17 page=0 chnl=0 +char id=57 x=491 y=91 width=14 height=23 xoffset=0 yoffset=17 xadvance=17 page=0 chnl=0 +char id=58 x=19 y=141 width=4 height=17 xoffset=1 yoffset=17 xadvance=8 page=0 chnl=0 +char id=59 x=500 y=38 width=4 height=21 xoffset=1 yoffset=17 xadvance=8 page=0 chnl=0 +char id=60 x=383 y=141 width=18 height=15 xoffset=-1 yoffset=15 xadvance=19 page=0 chnl=0 +char id=61 x=458 y=141 width=17 height=6 xoffset=1 yoffset=19 xadvance=21 page=0 chnl=0 +char id=62 x=364 y=141 width=17 height=15 xoffset=1 yoffset=15 xadvance=19 page=0 chnl=0 +char id=63 x=11 y=38 width=13 height=25 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=0 +char id=64 x=374 y=2 width=26 height=27 xoffset=1 yoffset=12 xadvance=29 page=0 chnl=0 +char id=65 x=116 y=38 width=22 height=24 xoffset=-2 yoffset=11 xadvance=20 page=0 chnl=0 +char id=66 x=245 y=38 width=18 height=24 xoffset=0 yoffset=11 xadvance=20 page=0 chnl=0 +char id=67 x=389 y=65 width=18 height=23 xoffset=1 yoffset=11 xadvance=22 page=0 chnl=0 +char id=68 x=288 y=38 width=21 height=24 xoffset=0 yoffset=11 xadvance=23 page=0 chnl=0 +char id=69 x=432 y=65 width=18 height=23 xoffset=0 yoffset=11 xadvance=20 page=0 chnl=0 +char id=70 x=311 y=38 width=17 height=24 xoffset=0 yoffset=11 xadvance=18 page=0 chnl=0 +char id=71 x=485 y=65 width=20 height=23 xoffset=1 yoffset=11 xadvance=23 page=0 chnl=0 +char id=72 x=330 y=38 width=22 height=24 xoffset=0 yoffset=11 xadvance=24 page=0 chnl=0 +char id=73 x=399 y=38 width=9 height=24 xoffset=0 yoffset=11 xadvance=11 page=0 chnl=0 +char id=74 x=166 y=2 width=11 height=29 xoffset=-2 yoffset=11 xadvance=11 page=0 chnl=0 +char id=75 x=453 y=38 width=21 height=24 xoffset=0 yoffset=11 xadvance=21 page=0 chnl=0 +char id=76 x=102 y=91 width=18 height=23 xoffset=0 yoffset=11 xadvance=19 page=0 chnl=0 +char id=77 x=122 y=91 width=26 height=23 xoffset=0 yoffset=11 xadvance=28 page=0 chnl=0 +char id=78 x=150 y=91 width=21 height=23 xoffset=0 yoffset=11 xadvance=23 page=0 chnl=0 +char id=79 x=173 y=91 width=21 height=23 xoffset=1 yoffset=11 xadvance=24 page=0 chnl=0 +char id=80 x=0 y=65 width=17 height=24 xoffset=0 yoffset=11 xadvance=19 page=0 chnl=0 +char id=81 x=179 y=2 width=23 height=29 xoffset=1 yoffset=11 xadvance=24 page=0 chnl=0 +char id=82 x=219 y=91 width=21 height=23 xoffset=0 yoffset=11 xadvance=21 page=0 chnl=0 +char id=83 x=242 y=91 width=15 height=23 xoffset=0 yoffset=11 xadvance=18 page=0 chnl=0 +char id=84 x=42 y=65 width=19 height=24 xoffset=0 yoffset=11 xadvance=21 page=0 chnl=0 +char id=85 x=259 y=91 width=21 height=23 xoffset=-1 yoffset=11 xadvance=21 page=0 chnl=0 +char id=86 x=282 y=91 width=22 height=23 xoffset=-2 yoffset=11 xadvance=20 page=0 chnl=0 +char id=87 x=306 y=91 width=30 height=23 xoffset=-2 yoffset=11 xadvance=29 page=0 chnl=0 +char id=88 x=26 y=38 width=21 height=25 xoffset=-1 yoffset=10 xadvance=20 page=0 chnl=0 +char id=89 x=63 y=65 width=20 height=24 xoffset=-2 yoffset=11 xadvance=19 page=0 chnl=0 +char id=90 x=394 y=91 width=17 height=23 xoffset=0 yoffset=11 xadvance=19 page=0 chnl=0 +char id=91 x=110 y=2 width=6 height=31 xoffset=2 yoffset=9 xadvance=10 page=0 chnl=0 +char id=92 x=452 y=65 width=10 height=23 xoffset=0 yoffset=11 xadvance=12 page=0 chnl=0 +char id=93 x=101 y=2 width=7 height=31 xoffset=0 yoffset=9 xadvance=10 page=0 chnl=0 +char id=94 x=443 y=141 width=13 height=7 xoffset=1 yoffset=17 xadvance=17 page=0 chnl=0 +char id=95 x=0 y=160 width=15 height=2 xoffset=1 yoffset=38 xadvance=19 page=0 chnl=0 +char id=96 x=427 y=141 width=7 height=8 xoffset=0 yoffset=7 xadvance=9 page=0 chnl=0 +char id=97 x=218 y=116 width=15 height=17 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=98 x=335 y=2 width=17 height=27 xoffset=-1 yoffset=8 xadvance=19 page=0 chnl=0 +char id=99 x=278 y=116 width=13 height=17 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=0 +char id=100 x=402 y=2 width=17 height=26 xoffset=1 yoffset=8 xadvance=19 page=0 chnl=0 +char id=101 x=314 y=116 width=14 height=17 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=102 x=491 y=2 width=12 height=25 xoffset=-1 yoffset=9 xadvance=10 page=0 chnl=0 +char id=103 x=283 y=65 width=17 height=23 xoffset=0 yoffset=17 xadvance=18 page=0 chnl=0 +char id=104 x=421 y=2 width=19 height=26 xoffset=-1 yoffset=8 xadvance=19 page=0 chnl=0 +char id=105 x=0 y=38 width=9 height=25 xoffset=0 yoffset=9 xadvance=10 page=0 chnl=0 +char id=106 x=69 y=2 width=8 height=31 xoffset=-3 yoffset=9 xadvance=8 page=0 chnl=0 +char id=107 x=354 y=2 width=18 height=27 xoffset=-1 yoffset=8 xadvance=18 page=0 chnl=0 +char id=108 x=442 y=2 width=9 height=26 xoffset=-1 yoffset=8 xadvance=9 page=0 chnl=0 +char id=109 x=113 y=141 width=28 height=17 xoffset=-1 yoffset=17 xadvance=28 page=0 chnl=0 +char id=110 x=182 y=141 width=19 height=17 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=111 x=347 y=141 width=15 height=17 xoffset=0 yoffset=17 xadvance=17 page=0 chnl=0 +char id=112 x=302 y=65 width=17 height=23 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=113 x=78 y=38 width=17 height=24 xoffset=0 yoffset=16 xadvance=18 page=0 chnl=0 +char id=114 x=298 y=141 width=14 height=17 xoffset=-1 yoffset=17 xadvance=14 page=0 chnl=0 +char id=115 x=284 y=141 width=12 height=17 xoffset=1 yoffset=17 xadvance=15 page=0 chnl=0 +char id=116 x=353 y=65 width=13 height=23 xoffset=-2 yoffset=11 xadvance=11 page=0 chnl=0 +char id=117 x=110 y=116 width=19 height=18 xoffset=-1 yoffset=16 xadvance=19 page=0 chnl=0 +char id=118 x=221 y=141 width=17 height=17 xoffset=-2 yoffset=17 xadvance=16 page=0 chnl=0 +char id=119 x=131 y=116 width=25 height=18 xoffset=-1 yoffset=16 xadvance=25 page=0 chnl=0 +char id=120 x=45 y=116 width=16 height=19 xoffset=-1 yoffset=16 xadvance=17 page=0 chnl=0 +char id=121 x=97 y=38 width=17 height=24 xoffset=-2 yoffset=16 xadvance=16 page=0 chnl=0 +char id=122 x=143 y=141 width=14 height=17 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=123 x=90 y=2 width=9 height=31 xoffset=-1 yoffset=9 xadvance=10 page=0 chnl=0 +char id=124 x=2 y=2 width=2 height=34 xoffset=1 yoffset=6 xadvance=7 page=0 chnl=0 +char id=125 x=79 y=2 width=9 height=31 xoffset=-1 yoffset=9 xadvance=10 page=0 chnl=0 +char id=126 x=477 y=141 width=17 height=4 xoffset=1 yoffset=22 xadvance=21 page=0 chnl=0 +char id=1025 x=204 y=2 width=18 height=29 xoffset=0 yoffset=5 xadvance=20 page=0 chnl=0 +char id=1040 x=259 y=65 width=22 height=24 xoffset=-2 yoffset=11 xadvance=20 page=0 chnl=0 +char id=1041 x=240 y=65 width=17 height=24 xoffset=0 yoffset=11 xadvance=20 page=0 chnl=0 +char id=1042 x=220 y=65 width=18 height=24 xoffset=0 yoffset=11 xadvance=20 page=0 chnl=0 +char id=1043 x=202 y=65 width=16 height=24 xoffset=0 yoffset=11 xadvance=17 page=0 chnl=0 +char id=1044 x=143 y=2 width=21 height=30 xoffset=-1 yoffset=10 xadvance=21 page=0 chnl=0 +char id=1045 x=338 y=91 width=18 height=23 xoffset=0 yoffset=11 xadvance=20 page=0 chnl=0 +char id=1046 x=456 y=91 width=33 height=23 xoffset=-2 yoffset=11 xadvance=31 page=0 chnl=0 +char id=1047 x=358 y=91 width=15 height=23 xoffset=0 yoffset=11 xadvance=17 page=0 chnl=0 +char id=1048 x=85 y=65 width=23 height=24 xoffset=0 yoffset=11 xadvance=25 page=0 chnl=0 +char id=1049 x=6 y=2 width=23 height=32 xoffset=0 yoffset=3 xadvance=25 page=0 chnl=0 +char id=1050 x=196 y=91 width=21 height=23 xoffset=0 yoffset=11 xadvance=22 page=0 chnl=0 +char id=1051 x=19 y=65 width=21 height=24 xoffset=-1 yoffset=10 xadvance=22 page=0 chnl=0 +char id=1052 x=55 y=91 width=26 height=23 xoffset=0 yoffset=11 xadvance=28 page=0 chnl=0 +char id=1053 x=476 y=38 width=22 height=24 xoffset=0 yoffset=11 xadvance=24 page=0 chnl=0 +char id=1054 x=32 y=91 width=21 height=23 xoffset=1 yoffset=11 xadvance=24 page=0 chnl=0 +char id=1055 x=429 y=38 width=22 height=24 xoffset=0 yoffset=11 xadvance=24 page=0 chnl=0 +char id=1056 x=410 y=38 width=17 height=24 xoffset=0 yoffset=11 xadvance=19 page=0 chnl=0 +char id=1057 x=12 y=91 width=18 height=23 xoffset=1 yoffset=11 xadvance=22 page=0 chnl=0 +char id=1058 x=378 y=38 width=19 height=24 xoffset=0 yoffset=11 xadvance=21 page=0 chnl=0 +char id=1059 x=354 y=38 width=22 height=24 xoffset=-2 yoffset=10 xadvance=20 page=0 chnl=0 +char id=1060 x=307 y=2 width=26 height=28 xoffset=0 yoffset=9 xadvance=27 page=0 chnl=0 +char id=1061 x=55 y=38 width=21 height=25 xoffset=-1 yoffset=10 xadvance=20 page=0 chnl=0 +char id=1062 x=224 y=2 width=24 height=29 xoffset=0 yoffset=11 xadvance=25 page=0 chnl=0 +char id=1063 x=265 y=38 width=21 height=24 xoffset=-1 yoffset=11 xadvance=22 page=0 chnl=0 +char id=1064 x=212 y=38 width=31 height=24 xoffset=0 yoffset=11 xadvance=33 page=0 chnl=0 +char id=1065 x=250 y=2 width=31 height=29 xoffset=0 yoffset=11 xadvance=32 page=0 chnl=0 +char id=1066 x=188 y=38 width=22 height=24 xoffset=0 yoffset=11 xadvance=24 page=0 chnl=0 +char id=1067 x=159 y=38 width=27 height=24 xoffset=0 yoffset=11 xadvance=29 page=0 chnl=0 +char id=1068 x=140 y=38 width=17 height=24 xoffset=0 yoffset=11 xadvance=19 page=0 chnl=0 +char id=1069 x=368 y=65 width=19 height=23 xoffset=1 yoffset=11 xadvance=22 page=0 chnl=0 +char id=1070 x=321 y=65 width=30 height=23 xoffset=0 yoffset=11 xadvance=33 page=0 chnl=0 +char id=1071 x=409 y=65 width=21 height=23 xoffset=-2 yoffset=11 xadvance=21 page=0 chnl=0 +char id=1072 x=470 y=116 width=15 height=17 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=1073 x=453 y=2 width=15 height=26 xoffset=1 yoffset=8 xadvance=18 page=0 chnl=0 +char id=1074 x=203 y=141 width=16 height=17 xoffset=-1 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1075 x=78 y=141 width=14 height=17 xoffset=-1 yoffset=17 xadvance=15 page=0 chnl=0 +char id=1076 x=375 y=91 width=17 height=23 xoffset=-1 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1077 x=375 y=116 width=14 height=17 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=0 +char id=1078 x=235 y=116 width=26 height=17 xoffset=-1 yoffset=17 xadvance=26 page=0 chnl=0 +char id=1079 x=263 y=116 width=13 height=17 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=0 +char id=1080 x=293 y=116 width=19 height=17 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=1081 x=470 y=2 width=19 height=26 xoffset=-1 yoffset=8 xadvance=19 page=0 chnl=0 +char id=1082 x=356 y=116 width=17 height=17 xoffset=-1 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1083 x=198 y=116 width=18 height=18 xoffset=0 yoffset=16 xadvance=19 page=0 chnl=0 +char id=1084 x=174 y=116 width=22 height=18 xoffset=-1 yoffset=16 xadvance=22 page=0 chnl=0 +char id=1085 x=411 y=116 width=19 height=17 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=1086 x=432 y=116 width=15 height=17 xoffset=0 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1087 x=449 y=116 width=19 height=17 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=1088 x=83 y=91 width=17 height=23 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=1089 x=487 y=116 width=13 height=17 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=0 +char id=1090 x=0 y=141 width=17 height=17 xoffset=-1 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1091 x=155 y=65 width=17 height=24 xoffset=-2 yoffset=16 xadvance=16 page=0 chnl=0 +char id=1092 x=118 y=2 width=23 height=30 xoffset=1 yoffset=10 xadvance=26 page=0 chnl=0 +char id=1093 x=92 y=116 width=16 height=19 xoffset=-1 yoffset=16 xadvance=17 page=0 chnl=0 +char id=1094 x=464 y=65 width=19 height=23 xoffset=-1 yoffset=17 xadvance=19 page=0 chnl=0 +char id=1095 x=38 y=141 width=18 height=17 xoffset=-1 yoffset=17 xadvance=18 page=0 chnl=0 +char id=1096 x=63 y=116 width=27 height=19 xoffset=-1 yoffset=16 xadvance=27 page=0 chnl=0 +char id=1097 x=174 y=65 width=26 height=24 xoffset=-1 yoffset=16 xadvance=27 page=0 chnl=0 +char id=1098 x=159 y=141 width=21 height=17 xoffset=-1 yoffset=17 xadvance=21 page=0 chnl=0 +char id=1099 x=258 y=141 width=24 height=17 xoffset=-1 yoffset=17 xadvance=24 page=0 chnl=0 +char id=1100 x=314 y=141 width=16 height=17 xoffset=-1 yoffset=17 xadvance=16 page=0 chnl=0 +char id=1101 x=332 y=141 width=13 height=17 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=0 +char id=1102 x=330 y=116 width=24 height=17 xoffset=-1 yoffset=17 xadvance=25 page=0 chnl=0 +char id=1103 x=58 y=141 width=18 height=17 xoffset=-2 yoffset=17 xadvance=17 page=0 chnl=0 +char id=1105 x=139 y=65 width=14 height=24 xoffset=0 yoffset=10 xadvance=16 page=0 chnl=0 +kernings count=0 diff --git a/assets/fonts/FontText.png b/assets/fonts/FontText.png new file mode 100644 index 0000000..3ce7c87 Binary files /dev/null and b/assets/fonts/FontText.png differ diff --git a/assets/sprites/gui/ui.atlas b/assets/sprites/gui/ui.atlas new file mode 100644 index 0000000..0017372 --- /dev/null +++ b/assets/sprites/gui/ui.atlas @@ -0,0 +1,17 @@ +ui.png +size:64,64 +repeat:none +idle +bounds:0,28,32,36 +split:7,7,7,11 +pad:7,7,7,11 +pressed +bounds:32,32,32,32 +split:7,7,7,7 +pad:7,7,7,7 +square +bounds:32,0,32,32 +split:4,4,4,4 +pad:4,4,4,4 +tile +bounds:0,27,1,1 diff --git a/assets/sprites/gui/ui.png b/assets/sprites/gui/ui.png new file mode 100644 index 0000000..6deca83 Binary files /dev/null and b/assets/sprites/gui/ui.png differ diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin new file mode 100644 index 0000000..ff44768 --- /dev/null +++ b/assets/sprites/gui/ui.skin @@ -0,0 +1,345 @@ +{ + com.badlogic.gdx.graphics.Color: { + white: { hex: "#ffffffff" }, + store_item: { hex: "#bbbbbbff" }, + store_item_hover: { hex: "#ffffffff" }, + store_item_disabled: { hex: "#888888ff" }, + store_item_price_available: { hex: "#00ff00ff" }, + store_item_price_disabled: { hex: "#ff0000ff" }, + store_item_amount: { hex: "#1b1412ff" }, + orange: { hex: "#ffa300ff" }, + yellow: { hex: "#ffec27ff" }, + }, + com.badlogic.gdx.scenes.scene2d.ui.Skin$TintedDrawable: { + button_pressed: { + color: { hex: "#ad6235ff" }, + name: pressed + }, + button_idle: { + color: { hex: "#cb7e39ff" }, + name: idle + }, + button_hover: { + color: { hex: "#e58b41ff" }, + name: idle + }, + button_disabled: { + color: { hex: "#1f1f1fff" }, + name: pressed + }, + bg: { + color: { hex: "#1f1f1fff" }, + name: pressed + }, + bg2: { + color: { hex: "#2b221fff" }, + name: pressed + }, + white_tile: { + color: white, + name: tile + }, + halftransparentblack: { + color: { hex: "#00000099" }, + name: tile + }, + black: { + color: { hex: "#000000" }, + name: tile + }, + // Store + store: { + color: { hex: "#59413aff" }, + name: square + }, + store_control: { + color: { hex: "#47312cff" }, + name: tile + }, + store_list: { + color: { hex: "#30221eff" }, + name: tile + }, + store_item: { + color: { hex: "#402d28ff" }, + name: tile + }, + store_item_hover: { + color: { hex: "#4b352fff" }, + name: tile + }, + store_item_disabled: { + color: { hex: "#30221eff" }, + name: tile + }, + buy_button_pressed: { + color: { hex: "#006e04ff" }, + name: pressed + }, + buy_button_idle: { + color: { hex: "#37cb39ff" }, + name: idle + }, + buy_button_hover: { + color: { hex: "#84e581ff" }, + name: idle + }, + buy_button_disabled: { + color: { hex: "#132813ff" }, + name: pressed + }, + sell_button_pressed: { + color: { hex: "#6e0008ff" }, + name: pressed + }, + sell_button_idle: { + color: { hex: "#cb3238ff" }, + name: idle + }, + sell_button_hover: { + color: { hex: "#e53e41ff" }, + name: idle + }, + sell_button_disabled: { + color: { hex: "#280405ff" }, + name: pressed + }, + // Progress bar + bar_fg: { + color: { hex: "#00ff00ff" }, + name: tile + }, + bar_bg: { + color: { hex: "#222222ff" }, + name: tile + }, + }, + // TODO: Test this file path on Android platform + com.badlogic.gdx.graphics.g2d.BitmapFont: { + default: { + file: fonts/FontText.fnt, + scaledSize: 24 + }, + defaultMobile: { + file: fonts/FontText.fnt, + scaledSize: 48 + }, + small: { + file: fonts/FontText.fnt, + scaledSize: 18 + }, + store_item_name: { + file: fonts/FontText.fnt, + scaledSize: 19 + }, + store_item_name_mobile: { + file: fonts/FontText.fnt, + scaledSize: 36 + }, + store_item_price: { + file: fonts/FontText.fnt, + scaledSize: 18 + }, + store_item_price_mobile: { + file: fonts/FontText.fnt, + scaledSize: 30 + }, + store_item_amount: { + file: fonts/FontText.fnt, + scaledSize: 48 + }, + store_control: { + file: fonts/FontText.fnt, + scaledSize: 18 + }, + store_control_mobile: { + file: fonts/FontText.fnt, + scaledSize: 36 + }, + tooltip: { + file: fonts/FontText.fnt, + scaledSize: 19 + }, + slots: { + file: fonts/FontText.fnt, + scaledSize: 16 + }, + credits: { + file: fonts/FontText.fnt, + scaledSize: 16 + }, + credits_mobile: { + file: fonts/FontText.fnt, + scaledSize: 32 + } + }, + com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: { + default: { + font: default, + fontColor: { hex: "#763b29ff" }, + up: button_idle, + down: button_pressed, + 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 + }, + store_buy: { + font: store_control, + fontColor: { hex: "#3d763aff" }, + up: buy_button_idle, + down: buy_button_pressed, + over: buy_button_hover, + disabled: buy_button_disabled, + }, + store_buy_mobile: { + parent: store_buy, + font: store_control_mobile + }, + store_sell: { + font: store_control, + fontColor: { hex: "#761a1dff" }, + up: sell_button_idle, + down: sell_button_pressed, + over: sell_button_hover, + disabled: sell_button_disabled, + }, + store_sell_mobile: { + parent: store_sell, + font: store_control_mobile + }, + link: { + font: small, + fontColor: yellow, + overFontColor: orange, + focusedFontColor: orange, + downFontColor: orange + }, + }, + com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: { + default: { + 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 + }, + store_item_hover_mobile: { + parent: store_item_hover, + font: store_item_name_mobile + }, + store_item_disabled: { + 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 + }, + store_item_amount: { + font: store_item_amount, + fontColor: store_item_amount + }, + slots: { + font: slots, + fontColor: white + }, + slotsMobile: { + parent: slots, + font: defaultMobile + }, + credits_name: { + font: credits, + fontColor: white + }, + credits_name_mobile: { + parent: credits_name, + font: credits_mobile, + }, + credits_role: { + font: credits, + fontColor: yellow + }, + credits_role_mobile: { + parent: credits_role, + font: credits_mobile, + }, + }, + com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: { + default: { + font: default, + fontColor: white, + background: button_disabled + }, + defaultMobile: { + parent: default, + font: defaultMobile + } + }, + com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: { + default: { + label: { + font: tooltip + }, + background: button_disabled + } + }, + com.badlogic.gdx.scenes.scene2d.ui.ProgressBar$ProgressBarStyle: { + default-horizontal: { + background: bar_bg, + knobBefore: bar_fg + } + }, + com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: { + default-horizontal: { + background: bg, + knob: button_hover, + knobBefore: button_pressed + } + }, + com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: { + default: { + vScroll: bg, + vScrollKnob: button_hover + } + } +} diff --git a/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java b/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java new file mode 100644 index 0000000..ed9a2f0 --- /dev/null +++ b/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java @@ -0,0 +1,7 @@ +package kz.ilotterytea.frogartha.assets; + +public class Assets { + public static class Skins { + public static final String SKIN_UI = "sprites/gui/ui.skin"; + } +} -- cgit v1.2.3