Working on UI hints
This commit is contained in:
1 parent
3d4560bb51
commit
8552725dfc
28 files changed
+1052
-46
No files matched your search
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_ext.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarPanel",
|
||||
"width": 389,
|
||||
"height": 132.2,
|
||||
"y": -5,
|
||||
"x": -5,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBase002.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBack001.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarFill001.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "healthValue",
|
||||
"x": 255.0,
|
||||
"y": 45.5,
|
||||
"width": 100.0,
|
||||
"height": 44.0,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_gravity": "top",
|
||||
"text": "200/200",
|
||||
"fontSize": 20,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_int.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarPanel",
|
||||
"width": 389,
|
||||
"height": 132.2,
|
||||
"y": -5,
|
||||
"x": -5,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBase002.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBack001.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarFill001.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "healthValue",
|
||||
"x": 255.0,
|
||||
"y": 45.5,
|
||||
"width": 100.0,
|
||||
"height": 44.0,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_gravity": "top",
|
||||
"text": "200/200",
|
||||
"fontSize": 20,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"x": -46,
|
||||
"y": -46,
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"clickZoneWidth": 104,
|
||||
"clickZoneHeight": 104,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Phone001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Phone001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Phone001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "darklandsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 330,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Darklands002_State=Default002.png",
|
||||
"hover": "resources/w/ui/img/Darklands002_State=Selected002.png",
|
||||
"pressed": "resources/w/ui/img/Darklands002_State=Tap002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_int.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands001",
|
||||
"width": 470,
|
||||
"height": 156,
|
||||
"x": 630,
|
||||
"y": 200,
|
||||
"texture": "resources/w/ui/img/Hint_darklands001.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands001_arrow",
|
||||
"width": 24,
|
||||
"height": 118,
|
||||
"x": 860,
|
||||
"y": 110,
|
||||
"texture": "resources/w/ui/img/hint_arrow_up.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -85,9 +85,9 @@
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Darklands001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Darklands001_State=Hover001.png",
|
||||
"pressed": "resources/w/ui/img/Darklands001_State=Pressed001.png"
|
||||
"normal": "resources/w/ui/img/Darklands002_State=Default002.png",
|
||||
"hover": "resources/w/ui/img/Darklands002_State=Selected002.png",
|
||||
"pressed": "resources/w/ui/img/Darklands002_State=Tap002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"x": -46,
|
||||
"y": -46,
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"clickZoneWidth": 104,
|
||||
"clickZoneHeight": 104,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Phone001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Phone001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Phone001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_int.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"x": -46,
|
||||
"y": -46,
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"clickZoneWidth": 104,
|
||||
"clickZoneHeight": 104,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Phone001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Phone001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Phone001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "darklandsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 330,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Darklands002_State=Default002.png",
|
||||
"hover": "resources/w/ui/img/Darklands002_State=Selected002.png",
|
||||
"pressed": "resources/w/ui/img/Darklands002_State=Tap002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_int.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands001",
|
||||
"width": 470,
|
||||
"height": 156,
|
||||
"x": 630,
|
||||
"y": 200,
|
||||
"texture": "resources/w/ui/img/Hint_darklands001.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands001_arrow",
|
||||
"width": 24,
|
||||
"height": 118,
|
||||
"x": 860,
|
||||
"y": 110,
|
||||
"texture": "resources/w/ui/img/hint_arrow_up.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_uni_int.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands003_arrow",
|
||||
"width": 24,
|
||||
"height": 118,
|
||||
"x": 210,
|
||||
"y": 110,
|
||||
"texture": "resources/w/ui/img/hint_arrow_up.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands003",
|
||||
"width": 470,
|
||||
"height": 202,
|
||||
"x": 130,
|
||||
"y": 200,
|
||||
"texture": "resources/w/ui/img/Hint_darklands003_hp.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarPanel",
|
||||
"width": 389,
|
||||
"height": 132.2,
|
||||
"y": -5,
|
||||
"x": -5,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBase002.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBack001.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarFill",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarFill001.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "healthValue",
|
||||
"x": 255.0,
|
||||
"y": 45.5,
|
||||
"width": 100.0,
|
||||
"height": 44.0,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_gravity": "top",
|
||||
"text": "200/200",
|
||||
"fontSize": 20,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Settings001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Settings001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Settings001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "inventoryButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 110,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 151,
|
||||
"clickZoneHeight": 151,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Inventory001_State=Default001.png",
|
||||
"hover": "resources/w/ui/img/Inventory001_State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/Inventory001_State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": 220,
|
||||
"y": -18,
|
||||
"width": 165,
|
||||
"height": 165,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Journal001_State=Default.png",
|
||||
"hover": "resources/w/ui/img/Journal001_State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/Journal001_State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint_darklands002",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"width": 470,
|
||||
"height": 178,
|
||||
"x": 0,
|
||||
"y": 20,
|
||||
"texture": "resources/w/ui/img/Hint_darklands002_attack.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarPanel",
|
||||
"width": 389,
|
||||
"height": 132.2,
|
||||
"y": -5,
|
||||
"x": -5,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBase002.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarBorder",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarBack001.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "healthBarFill",
|
||||
"width": 151.2,
|
||||
"height": 22.8,
|
||||
"y": 49.8,
|
||||
"x": 100.6,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/HealthBarFill001.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "healthValue",
|
||||
"x": 255.0,
|
||||
"y": 45.5,
|
||||
"width": 100.0,
|
||||
"height": 44.0,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_gravity": "top",
|
||||
"text": "200/200",
|
||||
"fontSize": 20,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user