O'Reilly logo

GameMaker Programming By Example by Steven Isaacs, Brian Christian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making your scrolling platformer scroll

This next part is all about view manipulation in your game, and it's actually really easy. It might just be the easiest thing we teach you in this entire book.

So let's get started! We'll first make a background, and then do the rest of this in the room editor. Create a background resource in your project. If you have one ready to import, make sure that it's not the same throughout and that you'll be able to notice differences at different points in the background. Any size should work, as the room editor lets you stretch or loop your background if it's not perfectly fitting to the room size. Of course, when you stretch your background, it loses some quality, so for a game that you publish, you'll most likely ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required