Improved pathfinding logic

This commit is contained in:
Vladislav Khorev committed 2026-05-21 11:48:18 +03:00
1 parent 2659951d8e
commit 3a73f3fbde
36 files changed
+458337 -871

No files matched your search

+140 -8
View File
@@ -833,6 +833,132 @@
"type": "End"
}
]
},
{
"id": "book_dialog003",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Да, вот эта книга! Я возьму ее.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "book_dialog004",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Я вернул книгу на место.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "book_dialog005",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "На этой полке лежат самые скучные книги в этом кабинете.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "book_dialog006",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Я надеюсь, мне эта книга больше не пригодится.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "computer_dialog001",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Это старый библиотечный компьютер, он даже не подключен к интернету.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "computer_dialog002",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "От этого компьютера сейчас не будет никакого толку.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "computer_dialog003",
"start": "line_1",
"nodes": [
{
"id": "line_1",
"type": "Line",
"speaker": "Бекзат",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"text": "Надеюсь мне больше не придется притрагиваться к этому компьютеру.",
"next": "end_1"
},
{
"id": "end_1",
"type": "End"
}
]
},
{
"id": "dialog_report_card001",
@@ -936,7 +1062,9 @@
},
{
"id": "test_cutscene_02",
"background": "resources/test_cutscene001.png",
"background": "resources/black.png",
"backgroundWidth" : 1280,
"backgroundHeight" : 720,
"durationMs": 5000,
"fadeOutMs": 500,
"fadeInMs": 500,
@@ -980,7 +1108,9 @@
},
{
"id": "darklands_exit001",
"background": "resources/test_cutscene001.png",
"background": "resources/black.png",
"backgroundWidth" : 1280,
"backgroundHeight" : 720,
"durationMs": 5000,
"fadeOutMs": 500,
"fadeInMs": 500,
@@ -1002,21 +1132,23 @@
],
"lines": [
{
"speaker": "Бекзат",
"portrait": "resources/hero.png",
"text": "Кажется, после того как я умер, я очнулся.",
"text": "Мгновенно как я упал без сил, что-то сверкнуло.",
"durationMs": 3000
},
{
"speaker": "Бекзат",
"portrait": "resources/hero.png",
"text": "Жесть вообще, хочу спать.",
"text": "Я открыл глаза и понял, что я по-прежнему в универе.",
"durationMs": 3000
},
{
"speaker": "Бекзат",
"portrait": "resources/hero.png",
"text": "Который час?",
"text": "Все тело болело, как будто я всю ночь таскал мешки с цементом.",
"durationMs": 3000
},
{
"portrait": "resources/hero.png",
"text": "А еще мне сильно хотелось спать...",
"durationMs": 2000,
"background": "resources/test_cutscene001.png"
}