188 lines
5.6 KiB
JSON
188 lines
5.6 KiB
JSON
{
|
|
"dialogues": [
|
|
{
|
|
"id": "knife_dialog001",
|
|
"start": "line_1",
|
|
"nodes": [
|
|
{
|
|
"id": "line_1",
|
|
"type": "Line",
|
|
"speaker": "Бермет",
|
|
"portrait": "resources/w/avatar_girlfriend.png",
|
|
"text": "Ты куда собрался, Бекзат?",
|
|
"next": "line_2"
|
|
},
|
|
{
|
|
"id": "line_2",
|
|
"type": "Line",
|
|
"speaker": "Бермет",
|
|
"portrait": "resources/w/avatar_girlfriend.png",
|
|
"text": "Пока ты не заберешь нож из учительской, никуда я тебя не выпущу.",
|
|
"next": "end_1"
|
|
},
|
|
{
|
|
"id": "end_1",
|
|
"type": "End"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cutscenes": [
|
|
{
|
|
"id": "test_cutscene_01",
|
|
"background": "resources/first_cutscene.png",
|
|
"durationMs": 6800,
|
|
"cameraTrack": [
|
|
{
|
|
"durationMs": 2400,
|
|
"from": { "focusX": 0.50, "focusY": 0.55, "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "focusX": 0.63, "focusY": 0.58, "zoom": 1.16, "rotationDeg": -1.0 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 2200,
|
|
"from": { "focusX": 0.63, "focusY": 0.58, "zoom": 1.16, "rotationDeg": -1.0 },
|
|
"to": { "focusX": 0.74, "focusY": 0.52, "zoom": 1.30, "rotationDeg": -2.4 },
|
|
"easing": "EaseInOutCubic"
|
|
},
|
|
{
|
|
"durationMs": 2200,
|
|
"from": { "focusX": 0.74, "focusY": 0.52, "zoom": 1.30, "rotationDeg": -2.4 },
|
|
"to": { "focusX": 0.58, "focusY": 0.46, "zoom": 1.10, "rotationDeg": -0.6 },
|
|
"easing": "EaseOutSine"
|
|
}
|
|
],
|
|
"lines": [
|
|
{
|
|
"speaker": "Narrator",
|
|
"portrait": "resources/hero.png",
|
|
"text": "The air in the room turned cold.",
|
|
"durationMs": 2200
|
|
},
|
|
{
|
|
"speaker": "Ghost",
|
|
"portrait": "resources/w/avatar_ghost.png",
|
|
"text": "Some memories never fade.",
|
|
"durationMs": 2600,
|
|
"background": "resources/loading.png"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "test_cutscene_silent_01",
|
|
"background": "resources/first_cutscene.png",
|
|
"durationMs": 5200,
|
|
"cameraTrack": [
|
|
{
|
|
"durationMs": 2600,
|
|
"from": { "focusX": 0.40, "focusY": 0.54, "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "focusX": 0.58, "focusY": 0.54, "zoom": 1.22, "rotationDeg": 0.8 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 2600,
|
|
"from": { "focusX": 0.58, "focusY": 0.54, "zoom": 1.22, "rotationDeg": 0.8 },
|
|
"to": { "focusX": 0.72, "focusY": 0.48, "zoom": 1.34, "rotationDeg": -0.5 },
|
|
"easing": "EaseOutCubic"
|
|
}
|
|
],
|
|
"lines": []
|
|
},
|
|
{
|
|
"id": "test_cutscene_pan_01",
|
|
"background": "resources/first_cutscene.png",
|
|
"durationMs": 12000,
|
|
"cameraTrack": [
|
|
{
|
|
"durationMs": 1200,
|
|
"from": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"easing": "Linear"
|
|
},
|
|
{
|
|
"durationMs": 2500,
|
|
"from": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "TopLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 2600,
|
|
"from": { "anchor": "TopLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "TopRight", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 1800,
|
|
"from": { "anchor": "TopRight", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "BottomRight", "zoom": 1.72, "rotationDeg": 0.0 },
|
|
"easing": "EaseInCubic"
|
|
},
|
|
{
|
|
"durationMs": 3900,
|
|
"from": { "anchor": "BottomRight", "zoom": 1.72, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "BottomLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
}
|
|
],
|
|
"lines": [
|
|
{
|
|
"speaker": "Narrator",
|
|
"portrait": "resources/hero.png",
|
|
"text": "The memory begins in silence.",
|
|
"durationMs": 2200
|
|
},
|
|
{
|
|
"speaker": "Narrator",
|
|
"portrait": "resources/hero.png",
|
|
"text": "Something is drawing your eyes across the whole scene.",
|
|
"durationMs": 2800
|
|
},
|
|
{
|
|
"speaker": "Ghost",
|
|
"portrait": "resources/ghost_avatar.png",
|
|
"text": "Do not look away.",
|
|
"durationMs": 2400
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "test_cutscene_pan_02",
|
|
"background": "resources/first_cutscene.png",
|
|
"durationMs": 12000,
|
|
"cameraTrack": [
|
|
{
|
|
"durationMs": 1200,
|
|
"from": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"easing": "Linear"
|
|
},
|
|
{
|
|
"durationMs": 2500,
|
|
"from": { "anchor": "Center", "zoom": 1.00, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "TopLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 2600,
|
|
"from": { "anchor": "TopLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "TopRight", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
},
|
|
{
|
|
"durationMs": 1800,
|
|
"from": { "anchor": "TopRight", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "BottomRight", "zoom": 1.72, "rotationDeg": 0.0 },
|
|
"easing": "EaseInCubic"
|
|
},
|
|
{
|
|
"durationMs": 3900,
|
|
"from": { "anchor": "BottomRight", "zoom": 1.72, "rotationDeg": 0.0 },
|
|
"to": { "anchor": "BottomLeft", "zoom": 1.55, "rotationDeg": 0.0 },
|
|
"easing": "EaseInOutSine"
|
|
}
|
|
],
|
|
"lines": []
|
|
}
|
|
]
|
|
}
|