Working on inventory
This commit is contained in:
1 parent
dda9f34277
commit
90c57932ec
16 files changed
+617
-399
No files matched your search
@@ -4,43 +4,50 @@
|
||||
"id": "phone",
|
||||
"name": "Телефон",
|
||||
"description": "Я не могу себе представить жизнь без своего телефона.",
|
||||
"icon": "resources/w/ui/img/inv/ItemPhone001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemPhone001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelPhone001.png"
|
||||
},
|
||||
{
|
||||
"id": "journal",
|
||||
"name": "Журнал",
|
||||
"description": "Это мой журнал куда я вношу свои заметки.",
|
||||
"icon": "resources/w/ui/img/inv/ItemJournal001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemJournal001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelJournal001.png"
|
||||
},
|
||||
{
|
||||
"id": "knife",
|
||||
"name": "Серебряный нож",
|
||||
"description": "Этот серебряный нож я одолжил у Айпери, и я должен его вернуть.",
|
||||
"icon": "resources/w/ui/img/inv/ItemKnife001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemKnife001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelKnife001.png"
|
||||
},
|
||||
{
|
||||
"id": "book",
|
||||
"name": "Книга",
|
||||
"description": "Это книга о манасчи Жусупе Мамае.",
|
||||
"icon": "resources/w/ui/img/inv/ItemBook001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemBook001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelBook001.png"
|
||||
},
|
||||
{
|
||||
"id": "note_spell",
|
||||
"name": "Записка",
|
||||
"description": "Тут написано \"Прочитай вслух когда настанет ночь, сквозь двери сможешь ты пройти.\" и текст заклинания.",
|
||||
"icon": "resources/w/ui/img/inv/ItemNote001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemNote001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelNote001.png"
|
||||
},
|
||||
{
|
||||
"id": "report_card",
|
||||
"name": "Зачетка Бегимай",
|
||||
"description": "Это зачетная книжка Бегимай. Сюда нужно поставить оценку за курсовую работу.",
|
||||
"icon": "resources/w/ui/img/inv/ItemSelReportCard001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemReportCard001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelReportCard001.png"
|
||||
},
|
||||
{
|
||||
"id": "coursework",
|
||||
"name": "Курсовая Бегимай",
|
||||
"description": "Это курсовая работа Бегимай, из-за которой она выбросилась из окна.",
|
||||
"icon": "resources/w/ui/img/inv/ItemCoursework001.png"
|
||||
"icon": "resources/w/ui/img/inv/ItemCoursework001.png",
|
||||
"selectedIcon": "resources/w/ui/img/inv/ItemSelCoursework001.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "inventory_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "inventory_items_panel",
|
||||
"x": 50.0,
|
||||
"y": 150.0,
|
||||
"width": 320.0,
|
||||
"height": 420.0,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "panel_background",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 320.0,
|
||||
"height": 420.0,
|
||||
"texture": "resources/w/red.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "inventory_title_text",
|
||||
"x": 20.0,
|
||||
"y": 18.0,
|
||||
"width": 230.0,
|
||||
"height": 34.0,
|
||||
"text": "Inventory",
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"centered": false,
|
||||
"topAligned": true,
|
||||
"paddingX": 0.0,
|
||||
"paddingY": 0.0,
|
||||
"color": [1.0, 1.0, 1.0, 1.0]
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "inventory_items_text",
|
||||
"x": 20.0,
|
||||
"y": 70.0,
|
||||
"width": 280.0,
|
||||
"height": 320.0,
|
||||
"text": "Inventory (Empty)",
|
||||
"fontSize": 18,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"centered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"paddingX": 0.0,
|
||||
"paddingY": 0.0,
|
||||
"maxLines": 14,
|
||||
"color": [1.0, 1.0, 1.0, 1.0]
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "close_inventory_button",
|
||||
"x": 266.0,
|
||||
"y": 16.0,
|
||||
"width": 40.0,
|
||||
"height": 40.0,
|
||||
"text": "X",
|
||||
"fontSize": 20,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": true,
|
||||
"color": [1.0, 1.0, 1.0, 1.0],
|
||||
"textures": {
|
||||
"normal": "resources/w/blue.png",
|
||||
"hover": "resources/w/blue.png",
|
||||
"pressed": "resources/w/blue.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,43 +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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -48,10 +48,10 @@
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -60,
|
||||
"y": -60,
|
||||
"width": 352,
|
||||
"height": 352,
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
@@ -59,23 +59,6 @@
|
||||
"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",
|
||||
|
||||
@@ -1,45 +1,47 @@
|
||||
{
|
||||
"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,
|
||||
"y" : 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint2",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint2.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint2",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint2.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "settingsButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -60,
|
||||
"y": -60,
|
||||
"width": 352,
|
||||
"height": 352,
|
||||
"x": -23,
|
||||
"y": -35,
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"clickZoneWidth": 176,
|
||||
"clickZoneHeight": 176,
|
||||
"textures": {
|
||||
@@ -48,32 +50,16 @@
|
||||
"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",
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,65 @@
|
||||
{
|
||||
"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,
|
||||
"y" : 300,
|
||||
"children": [
|
||||
{
|
||||
"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,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint3",
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint3.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "StaticImage",
|
||||
"name": "hint3",
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint3.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,65 @@
|
||||
{
|
||||
"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,
|
||||
"y" : 300,
|
||||
"children": [
|
||||
{
|
||||
"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,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint4",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint4.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "StaticImage",
|
||||
"name": "hint4",
|
||||
"width": 440,
|
||||
"height": 134,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint4.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,65 @@
|
||||
{
|
||||
"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,
|
||||
"y" : 300,
|
||||
"children": [
|
||||
{
|
||||
"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,
|
||||
"y": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "hint5",
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint5.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": {
|
||||
"durationMs": 600
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "StaticImage",
|
||||
"name": "hint5",
|
||||
"width": 692,
|
||||
"height": 312,
|
||||
"horizontal_gravity": "center",
|
||||
"texture": "resources/w/ui/img/Hint5.png",
|
||||
"pulse": {
|
||||
"minScale": 0.92,
|
||||
"maxScale": 1.08,
|
||||
"periodMs": 1500
|
||||
},
|
||||
"fadeIn": { "durationMs": 600 }
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -13,8 +13,8 @@
|
||||
"spacing": 0,
|
||||
"width": "match_parent",
|
||||
"height": 600,
|
||||
"y" : -250,
|
||||
"x" : 300,
|
||||
"y": -250,
|
||||
"x": 300,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
@@ -34,24 +34,67 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"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": "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": "StaticImage",
|
||||
"name": "location",
|
||||
"width": 380,
|
||||
"height": 64,
|
||||
"y": 30,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_align": "top",
|
||||
"texture": "resources/w/ui/img/Location_dorm.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"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",
|
||||
"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_dorm.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,54 +1,99 @@
|
||||
{
|
||||
"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,
|
||||
"y" : -250,
|
||||
"children": [
|
||||
{
|
||||
"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": "journalButton",
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"x": -13,
|
||||
"y" :-13,
|
||||
"width": 163,
|
||||
"height": 163,
|
||||
"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"
|
||||
"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,
|
||||
"y": -250,
|
||||
"children": [
|
||||
{
|
||||
"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": "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_dorm.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user