In This Chapter
Creating a Time Line
Using Objects with Time Lines
Placing a Time Line Object in a Room
Introducing a boss battle
In this chapter, I show you how to create a Room using a Time Line, which you can then use as a level in your game. I conclude the chapter by providing an example of how to create a boss battle.
I’m particularly proud of the boss battle tutorial, because I came up with it on my own after finishing the in-software Scrolling Shooter tutorial (you can find tutorials within GameMaker from the New Project window). As I was teaching myself how to create the boss battle, my research showed me how to perform certain Actions through code instead of using the drag-and-drop Action icons. Later, I learned that I could perform those Actions I coded by hand by using the drag-and-drop Actions. It just goes to show that there are multiple ways to perform the same Actions — by using code or by using the drag-and-drop Action icons. GameMaker is such a flexible tool that you can mix and match handwritten code (through an Execute Code Action; ...