Introduction to Game Maker: Objects, Events, and Rooms
From YoYoGames Wiki
|
This tutorial works with... |
Contents |
Introduction
Game Maker in General
This section will cover:
- how does Game Maker work
- an idea about programming
Normally in life, everything is made out of objects, objects are either visible or invisible, and these objects perform actions. Actions to be performed are performed on usual occasions, these occasions are called events. An object can make an action when it is created, before it is destroyed, when it collides with an object, when a key is pressed, when the mouse is hovering over it, and many more.
But where will these objects perform their actions? Actions are performed in rooms. A room is flat, and is not 3d; this means that the game takes place in a 2-dimensional world. However this does not mean that the game cannot have 3d graphics. Inside the rooms, we can place objects. The room is very customizable, you can set the room's backgrounds, and you can have more than one.
Graphics in the game are either a background that are set to a room, or sprites, sprites are animated graphics, that can either be attached to an object, and they will represent the object, or they can be dependent, and the object can call some certain actions to draw the sprite without making a sprite represent the object.
Sounds are sounds! They are either set as background sounds, normal sounds, or even 3d sounds a sound is either played by an object, or in the creation code of a room/object.
Game Maker is a powerful tool that has many actions, one of those actions is drawing text. Text can be drawn with different fonts, and formats. When drawing text, the user can set the font for the text to be written with.
Events
- Main article: Events
Events were previously discussed, and it has been said that they are occasions in which actions will be performed. Now, we will go through these events.
The Game Maker Actions
- Main article: Actions

