I want to make a game in similar vein to I Wanna Be The Guy, and I want to make the entire game just one large level split up into individual screens similar to that game. so when my character gets to the end of each screen, the camera moves to the next screen. but I want to be able to move between screens instead of just making a new layout for each screen. How would I do this?
I think scroll to behaviour can solve this issue
Create an invisible "Camera" sprite, add ScrollTo and MoveTo behaviors to it. When one screen/section is finished - move the Camera sprite using MoveTo behavior to the new section. It will speed up and slow down nicely.
How would I trigger the end of a section? Because I want the player to also be able to backtrack through sections but if I use a collision for that then it just moves to one point and not back.
Develop games in your browser. Powerful, performant & highly capable.
What do you mean by backtrack?
If it's just one continuous level, you can put large invisible sprites for each section. As player enters a new section - move the camera there. This will allow to go forward and back.
Check out some examples here:
I mean backtrack is in move back through previous screens