I'm making a platformer, and I want for the player to enter a door and enter the next level.
2 different things, but I feel like I'm doing them wrong.
1st attempt- I tried to change the scene my splitting the up the scene path I wanted to go to and editing the middle of it to change the scene. I named all my scenes numbers, so 1 can be added to them to go to the next.
Reason for failure- Error, cannot convert stringname to string! I have no clue why this is happening. This method seemed the best, so I hope I can make it work.
2nd attempt- I kept the current scene name as a variable, and added 1 to it. Then used that to change it with a similar process for the first attempt
Reason for failure- Error, Invalid get index 'current_scene' (on base: 'null instance').
Thanks in advanced!