This commit is contained in:
2017-12-22 17:10:46 +03:00
parent 6345ddcd19
commit 0dd878224b
14 changed files with 88 additions and 136 deletions

View File

@@ -0,0 +1,28 @@
{
"pWidth": 100, "pHeight": 100,
"views": [
{
"@type": "haxework.gui.ImageView",
"image": "@asset:image:resources/images/logo/logo.png",
"contentSize": true, "bottomMargin": 15
},
{
"id": "start_1p",
"@type": "haxework.gui.ButtonView",
"text": "1 Player",
"@style": "button"
},
{
"id": "start_2p",
"@type": "haxework.gui.ButtonView",
"text": "2 Player",
"@style": "button"
},
{
"id": "start_lan",
"@type": "haxework.gui.ButtonView",
"text": "Multiplayer",
"@style": "button"
}
]
}

View File

@@ -3,6 +3,7 @@
"pWidth": 100, "pHeight": 100,
"views": [
{
"visible": false, "inLayout": false,
"id":"top", "@type": "haxework.gui.HGroupView",
"pWidth": 100, "height": 44,
"skin": {
@@ -34,6 +35,10 @@
"fillType": "REPEAT"
},
"views": [
{
"id": "start",
"@type": "ru.m.tankz.view.frames.StartFrame"
},
{
"id": "auth",
"@type": "ru.m.tankz.view.frames.AuthFrame"

View File

@@ -1,18 +1,6 @@
{
"_button_skin": {
"skin": {
"@type": "haxework.gui.skin.ButtonBitmapSkin",
"image": "@asset:image:resources/images/map/map_4.png",
"fillType": "REPEAT"
},
"fontColor": "0xffffff",
"fontEmbed": true,
"fontFamily": "@res:text:fontName",
"fontSize": 16,
"shadowColor": "0x000000"
},
"button_skin": {
"button": {
"width":250, "height":60,
"skin": {
"@type": "haxework.gui.skin.ButtonBitmapSkin",
"upImage": "@asset:image:resources/images/control/button_normal.png",
@@ -20,7 +8,7 @@
"overImage": "@asset:image:resources/images/control/button_over.png",
"fillType": "NINEPATH"
},
"fontColor": "0xffffff"
"fontFamily":"@res:text:font", "fontEmbed":true, "fontColor":"0xE7E0BB", "fontSize":20
},
"label": {