Large sidescroller scene

I might be thinking of this entirely wrong, but I am trying to build a very long sidescroller level. Would it all fit within the canvas area on the gamasalad screen then I move the camera across this area cropped way in and moving in X. Or.... Do I draw the entire scene outside of the area shown and somehow move all of the assets instead of the camera? Any good tutorials for this?

Thanks

Comments

  • bob loblawbob loblaw Member, PRO Posts: 793
    edited April 2021

    if it’s a preset scene (eg. sonic type game), move the camera (fixed on the main actor), not all the other actors. it will save on memory use, so the game will run smoother.

    if it’s an endless runner/scrolling shooter set up where your actors don’t get used after the player passes then, spawn the actors off screen and make them move, and destroy them after they move out of view.

Sign In or Register to comment.