Working on tutorial refactoring
This commit is contained in:
1 parent
ea8f64c940
commit
9fa120d4ad
82 files changed
+1877
-7563
No files matched your search
@@ -0,0 +1,308 @@
|
||||
{
|
||||
"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": -35,
|
||||
"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": -18,
|
||||
"y": 110,
|
||||
"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": -18,
|
||||
"y": 220,
|
||||
"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_gravity": "bottom",
|
||||
"texture": "resources/w/ui_en/img/Location_dorm.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6aarrow",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"width": 118,
|
||||
"height": 118,
|
||||
"x": 80,
|
||||
"y": 60,
|
||||
"texture": "resources/w/ui/img/hint_arrow_right_bottom.png",
|
||||
"visible": false
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6a",
|
||||
"width": 606,
|
||||
"height": 207,
|
||||
"x": 110,
|
||||
"y": 80,
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"texture": "resources/w/ui_en/img/Hint6a.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6barrow",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"width": 118,
|
||||
"height": 118,
|
||||
"x": 80,
|
||||
"y": 200,
|
||||
"texture": "resources/w/ui/img/hint_arrow_right_bottom.png",
|
||||
"visible": false
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6b",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"width": 630.4,
|
||||
"height": 220.8,
|
||||
"x": 80,
|
||||
"y": 100,
|
||||
"texture": "resources/w/ui_en/img/Hint6b.png",
|
||||
"pulse": {
|
||||
"minScale": 0.82,
|
||||
"maxScale": 0.9,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint7arrow",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"width": 118,
|
||||
"height": 118,
|
||||
"x": 80,
|
||||
"y": 60,
|
||||
"texture": "resources/w/ui/img/hint_arrow_right_bottom.png",
|
||||
"visible": false,
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint7",
|
||||
"width": 579.2,
|
||||
"height": 214.4,
|
||||
"x": 110,
|
||||
"y": 80,
|
||||
"visible": false,
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "bottom",
|
||||
"texture": "resources/w/ui_en/img/Hint_m004android.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint2",
|
||||
"width": 660,
|
||||
"height": 220,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui_en/img/Hint2android.png",
|
||||
"pulse": {
|
||||
"minScale": 0.88,
|
||||
"maxScale": 0.95,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint3",
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui_en/img/Hint3android.png",
|
||||
"pulse": {
|
||||
"minScale": 0.88,
|
||||
"maxScale": 0.95,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint4",
|
||||
"width": 705,
|
||||
"height": 195,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui_en/img/Hint4android.png",
|
||||
"pulse": {
|
||||
"minScale": 0.88,
|
||||
"maxScale": 0.95,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint5",
|
||||
"width": 606,
|
||||
"height": 234.7,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui_en/img/Hint5.png",
|
||||
"pulse": {
|
||||
"minScale": 0.88,
|
||||
"maxScale": 0.95,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 1000
|
||||
},
|
||||
"visible": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user