diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-29 19:08:37 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-29 19:08:37 +0500 |
| commit | ab2e0e35b3f6619cc8c5fa6e7b30d34e396cb1a9 (patch) | |
| tree | f9c07fced27ffeaab396c185c8bde8f61b870f8e /assets | |
| parent | 421d0f0a8472b3330b5ec4042d0511c423f7f8de (diff) | |
upd: menu layout
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/sprites/gui/widgets.atlas | 113 | ||||
| -rw-r--r-- | assets/sprites/gui/widgets.png | bin | 4897 -> 31819 bytes | |||
| -rw-r--r-- | assets/sprites/gui/widgets.skin | 127 |
3 files changed, 23 insertions, 217 deletions
diff --git a/assets/sprites/gui/widgets.atlas b/assets/sprites/gui/widgets.atlas index 304b75e..dfa7c46 100644 --- a/assets/sprites/gui/widgets.atlas +++ b/assets/sprites/gui/widgets.atlas @@ -1,98 +1,17 @@ - widgets.png -size: 256, 128 -format: RGBA8888 -filter: Nearest, Nearest -repeat: none -coin - rotate: false - xy: 124, 96 - size: 16, 16 - orig: 16, 16 - offset: 0, 0 - index: -1 -down - rotate: false - xy: 140, 112 - size: 16, 16 - split: 2, 2, 2, 2 - pad: 2, 2, 2, 2 - orig: 16, 16 - offset: 0, 0 - index: -1 -frame - rotate: false - xy: 124, 80 - size: 16, 16 - split: 1, 1, 1, 1 - pad: 1, 1, 1, 1 - orig: 16, 16 - offset: 0, 0 - index: -1 -gradient - rotate: false - xy: 124, 112 - size: 16, 16 - orig: 16, 16 - offset: 0, 0 - index: -1 -lvlup - rotate: false - xy: 172, 112 - size: 14, 16 - orig: 14, 16 - offset: 0, 0 - index: -1 -multiplier - rotate: false - xy: 156, 112 - size: 16, 16 - orig: 16, 16 - offset: 0, 0 - index: -1 -over - rotate: false - xy: 124, 64 - size: 16, 16 - split: 2, 2, 2, 2 - pad: 2, 2, 2, 2 - orig: 16, 16 - offset: 0, 0 - index: -1 -package - rotate: false - xy: 0, 0 - size: 124, 128 - orig: 124, 128 - offset: 0, 0 - index: -1 -settings - rotate: false - xy: 124, 50 - size: 14, 14 - orig: 14, 14 - offset: 0, 0 - index: -1 -shop - rotate: false - xy: 140, 96 - size: 16, 16 - orig: 16, 16 - offset: 0, 0 - index: -1 -tile - rotate: false - xy: 156, 96 - size: 16, 16 - orig: 16, 16 - offset: 0, 0 - index: -1 -up - rotate: false - xy: 140, 80 - size: 16, 16 - split: 2, 2, 2, 2 - pad: 2, 2, 2, 2 - orig: 16, 16 - offset: 0, 0 - index: -1 +size:256,256 +repeat:none +exit +bounds:68,2,64,64 +fullscreen +bounds:83,68,64,64 +music_off +bounds:2,134,87,64 +music_on +bounds:2,68,79,64 +russia +bounds:91,134,64,64 +usa +bounds:2,2,64,64 +windowed +bounds:157,134,64,64 diff --git a/assets/sprites/gui/widgets.png b/assets/sprites/gui/widgets.png Binary files differindex f823239..f46646e 100644 --- a/assets/sprites/gui/widgets.png +++ b/assets/sprites/gui/widgets.png diff --git a/assets/sprites/gui/widgets.skin b/assets/sprites/gui/widgets.skin index 0d13f41..e074867 100644 --- a/assets/sprites/gui/widgets.skin +++ b/assets/sprites/gui/widgets.skin @@ -1,124 +1,11 @@ { - - Color: { - blackSemitransparent: {hex: "#00000099"}, - grey: {hex: "#5f574fff" }, - lightgrey: {hex: "#c2c3c7ff" }, - white: {hex: "#fff1e8ff" }, - yellow: {hex: "#ffec27ff" } - }, - com.badlogic.gdx.graphics.g2d.BitmapFont: { - default: { - file: fnt/MaxonTrebuchet.fnt, - scaledSize: 24 - }, - text: { - file: fnt/MaxonTrebuchet.fnt, - scaledSize: 18 - } - } - TintedDrawable: { - plain_up: { - color: { hex: "#30303055" } - name: tile - }, - plain_over: { - color: { hex: "#99999999" } - name: tile - }, - plain_down: { - color: { hex: "#30303022" } - name: tile - }, - bgTile01: { - color: { hex: "#ffa61bff" } - name: tile - }, - gray_tile: { - color: { hex: "#888888" }, - name: tile - }, - green_tile: { - color: { hex: "#00ff00" }, - name: tile - } - bgTile02: { - color: { hex: "#e98e42ff" } - name: tile - }, - board_bg: { - color: { hex: "#00000055" }, - name: gradient - } - } - com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: { - default: { - font: default, - up: up, - down: down, - over: over, - disabled: down - } - }, com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: { - inventory: { - up: lvlup - }, - shop: { - up: shop - }, - gift: { - up: package - } - }, - com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle: { - default: { - up: up, - down: down, - over: over, - disabled: down - }, - slot: { - up: plain_up, - down: plain_down, - over: plain_over, - disabled: plain_down - } - }, - com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: { - default: { - label: { font: default }, - background: up, - wrapWidth: 400 - } - }, - com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: { - default: { - font: default, - fontColor: lightgrey, - focusedFontColor: yellow, - background: plain_up, - focusedBackground: plain_over, - } - }, - com.badlogic.gdx.scenes.scene2d.ui.Table: { - default: { - background: plain_up - }, - board: { - background: board_bg - } - }, - com.badlogic.gdx.scenes.scene2d.ui.ProgressBar$ProgressBarStyle: { - default-horizontal: { - background: gray_tile, - knobBefore: green_tile - } - }, - com.badlogic.gdx.scenes.scene2d.ui.Window$WindowStyle: { - dialog: { - titleFont: default, - background: plain_down - } + quit: { up: exit }, + fullscreen: { up: fullscreen }, + windowed: { up: windowed }, + music_off: { up: music_off }, + music_on: { up: music_on }, + locale_en: { up: usa }, + locale_ru: { up: russia } } }
\ No newline at end of file |
