Timeline for How to load the right scene
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 5, 2018 at 12:22 | comment | added | noobprogrammer1337 | I fixed it by just setting the gameover scene after each tutorial then +1 if player dies and -1 when restart is pressed. After that if player goes through i just +2 | |
Dec 5, 2018 at 12:10 | comment | added | Daan | added it into my answer. | |
Dec 5, 2018 at 12:10 | history | edited | Daan | CC BY-SA 4.0 |
added 422 characters in body
|
Dec 5, 2018 at 12:07 | comment | added | Daan | Where do you check if it is the tutorial when health is 0. if you end the scene but do not load a new one, shouldnt that cause the game to jump to the next scene in the scene order? maybe add an if where you can check wether its the tutorial or not. PS. using a switch is probably easier. | |
Dec 5, 2018 at 12:02 | comment | added | noobprogrammer1337 | my tutorials are scenes that the player goes through, so if the player dies in the tutorial my bug is that it goes to gameover then to final level no matter if it was the first tutorial | |
Dec 5, 2018 at 11:59 | history | answered | Daan | CC BY-SA 4.0 |