Working on messenger

This commit is contained in:
Vladislav Khorev committed 2026-06-05 12:13:02 +03:00
1 parent 9221ab68ac
commit 1fc8120ee0
25 files changed
+445 -259

No files matched your search

+14 -14
View File
@@ -47,7 +47,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Бекзат, сынок, мы c мамой тебе отправили немного денег, постарайся прожить на эти деньги до конца недели!",
"next": "line_2",
"bubbleSlot": "message01in"
"chatBubble": "in"
},
{
"id": "line_2",
@@ -56,7 +56,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Спасибо!",
"next": "end_1",
"bubbleSlot": "message02out"
"chatBubble": "out"
},
{
"id": "end_1",
@@ -75,7 +75,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Жители Бишкека все чаще жалуются на депрессию и апатию. Смотрите свежее видео об этом на нашем канале!",
"next": "end_1",
"bubbleSlot": "message01in"
"chatBubble": "in"
},
{
"id": "end_1",
@@ -94,7 +94,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Бекзат, помнишь мы скидывались на торт для Аиды Джаныбековой? Я тогда еще приносила скатерть, тарелки и нож для торта. И я до сих пор не получила назад ничего.",
"next": "line_2",
"bubbleSlot": "message01in"
"chatBubble": "in"
},
{
"id": "line_2",
@@ -103,7 +103,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Скатерть и тарелки вроде бы лежат в студзоне.",
"next": "line_3",
"bubbleSlot": "message02out"
"chatBubble": "out"
},
{
"id": "line_3",
@@ -112,7 +112,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "А нож?",
"next": "line_4",
"bubbleSlot": "message03in"
"chatBubble": "in"
},
{
"id": "line_4",
@@ -121,7 +121,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Нож, наверное, так и остался в учительской.",
"next": "line_5",
"bubbleSlot": "message04out"
"chatBubble": "out"
},
{
"id": "line_5",
@@ -130,7 +130,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "А давай не \"наверное\"?",
"next": "line_6",
"bubbleSlot": "message05in"
"chatBubble": "in"
},
{
"id": "line_6",
@@ -139,7 +139,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "А давай ты приедешь в универ, зайдешь в учительскую, заберешь нож и отдашь мне?",
"next": "line_7",
"bubbleSlot": "message06in"
"chatBubble": "in"
},
{
"id": "line_7",
@@ -148,7 +148,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "У вас сегодня как раз Аида ведет лекцию. После лекции попросишь у нее ключи от учительской и заберешь нож.",
"next": "line_8",
"bubbleSlot": "message07in"
"chatBubble": "in"
},
{
"id": "line_8",
@@ -157,7 +157,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Почему ты сама не можешь забрать?",
"next": "line_9",
"bubbleSlot": "message08out"
"chatBubble": "out"
},
{
"id": "line_9",
@@ -166,7 +166,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Ты же знаешь, если я встречу Аиду, она 100% даст мне какое-нибудь сложное задание.",
"next": "line_10",
"bubbleSlot": "message09in"
"chatBubble": "in"
},
{
"id": "line_10",
@@ -175,7 +175,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "И потом, это ты у меня брал нож, с чего я должна ходить искать его по всему универу?",
"next": "line_11",
"bubbleSlot": "message10in"
"chatBubble": "in"
},
{
"id": "line_11",
@@ -184,7 +184,7 @@
"portrait": "resources/dialogue/portrait_phone.png",
"text": "Так что жду тебя в универе! Не вздумай прогулять!",
"next": "end_1",
"bubbleSlot": "message11in",
"chatBubble": "in",
"questUnlock" : "aiperi_knife"
},
{
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.
Binary file not shown.
Binary file not shown.
+12 -143
View File
@@ -35,152 +35,26 @@
"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",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_01in.png"
{
"type": "FrameLayout",
"name": "chatMessagesContainer",
"width": "match_parent",
"height": "match_parent"
},
{
"type": "StaticImage",
"name": "message02out",
"width": 320.6,
"height": 64.4,
"x" : 430,
"y" : 1022.6,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"visible": false,
"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",
"visible": false,
"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",
"visible": false,
"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",
"visible": false,
"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",
"visible": false,
"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",
"visible": false,
"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",
"visible": false,
"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",
"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",
"visible": false,
"texture": "resources/w/ui/img/phone/chat02_11in.png"
},
{
{
"type": "StaticImage",
"name": "chatTopCover",
"width": 446.25,
"height": 70.82,
"x" : 0,
"y" : -50.82,
"horizontal_gravity": "center",
"x": 0,
"y": -50.82,
"horizontal_gravity": "center",
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
},
{
"type": "TextButton",
"name": "chatTitleButton",
"horizontal_gravity": "center",
"horizontal_gravity": "center",
"x": 0.0,
"y": 20.0,
"width": 446.25,
@@ -193,12 +67,7 @@
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
],
"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",
@@ -207,4 +76,4 @@
}
]
}
}
}
+13 -36
View File
@@ -35,20 +35,26 @@
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
}
},
{
{
"type": "FrameLayout",
"name": "chatMessagesContainer",
"width": "match_parent",
"height": "match_parent"
},
{
"type": "StaticImage",
"name": "chatTopCover",
"width": 446.25,
"height": 70.82,
"x" : 0,
"y" : -50.82,
"horizontal_gravity": "center",
"x": 0,
"y": -50.82,
"horizontal_gravity": "center",
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
},
{
"type": "TextButton",
"name": "chatTitleButton",
"horizontal_gravity": "center",
"horizontal_gravity": "center",
"x": 0.0,
"y": 20.0,
"width": 446.25,
@@ -61,42 +67,13 @@
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
],
"color": [1.0, 1.0, 1.0, 1.0],
"textures": {
"normal": "resources/w/ui/img/phone/CharHeader002.png",
"hover": "resources/w/ui/img/phone/CharHeader002.png",
"pressed": "resources/w/ui/img/phone/CharHeader002.png"
}
},
{
"type": "StaticImage",
"name": "message01in",
"width": 320.6,
"height": 103.6,
"x" : 430,
"y" : 506.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat01_01in.png"
},
{
"type": "StaticImage",
"name": "message02out",
"width": 116.2,
"height": 43.4,
"x" : 430,
"y" : 453,
"horizontal_gravity": "right",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat01_02out.png"
}
]
}
}
}
+19 -30
View File
@@ -35,10 +35,26 @@
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
}
},
{
"type": "FrameLayout",
"name": "chatMessagesContainer",
"width": "match_parent",
"height": "match_parent"
},
{
"type": "StaticImage",
"name": "chatTopCover",
"width": 446.25,
"height": 70.82,
"x": 0,
"y": -50.82,
"horizontal_gravity": "center",
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
},
{
"type": "TextButton",
"name": "chatTitleButton",
"horizontal_gravity": "center",
"horizontal_gravity": "center",
"x": 0.0,
"y": 20.0,
"width": 446.25,
@@ -51,40 +67,13 @@
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
],
"color": [1.0, 1.0, 1.0, 1.0],
"textures": {
"normal": "resources/w/ui/img/phone/CharHeader003.png",
"hover": "resources/w/ui/img/phone/CharHeader003.png",
"pressed": "resources/w/ui/img/phone/CharHeader003.png"
}
},
{
"type": "StaticImage",
"name": "chatTopCover",
"width": 446.25,
"height": 70.82,
"x" : 0,
"y" : -50.82,
"horizontal_gravity": "center",
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
},
{
"type": "StaticImage",
"name": "message01in",
"width": 320.6,
"height": 103.6,
"x" : 430,
"y" : 506.4,
"horizontal_gravity": "left",
"vertical_gravity": "bottom",
"visible": false,
"texture": "resources/w/ui/img/phone/chat03_01in.png"
}
]
}
}
}