Thank you mr.men for helping me make basic Ludo. Now my ludo can move again . Now I have many questions.
What is the expected result
I want when the pawn touches B it will automatically go to the next scene (containing educational questions). After answering correctly, the pawn will stay at B and if wrong, the pawn will return to A. The music from the Ludo board is also still playing its sound
What is the actual result
When the game is running, the pawn does go to the next scene. However, when it is about to return to the Ludo board, the pawn returns to its original position. The music even stops when entering the next scene. And plays the sound again from the beginning when returning to the Ludo board.
Here is the illustration. For the command I will post after this
How are you moving between scenes? Iād suggest you use the āPause the scene and start anotherā action. When you finish the second scene, use the āStop the scene and go back to the previous paused oneā action to return.
However, you will probably encounter the issue that when you return to the first scene it will immediately go to the second scene. To avoid this, use a boolean variable that is set to true when the pawn touches B, and set it to false when the pawn is not touching B.
Youāll then need add a condition to check the boolean variable is false before opening up the second scene.
Sorry for the long wait, I ran out of internet quota when I wanted to reply lol.Thanks for helping me, I got a suggestion from a friend to change the āstand still when correct and walk back when wrongā system to a āget points when correctā system to make it easier. So sorry if Iām bothering you