Working on phone messages

This commit is contained in:
Vladislav Khorev committed 2026-05-30 21:27:25 +03:00
1 parent cdab525858
commit 9425f9b19a
20 files changed
+591 -28

No files matched your search

+137
View File
@@ -35,6 +35,143 @@
"type": "End"
}
]
},
{
"id": "dialog_chat_parents001",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Отец",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Бекзат, мы тебе отправили немного денег, постарайся прожить на эти деньги до конца недели!",
"next": "line_2",
"bubbleSlot": "message01in"
},
{
"id": "line_2",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Спасибо!",
"next": "end_1",
"bubbleSlot": "message02out"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "dialog_chat_aiperi001",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Бекзат, помнишь мы скидывались на торт для Аиды Джаныбековой? Я тогда еще приносила скатерть, тарелки и нож для торта. И я до сих пор не получила назад ничего.",
"next": "line_2",
"bubbleSlot": "message01in"
},
{
"id": "line_2",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Скатерть и тарелки вроде бы лежат в студзоне.",
"next": "line_3",
"bubbleSlot": "message02out"
},
{
"id": "line_3",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "А нож?",
"next": "line_4",
"bubbleSlot": "message03in"
},
{
"id": "line_4",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Нож, наверное, так и остался в учительской.",
"next": "line_5",
"bubbleSlot": "message04out"
},
{
"id": "line_5",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "А давай не \"наверное\"?",
"next": "line_6",
"bubbleSlot": "message05in"
},
{
"id": "line_6",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "А давай ты приедешь в универ, зайдешь в учительскую, заберешь нож и отдашь мне?",
"next": "line_7",
"bubbleSlot": "message06in"
},
{
"id": "line_7",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "У вас сегодня как раз Аида ведет лекцию. После лекции попросишь у нее ключи от учительской и заберешь нож.",
"next": "line_8",
"bubbleSlot": "message07in"
},
{
"id": "line_8",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Почему ты сама не можешь забрать?",
"next": "line_9",
"bubbleSlot": "message08out"
},
{
"id": "line_9",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Ты же знаешь, если я встречу Аиду, она 100% даст мне какое-нибудь сложное задание.",
"next": "line_10",
"bubbleSlot": "message09in"
},
{
"id": "line_10",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "И потом, это ты у меня брал нож, с чего я должна ходить искать его по всему универу?",
"next": "line_11",
"bubbleSlot": "message10in"
},
{
"id": "line_11",
"type": "Line",
"speaker": "Айпери",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Так что жду тебя в универе! Не вздумай прогулять!",
"next": "end_1",
"bubbleSlot": "message11in"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "dialog_no_sleep001",
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -4
View File
@@ -69,9 +69,10 @@
"width": 320.6,
"height": 103.6,
"x" : 430,
"y" : 100,
"y" : 506.4,
"horizontal_gravity": "left",
"vertical_gravity": "top",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat01_01in.png"
},
{
@@ -80,9 +81,10 @@
"width": 116.2,
"height": 43.4,
"x" : 430,
"y" : 203.6,
"y" : 453,
"horizontal_gravity": "right",
"vertical_gravity": "top",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat01_02out.png"
}
]
@@ -0,0 +1,189 @@
{
"root": {
"type": "FrameLayout",
"name": "hud_root",
"width": "match_parent",
"height": "match_parent",
"vertical_align": "center",
"horizontal_align": "center",
"children": [
{
"type": "Button",
"name": "phoneExitButton",
"horizontal_gravity": "center",
"vertical_gravity": "center",
"y": 0,
"width": "match_parent",
"height": "match_parent",
"textures": {
"normal": "resources/transparent.png",
"hover": "resources/transparent.png",
"pressed": "resources/transparent.png"
}
},
{
"type": "Button",
"name": "phoneMain",
"horizontal_gravity": "center",
"vertical_gravity": "center",
"y": -60,
"width": 617.4,
"height": 991.2,
"textures": {
"normal": "resources/w/ui/img/phone/PhoneChat001.png",
"hover": "resources/w/ui/img/phone/PhoneChat001.png",
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
}
},
{
"type": "StaticImage",
"name": "message01in",
"width": 320.6,
"height": 148.4,
"x" : 430,
"y" : 1097,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_01in.png"
},
{
"type": "StaticImage",
"name": "message02out",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 1022.6,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_02out.png"
},
{
"type": "StaticImage",
"name": "message03in",
"width": 103.6,
"height": 43.4,
"x" : 430,
"y" : 969.2,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_03in.png"
},
{
"type": "StaticImage",
"name": "message04out",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 894.8,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_04out.png"
},
{
"type": "StaticImage",
"name": "message05in",
"width": 243.6,
"height": 43.4,
"x" : 430,
"y" : 841.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_05in.png"
},
{
"type": "StaticImage",
"name": "message06in",
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 746,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_06in.png"
},
{
"type": "StaticImage",
"name": "message07in",
"width": 320.6,
"height": 106.4,
"x" : 430,
"y" : 629.6,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_07in.png"
},
{
"type": "StaticImage",
"name": "message08out",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 555.2,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_08out.png"
},
{
"type": "StaticImage",
"name": "message09in",
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 459.8,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_09in.png"
},
{
"type": "StaticImage",
"name": "message10in",
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 364.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_10in.png"
},
{
"type": "StaticImage",
"name": "message11in",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 290,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_11in.png"
},
{
"type": "TextButton",
"name": "chatTitleButton",
"horizontal_gravity": "center",
"x": 0.0,
"y": 20.0,
"width": 446.25,
"height": 78.4,
"text": "Айпери",
"textPaddingY": 16.0,
"textPaddingX": 140.0,
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
],
"textures": {
"normal": "resources/w/ui/img/phone/CharHeader001.png",
"hover": "resources/w/ui/img/phone/CharHeader001.png",
"pressed": "resources/w/ui/img/phone/CharHeader001.png"
}
}
]
}
}
+32 -10
View File
@@ -41,9 +41,10 @@
"width": 320.6,
"height": 148.4,
"x" : 430,
"y" : 991.6,
"y" : 1097,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_01in.png"
},
{
@@ -52,9 +53,10 @@
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 917.2,
"y" : 1022.6,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_02out.png"
},
{
@@ -63,9 +65,10 @@
"width": 103.6,
"height": 43.4,
"x" : 430,
"y" : 863.8,
"y" : 969.2,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_03in.png"
},
{
@@ -74,9 +77,10 @@
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 789.4,
"y" : 894.8,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_04out.png"
},
{
@@ -85,9 +89,10 @@
"width": 243.6,
"height": 43.4,
"x" : 430,
"y" : 746,
"y" : 841.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_05in.png"
},
{
@@ -96,9 +101,10 @@
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 650.6,
"y" : 746,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_06in.png"
},
{
@@ -107,9 +113,10 @@
"width": 320.6,
"height": 106.4,
"x" : 430,
"y" : 534.2,
"y" : 629.6,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_07in.png"
},
{
@@ -118,9 +125,10 @@
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 459.8,
"y" : 555.2,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_08out.png"
},
{
@@ -129,21 +137,35 @@
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 364.4,
"y" : 459.8,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_09in.png"
},
{
"type": "StaticImage",
"name": "message10in",
"width": 320.6,
"height": 85.4,
"x" : 430,
"y" : 364.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_10in.png"
},
{
"type": "StaticImage",
"name": "message11in",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 290,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"texture": "resources/w/ui/img/phone/chat02_10in.png"
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_11in.png"
},
{
"type": "TextButton",