Game Maker is an integrated development environment (IDE) developed by YoYo Games and Mark Overmars. It uses an intuitive drag-and-drop system that allows users without programming experience to develop games and programs quickly . Game graphics are displayed on the screen through a layering system that determines the depth of each object. Objects in the background are drawn first to ensure that they appear behind the player and other interactive objects. Backgrounds can be animated to simulate both horizontal and vertical movement.
Right-click the "Backgrounds" folder in the Game Maker window and select "Create Background."
Click the "Load Background" button and select the image that you want to use. Click "OK" to save the background.
Right-click the "Rooms" folder in the Game Maker window and select "Create Room."
Click on the "Backgrounds" tab and select "Background 0." Click within the "No Background" field and select your background image from the drop-down menu.
Alter the values in the Horizontal Speed and Vertical Speed fields at the bottom of the Room Edit window. Positive horizontal and vertical numerical values yield a background that moves to the right and downward, respectively. Negative horizontal and vertical numerical values yield a background that moves to the left and upward, respectively. The further the numerical value is from 0, the faster the background will move.
Click the green checkmark in the upper left corner of the Room Edit window to save your background settings.
Animated backgrounds can be used to simulate different types of environmental effects. Water droplets moving downwards can simulate a rainstorm; clouds moving horizontally can simulate wind. Experiment with different animation speeds to find the perfect effect.