How to Make a Room Side Scrolling in Gamemaker Studios

In This tutorial you will learn how to make your room scroll, while you move

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Opening Up the Room Properties

First double click on the room you want to adjust to make a side scrolling view. Once you have opened up the room properties then click views.

Step 2: Checking Off the Four Boxes

Then make all of the four boxes with a check box with a check mark.

Step 3: Adjusting the Widths and Lengths.

Now in Room Properties under "View in room" and "port on screen" reduce the measurements by 2. So W 1024 is now 512 and H 768 is now 384. These will change how big the screen will look when you run the game.

Step 4: Making the Screen Follow Your Main Character

Now under "object following" click the blue square and click on your main character. This will allow for your screen to follow your main character's movements.

Step 5: Adjusting Final Coordinates Under "object Following"

Now change the Hbor and Vbor to 200 and the Hsp and Vsp to -1. Then your are done.

Step 6: What It Looks Like Before and After

the right picture is the after picture and the left is the before picture.

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions