Working on ui
This commit is contained in:
parent
1eee415b41
commit
586ffc99b6
@ -13,13 +13,14 @@
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"x" : 300,
|
||||
"x": 210,
|
||||
"y": 75,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint1",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"width": 880,
|
||||
"height": 268,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint1.png",
|
||||
"pulse": {
|
||||
@ -27,7 +28,9 @@
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
@ -38,6 +41,51 @@
|
||||
"texture": "resources/w/ui/img/hint_arrow_down.png"
|
||||
}
|
||||
]
|
||||
}]
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -60,
|
||||
"y": -60,
|
||||
"width": 352,
|
||||
"height": 352,
|
||||
"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": 160,
|
||||
"y": -48,
|
||||
"width": 326,
|
||||
"height": 326,
|
||||
"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": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y" : 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -18,8 +18,8 @@
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint3",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint3.png",
|
||||
"pulse": {
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint5",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint5.png",
|
||||
"pulse": {
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
@ -1,82 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "horizontal",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "right",
|
||||
"spacing": 16,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y" : -200,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6a",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint6a.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint6b",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint6b.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
}
|
||||
]
|
||||
},{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"x": 74,
|
||||
"y" :-46,
|
||||
"clickZoneWidth": 104,
|
||||
"clickZoneHeight": 104,
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"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": "journalButton",
|
||||
"width": 163,
|
||||
"height": 163,
|
||||
"x": -13,
|
||||
"y" :-13,
|
||||
"clickZoneWidth": 89,
|
||||
"clickZoneHeight": 89,
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"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"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@ -1,31 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "journalButton",
|
||||
"width": 229,
|
||||
"height": 229,
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
BIN
resources/w/ui/img/Inventory001_State=Default001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Inventory001_State=Default001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Inventory001_State=Selected001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Inventory001_State=Selected001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Inventory001_State=Tap001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Inventory001_State=Tap001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Location_dorm.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Location_dorm.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Location_uni_ext.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Location_uni_ext.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Location_uni_int.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Location_uni_int.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Menu_modal_box001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Menu_modal_box001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/RedClose001_State=Default001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/RedClose001_State=Default001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/RedClose001_State=Selected001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/RedClose001_State=Selected001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/RedClose001_State=Tap001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/RedClose001_State=Tap001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Settings001_State=Default001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Settings001_State=Default001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Settings001_State=Selected001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Settings001_State=Selected001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/Settings001_State=Tap001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/Settings001_State=Tap001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
25
resources/w/ui/screen_menu.json
Normal file
25
resources/w/ui/screen_menu.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 832,
|
||||
"height": 608,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Menu_modal_box001.png",
|
||||
"hover": "resources/w/ui/img/Menu_modal_box001.png",
|
||||
"pressed": "resources/w/ui/img/Menu_modal_box001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user