It did not detect any errors when some quotation marks removed but the result stays the same, is it because i did not add the resumed log function to the fight scene?
IDK. This was to test if the scene was changing multiple times. Right?
when i encounter the other same type of enemy the fight scene should restart
IDKW to say. Youāll have to keep trying to debug it. Check the value of variables and check the logic.
how do i check though?
What is the current issue? I need a refresher. Has anything changed? What is currently happening or not happening? Are the events the same? If not please post a screenshot of the relevant events. Include the events for multiple scenes if applicable.
here are the screenshots. the results changed slightly, instead of resetting, it just stays in the first fight scene
I donāt see any actions that change scenes.
If the other log events are the way you want them then change the 1st event thatās in red to the same thing.
Which change doesnāt work. A change from the top to bottom or vice-versa?
I donāt see anything obvious. Check the variables involved and make sure the events are being triggered.
Also be careful because I donāt believe GD immediately changes the scene. I belive it doesnāt change the scene until it processes the entire event sheet. So, if another scene change action was triggered it would replace the previous action.
Make sure any conditions that trigger the scene changes are no longer true when the scene is switched or it will trigger the other scene.
Make sure if thereās say a global variable that it gets reset before or immediately after the scene change.
Example
If endGame is true
āset endGame to false
āchange scene
The key is to first find out if each event is being triggered. Then you can see if thereās another event messing things up.
Thatās why I suggested adding text to the debugger.
the top isnāt doing anything
It looks OK. Iām not seeing anything. Try testing the scene change events in a new project just to test the concept. Add 2 scenes and see if the scene change concept is working.
Also, when you preview it make sure you preview it from the earlier scene. The 2nd scene canāt go back to the previous scene if the other scene was never paused.
i think that the transition i used is the problem for a black screen
is there a way to reset transition back to its state?
Iām not familiar with the transition behavior. If it paints on a shape painter then maybe the shape painter could be erased or the transition behavior could be disabled. Maybe itās a matter of transitioning back to the initial or target values. Again, Iām not familiar with the behavior.
someone else might be familiar tho
you mignt need to search for someone who is
I donāt know anyone who might know. You may need to provide more details. If you can make a recording of whatās happening, that might also help. You could put the video on a site like YouTube and add a link to it here.
Otherwise, Iām out of ideas.