Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5a500d

Browse files
authored
Fix fling game tutorial #110
- Users wasn't able to drag instances on the scene. - The publish flow was broken on a logged account on desktop.
2 parents 17d6d24 + 73a1774 commit c5a500d

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

tutorials/in-app/flingGame.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,14 @@
110110
"scene": "startScene"
111111
}
112112
},
113-
"availableLocales": ["en", "fr", "es", "pt", "th", "ar"],
113+
"availableLocales": [
114+
"en",
115+
"fr",
116+
"es",
117+
"pt",
118+
"th",
119+
"ar"
120+
],
114121
"endDialog": {
115122
"content": [
116123
{
@@ -751,6 +758,7 @@
751758
"skippable": true
752759
},
753760
{
761+
"interactsWithCanvas": true,
754762
"elementToHighlightId": "objectInObjectsList:projectile",
755763
"nextStepTrigger": {
756764
"instanceAddedOnScene": "projectile",
@@ -3914,7 +3922,21 @@
39143922
"placement": "bottom"
39153923
},
39163924
"skippable": true,
3917-
"isOnClosableDialog": true
3925+
"isOnClosableDialog": true,
3926+
"shortcuts": [
3927+
{
3928+
"stepId": "ClickOnGenerateLink",
3929+
"trigger": {
3930+
"presenceOfElement": "[id$=online-web-button][id^=launch-export]"
3931+
}
3932+
},
3933+
{
3934+
"stepId": "Login",
3935+
"trigger": {
3936+
"presenceOfElement": "#login-dialog"
3937+
}
3938+
}
3939+
]
39183940
},
39193941
{
39203942
"elementToHighlightId": "#export-dialog #create-account-button",
@@ -3995,7 +4017,7 @@
39954017
"id": "ClickOnGenerateLink",
39964018
"elementToHighlightId": "[id$=online-web-button][id^=launch-export]",
39974019
"nextStepTrigger": {
3998-
"presenceOfElement": "[id$=online-web-button][id^=launch-export][disabled]"
4020+
"presenceOfElement": "#open-online-export-button"
39994021
},
40004022
"tooltip": {
40014023
"description": {
@@ -6564,4 +6586,4 @@
65646586
}
65656587
}
65666588
]
6567-
}
6589+
}

0 commit comments

Comments
 (0)