Files
GDevelop/Extensions/DialogueTree/bondage.js/tests/links.json
Todor Imreorov 394eb9488c Fix various DialogueTree ("Yarn") bugs (#1671)
* Fix command at the start of a node merges its text with the node that linked to it
* Fix Yarn skipping text results when commands are used in some cases
* Fix setting/getting variables
* Fix text failing to load when first node is of type text
* Add internal debug mode logging to Yarn
* Fix isdialoguelinetype command never true
* Fix new lines in text not properly detected
* Increase strictness on scrolling so it never overflows
* Fix command call detection for non scrolling text
* Fix: add back autoscroll commands, but make it safer and move it to the scroll function
* Use explicit variable types when setting bondagejs state
* Fix command not getting called sometimes 
* Fix text not terminating sometimes
2020-05-08 12:14:14 +02:00

73 lines
1.3 KiB
JSON

[
{
"title": "OneNode",
"tags": "Tag",
"body": "This is a test line",
"position": {
"x": 449,
"y": 252
},
"colorID": 0
},
{
"title": "ThreeNodes",
"tags": "",
"body": "This is a test line\nThis is another test line[[Option1]]\n[[Option2]]",
"position": {
"x": 449,
"y": 252
},
"colorID": 0
},
{
"title": "Option1",
"tags": "",
"body": "This is Option1's test line",
"position": {
"x": 770,
"y": 84
},
"colorID": 0
},
{
"title": "Option2",
"tags": "",
"body": "This is Option2's test line",
"position": {
"x": 774,
"y": 404
},
"colorID": 0
},
{
"title": "NamedLink",
"tags": "",
"body": "This is a test line\nThis is another test line\n[[First choice|Option1]]\n[[Second choice|Option2]]",
"position": {
"x": 774,
"y": 404
},
"colorID": 0
},
{
"title": "OneLinkPassthrough",
"tags": "",
"body": "First test line\n[[Option1]]",
"position": {
"x": 774,
"y": 404
},
"colorID": 0
},
{
"title": "LinkAfterShortcuts",
"tags": "",
"body": "First test line\n-> Shortcut 1\n\tThis is the first shortcut\n-> Shortcut 2\n\tThis is the second shortcut\n[[First link|Option1]][[Second link|Option2]]",
"position": {
"x": 774,
"y": 404
},
"colorID": 0
}
]