GM: Resources

From GMpedia.org Wiki

Jump to: navigation, search

Resources include sprites, sounds, backgrounds and scripts used in an object to make a game function. Objects gather all the information from these resources and make a game out of it. Objects themselves are part of the Game Maker resources, along with rooms, in which objects are placed.

Contents

[edit] Current

[edit] Sprites

Sprites are images, animated or non-animated, that can be used to symbolize objects. They are the characters or environment that create a game.

[edit] Sounds

Sounds used in a game are usually MIDI or MP3 format. These sounds can be used to create a musical in-game experience for the player and provide an appropriate mood.

[edit] Backgrounds

Backgrounds are what are used to create the back image of a room. For instance in a space shoot-em-up you would expect to see a starry background.

[edit] Scripts

Scripts are made with GML language. In all respects they are the same as using code in an object. However the major difference with scripts is that you can use arguments that change variables. Scripts can also be used to save space if you have lots of code needed which is the same in a lot of objects.

[edit] Objects

An object in Game Maker resembles one of the most important and basic building blocks for games in Game Maker. An object is - most of the times - the main 'executor' in the game. While it is possible to execute code without objects, objects are seen as the most user-friendly and easiest ways to come about creating a game. This is mainly due to them having events.

[edit] Rooms

A room is the environment where the game, or parts of it, take place. A game literally cannot be run, or even built in Game Maker, without a room. All objects are placed in the room. The room could also execute code without code using its "Creation Code" feature.

[edit] Past

[edit] Data Files

Game Maker 5.x had a resourced called the "data file resource", which was later replaced by a simpler file inclusion mechanism in Game Maker 6.0, that was expanded in later 6.x version and finally in 7.0 to resemble the original data file resource, just outside the Game Maker resource tree.

Personal tools