Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
GameMaker Programming By Example

You're reading from   GameMaker Programming By Example Master the development of 2D games by learning to use the powerful GameMaker Language and tools provided by the GameMaker: Studio workspace and engine!

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785887963
Length 212 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Brian Christian Brian Christian
Author Profile Icon Brian Christian
Brian Christian
Steven Isaacs Steven Isaacs
Author Profile Icon Steven Isaacs
Steven Isaacs
Arrow right icon
View More author details
Toc

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 want to make a background that fits the room or one that is fit for repeating itself. If you don't have one ready, you can make it with GameMaker directly. The editor for backgrounds is the same as the sprite editor.

After you've made your background...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime