Game Maker
• If: what is an if statement if statements are the essential parts of programming. They are conditional statements that allow for events to occur. if you want your character to move, you want to set a...
• Array: What is an array ? For the unitiated, an array is essentially a list of variables with a number next to it. Here are a few concrete example to clarify this concept that is often terribly explained....
• Create A Variable: What is a variable ? For a little introduction, to the uninitiated, variables are place holders for data, think of algebra. Variables can be numbers, strings/text or even variations of other...
• Draw Set Valign: Aligns any subsequently drawn text vertically. Syntax: draw_set_valign(valign); Argument Description valign Vertical alignment. Returns: N/A Description This function is used to align text along the...
• Around the World: 1. 16x4 2. half of 5 3. 1 quarter of 6 4. 9 divided by 2 5. 6 tenths as a percentage 6. what is 2 quarters the same as? 7. Square root of 81 8. 12 squared 9. half as a decimal 10. 1 quarter as a...
• Splat (by Davey): Gaming for the win 1. 1 fifth of 10 2. 3x12= 3. 144-121= 4. 14 divided by 7= 5. 8x7= 6.what is 3 quarters of 60? 7. 60 divided by 4= 8. half of 50 9. 1 quarter as a decimal 10. 3 quarters as a...
• Ceil: This function rounds a number up. Example: number = ceil(9.99) The result of this would be number being 10 (not 9).
• Drawing Color: The Drawing Color is the color of text that appears when you use the draw_text() function. It can be changed by the draw_set_color() function. Example: //Lime is light green! draw_set_color(c_lime)...
• Actions (Game Maker): An action in Game Maker is a response set off by an event. For example, if an instance of a player object hit an instance of an asteroid, it causes all the actions in the Collision event for both...
• Game Maker: Side: Learn Game Maker Beginner's Guide Tutorials Make Games with Game Maker GML Text Rooms Player Control Movement Graphics Sound Timing Files Events Instance Object Site Map edit this panel...
• Scratchpad: Cannibalize These Pages getting-started-with-game-maker
• friction (Game Maker): friction ( Game Maker 6.1 7 ) friction - decay the speed of an instance. Description friction decays the speed of an instance every step, no matter what direction it is going. If the speed is not...
• Introduction to Rooms (Game Maker): Rooms are used to create game levels, world maps, title screens, inventory screens etc. Game Maker rooms are the essence of 2D space they have height and width and without at least one room, Game...
• Download and Install Game Maker: This tutorial was written using Game Maker 7. Game Maker 6.1 is still available for download. Download Game Maker 7 Game Maker 7 lite is completely free to download and use. There is no demo. There is...
• List of Game Maker variables: This is a list of all built-in Game Maker variables that are not also global variables or arrays. For a list of global variables, see list of global variables and for a list of arrays, see list of...
• random() (Game Maker): ( Game Maker, 6.1, 7 ) random - generate a random number Syntax rnum = random(x) rnum = returned random real number x = upper limit of random number. Description random() generates a random real...
• List Of Game Maker Terms And Jargon: This is a list of terms that Game Maker users like to throw around as if everyone understands them. If you are confused by a bit of jargon said by a Game Maker users, check this page first. current...
• .gmk (Game Maker): .gmk is the new format for Game Maker source files in Game Maker 7. Even though this is the new file format, you cannot embed it in a webpage. The best you can do to put it online is to zip it up and...
• Editable Game / Engine FAQ (Game Maker): FoldUnfold Table of Contents General Where can I find an Editable Game / Engine? General Where can I find an Editable Game / Engine? Mostly nowhere. This is the same thing as asking Will you...
• Sound in Game Maker: Sound Functions sound_isplaying() sound_loop sound_play sound_stop sound_stop_all
• Files ( Game Maker ): Text Files Load a Text File Create a Text File File Functions file_copy() file_delete() file_exists() file_find_close() file_find_first() file_find_next() file_rename() Directory Functions ...
• Player Control (Game Maker): Player Control in Game Maker. FoldUnfold Table of Contents Keyboard Checking Keys Keyboard Key-Mapping Misc Mouse Mouse Cursor / Pointer Location Checking Mouse Buttons Misc Player Control...
• Graphics in Game Maker: Game Maker graphics. Sprites Sprite Animation end event bbox_bottom - bottom of bounding box. bbox_left - left side of bounding box. bbox_right - right side of bounding box. bbox_top - top side of...
• GML FAQ (Game Maker): This is our unofficial GML FAQ. FoldUnfold Table of Contents General What is GML? What does GML mean? What's a scripting language? Do I have to learn GML to make a game? Do I have to learn GML to...
• Game Maker 7: edit this page Game Maker 7 is the current version of Game Maker. A public beta was released on December 2006. One of the main updates in Game Maker 7.0 is Windows Vista compatibility. This addition...
• Input: Keyboard keyboard_check() - checks to see if a key on the keyboard is currently pressed. keyboard_lastchar - contains last 1024 characters typed by the player keyboard_lastkey - contains the keycode...
• Event constants (Game Maker): Event Constants This is a list of all of the Game Maker Event Constants. Mouse Events ev_global_left_button - Global Left Button Event ev_global_left_press - Global Left Press Event...
• Effect constants (Game Maker): Effect constants These are the constants for Game Maker's built in effects engine. ef_cloud - Cloud ef_ellipse - Ellipse ef_explosion - Explosion ef_firework - Fireworks ef_flare - Flare ef_rain -...
• Movement (Game Maker): FoldUnfold Table of Contents Keeping Track of An Instance's Location, and Teleporting Actions GML Indirectly Moving an Instance Speed and Direction Actions GML Gravity Movement Checking / Planning...
• List Of Game Maker Constants: Game Maker Constants This lists all of the constants built into GM. Color constants Event constants Effect constants
• Game Maker: GML Graphics Player Control Rooms Files Sound Text Timing Movement Actions Game Maker News Apr 29: New Article : Game Maker and The Wiimote. Apr 28: This project is considered inactive again as...
• Movement: Information This page will describe all of the GML related to movement in Game Maker. Movement Actions motion_set(dir,speed) - Set the objects direction with the defined speed. motion_add(dir,speed) -...
• GM7 FAQ: Game Maker 7 FAQ This is a small FAQ regarding the changes from Game Maker 6.1 to Game Maker 7. If you want to see our current general FAQ on Game Maker, please see Game Maker FAQ. FoldUnfold...
• Getting Started with Game Maker: Game Maker in a Nutshell Game Maker is an object-oriented game development tool. The unique thing about Game Maker is its dual functionality between an action based drag and drop interface to the...
• Complete Introduction To Game Maker: Complete Introduction to Game Maker Well, first off, welcome to Game Maker! If you havent done so already, you can download the lastest version of Game Maker (as of this writing, version 7.0) at...
• sprite_index (Game Maker): ( Game Maker 6.1, 7 ) sprite_index - currently displayed sprite. Description sprite_index is an object variable that contains the name of the currently displayed sprite. When using sprite_index keep...
• sprite_height (Game Maker): ( Game Maker 6.1, 7 ) sprite_height - height of the current sprite Description sprite_height contains the height of the current sprite of an instance in pixels. Examples Example of Use ...
• show_score (Game Maker): (Game Maker 6.1, 7) show_score - show the score in window caption Description show_score is a global_variable that sets whether or not to show the score in the window title. If show_score is set to...
• show_lives (Game Maker): (Game Maker 6.1, 7) show_lives - show the lives in window caption Description show_lives is a variable that sets whether or not to show the lives}] in the window title. If {{show_lives is set to true...
• show_health (Game Maker): (Game Maker 6.1, 7) show_health - show the health in window caption Description show_health is a variable that sets whether or not to show the health in the window title. If show_health is set to ...
• score (Game Maker): ( Game Maker 6.1, 7 ) score - score of the game Description score is a built-in global variable used to keep track of the score of a game in Game Maker. You are not required to use it if you don't...
• variable (Game Maker): Variables in Game Maker follow the same rules as variables in most programming languages. Naming Variables Variable names can begin with a letter, number, or underscore ( _ ). Variable names cannot...
• step (Game Maker): A step is Game Maker's equivalent of a game loop. Various things happen during a step and in a specific order. A non-technical definition of a step is that one frame is equal to one step, and the Step...
• sprite (Game Maker): A sprite is an image, or a number of images, that represents something in the game. If a sprite is not animated (a tree in an RPG for example), it only has one image. If it is animated, the sprite has...
• script (Game Maker): Scripts are the closest Game Maker comes to user defined function. A script itself is a bit of text that can be called either directly from GML or the Execute a script action.
• room_width (Game Maker): (( Game Maker 6.1, 7 ) room_width - width of the current room in pixels. Description room_width is the width of the current room. You should note that this is not the width of the view. Examples...
• room_speed (Game Maker): ( Game Maker 6.1, 7 ) room_speed - intended steps per second of the current room. Description room_speed is the target steps per second of the current room. It is not the actual steps per second as if...
• room_caption (Game Maker): ( Game Maker 6.1, 7 ) room_caption - set the window title Description room_caption is a built-in variable that contains the window title (the text at the top of the window of your game). Each room has...
• Rooms (Game Maker): The room in Game Maker is the basic spatial unit of your game world. Rooms can be made into levels, floors of castles, or whatever that requires space for you game objects to live in. Room Tutorials ...
• Outside room event (Game Maker): ( Game Maker 6.1, 7 ) The Outside room event happens when an instance is outside of the current room boundaries. It is useful for destroying bullets that are out of sight and out of mind of the...
• Object (Game Maker): Objects are are core of object oriented programming. Just about anything in your game that can interact with something will be an object. Your main character, enemies, level walls, etc will probably...
• Lives (Game Maker): ( Game Maker 6.1, 7 ) lives - number of lives the player has Description lives is a built-in global variable used to keep track of how many lives the player of your game has. You do not need to use it...
• List of Game Maker tutorials: This page is a list of Game Maker tutorials not hosted here on Game Design Novice. A Alternate Debug Script Describes a script useful for debugging. C Creating a RPG style menu with Game Maker A...
• List of Game Maker naming conventions: This is a list of common naming conventions used by Game Maker users. List of Game Maker naming conventions Naming conventions are important. They help you tell the difference between the sprite that...
• Instance (Game Maker): An instance is a copy of a Game Maker object that is created during runtime. Instances are the actual game objects themselves. In comparison, an object is a prototype from which instances are derived....
• image_yscale (Game Maker): ( Game Maker 6.1, 7 ) image_yscale - vertical scaling of a sprite. Description image_yscale is a local variable that contains the vertical scaling of a sprite. It is by default 1, which means the...
• image_xscale (Game Maker): edit this page ( Game Maker 6.1, 7 ) image_xscale - horizontal scaling of a sprite. Description image_xscale is a local variable that contains the horizontal scaling of a sprite. It is by default 1,...
• image_speed (Game Maker): image_speed ( Game Maker 6.1, 7 ) image_speed - animation speed of a sprite. Description image_speed is the speed at which a sprite animates. Actually, the value of image_speed is added to the...
• image_index (Game Maker): ( Game Maker 6.1, 7 ) image_index - currently displayed subimage Description image_index is an object variable that contains the currently displayed subimage of a sprite. Related Pages image_speed...
• image_blend (Game Maker): ( Game Maker 6.1, 7 Pro) image_blend - blend a color with a sprite Description image_blend is a sprite variable that contains the color blended with the sprite. It does not change the color of the...
• image_angle (Game Maker): ( Game Maker 6.1, 7 Pro ) image_angle - rotation of a sprite. Description image_angle is a local variable that contains the rotation of a sprite in degrees. The value of image_anglecorresponds to...
• image_alpha (Game Maker): ( Game Maker 6.1, 7 pro ) image_alpha - transparency of a sprite Description image_alpha contains a value between 0 and 1. 0 is completely transparent (invisible), 1 is completely opaque, and numbers...
• Global variable (Game Maker): ( Game Maker 6.1, 7 ) A global variable is a variable that can be used by any object in the game. Global Variable Names Global variables follow the same rules for naming as other variables, except for...
• health (Game Maker): ( Game Maker 6.1, 7 ) health - built-in global variable for health or hit points Description health is Game Maker's built in global variable for health. Related pages Events No more health event GML...
• Game Maker Minimum: This is a tutorial that explains the absolute minimum you have to do to get a Game Maker project up and running without an error. This will not teach you how to make a complete game. It will only...
• Game Maker 7.0: Game Maker 7.0 is the upcoming version of Game Maker. A public beta was released on December 2006. One of the main updates in Game Maker 7.0 is Windows Vista compatibility. This addition of code will...
• Game Maker 6.1: Game Maker 6.1 is the current version of Game Maker. It has been around for awhile and soon will be replaced by Game Maker 7, as a beta was released as recently as December of 2006. Game Maker 6.1, as...
• Game Maker 1.1: Game Maker 1.1 was the first publicly available version of Game Maker.
• GML (Game Maker): GML, or Game Maker Language, is Game Maker's built-in scripting language. It is used to program more complex games that is possible with drag and drop. It can be used in the Execute a piece of code...
• fps (Game Maker): (Game Maker 6.1, 7) fps - actual number of frames drawn per second Description fps contains the actual number of frames drawn per second, unlike room_speed which technically contains the maximum...
• Explosion (Game Maker): Explosions are generally just another object with a sprite that looks like an explosion. Explosions are usually created when an object is destroyed. It's important to make sure that the sprite origin...
• Event (Game Maker): An event in Game Maker is when something happens to an instance. For example if one instance collides with another, both receive Collision events. Once an instance has received an event, it triggers...
• Easy Explosions (Game Maker): Introduction Game Maker 6.1 comes with an easy way to show an explosion when an instance is destroyed, actually, two new ways. One is a new action called Create an effect. The second way is the...
• Easy Bullet Time (Game Maker): Introduction Programming bullet time (like in The Matrix) into your game is easier than you may think, in fact, Game Maker comes equipped with a variable that makes it easy to create bullet time. This...
• Tutorials (Game Maker): Beginner's Guide To get a good start in using Game Maker, look at the Game Maker Beginner's Guide. Complete Novice Tutorials Game Maker minimum - the absolute minimum you need to do to get an error...
• Events (Game Maker): Events are triggered when something happens to an instance in Game Maker. This is the main documentation page for Game Maker events. Alarm event - happens when one of the instance's alarms goes off....
• mouse_y (Game Maker): ( Game Maker 6.1, 7 ) mouse_y - vertical position of the mouse cursor in the game window. Description mouse_y is a variable that contains the vertical position of the mouse cursor in the game window....
• Mouse Variables: mouse_x - the x-location of the mouse pointer. mouse_y - the y-location of the mouse pointer.
• keyboard_lastkey (Game Maker): ( Game Maker 6.1, 7 ) keyboard_lastkey - keycode of the last key pressed Description keyboard_lastkey contains the keycode of the last key pressed. Examples Example of Use if(keyboard_lastkey =...
• keyboard_string (Game Maker): ( Game Maker 6.1, 7 ) keyboard_string - last 1024 characters typed by the player. Description keyboard_string contains the last 1024 characters typed by the player. It should be noted that...
• keyboard_lastchar (Game Maker): ( Game Maker 6.1, 7 ) keyboard_lastchar - last key pressed on the keyboard Description keyboard_lastchar contains the last key pressed on the keyboard, as a string. It will change when a new key is...
• Keyboard Variables: keyboard_key - keyboard_lastchar - contains last 1024 characters typed by the player. keyboard_string - contains the last key pressed on the keyboard. keyboard_lastkey - contains the keycode of the...
• mouse_x (Game Maker): ( Game Maker 6.1, 7 ) mouse_x - horizontal position of the mouse cursor in the game window. Description mouse_x is a variable that contains the horizontal position of the mouse. Related Pages mouse_y...
• Input Variables: Most Commonly Used mouse_x - the x-location of the mouse pointer. mouse_y - the y-location of the mouse pointer. Categories of Input Variables Keyboard variables - variables useful for using the...
• gravity_direction (Game Maker): gravity_direction (Game Maker 6.1, 7) gravity_direction - direction of gravity Description gravity_direction is a local variable that contains the direction of gravity. If gravity is set to ,...
• gravity (Game Maker): gravity ( Game Maker 6.1 7 ) gravity - the force of gravity on an object Description gravity is a variable that controls the effect of gravity on an object. The higher the gravity the more pull it...
• vspeed (Game Maker): vspeed ( Game Maker 6.1, 7 ) vspeed - vertical speed of an instance. Description vspeed is a local variable that contains the current vertical speed of a an instance, in pixels per step. A negative...
• speed (Game Maker): speed ( Game Maker 6.1, 7 ) speed - an object's speed Description speed is an object variable that represents and object's speed. It is used in combination with direction, which determines the...
• hspeed (Game Maker): hspeed ( Game Maker 6.1, 7 ) hspeed - horizontal speed of an instance. Description hspeed is a local variable that contains the current horizontal speed of a an instance, in pixels per step. A...
• ystart (Game Maker): ystart ( Game Maker 6.1, 7 ) ystart - the starting y location of an instance. Description ystart is set when an instance is created as the starting y location of the instance. Examples The code in...
• xstart (Game Maker): xstart ( Game Maker 6.1, 7 ) xstart - the starting x location of an instance. Description xstart is set when an instance is created as the starting x location of the instance. Examples The code in...
• y (Game Maker): y ( Game Maker 6.1, 7 ) y - the y-location of an object in a room. Description y is an object's y-location or vertical position. In 2D, the y-location is counted in pixels. Even though y can contain a...
• x (Game Maker): x ( Game Maker 6.1, 7 ) x - the x-location of an object in a room. Description horizontal location - @-- X --@ + x is an object's x-location or horizontal location. In 2D, the x-location is counted...
• Variables (Game Maker): Here you will find links to pages that classify Game Maker variables by general use. alarm caption_health caption_lives caption_score depth fps global variable health lives score show_health...
• Links: Game Maker Pages The official Game Maker website Game Maker Community The official Game Maker forum YoYo Games The official YoYo Games Website YoYo Games Glog The official blog of YoYo Games Game...
• Room FAQ (Game Maker): FoldUnfold Table of Contents General How do I change rooms? room_speed Can I change the room_speed during gameplay? Can different rooms have different speeds? Views Can I view two rooms at the same...
• Sprite FAQ (Game Maker): FoldUnfold Table of Contents General How do I slow down the animation speed of a sprite? How do I rotate a sprite? General How do I slow down the animation speed of a sprite? Lower image_speed....
• Math FAQ (Game Maker): This FAQ describes answers many questions about how math is handled in Game Maker. FoldUnfold Table of Contents General What does var1 += var2 mean? What does var1 -= var2 mean? How do I...
• Healthbar FAQ (Game Maker): General How do I display more than one healthbar for the same object? Just call draw_heatlhbar() twice.
• Noob FAQ (Game Maker): Introduction You have been referred to this FAQ because you are a Game Maker Newbie. This is not necessarily a bad thing, it just means that you are inexperienced in using Game Maker. This FAQ's...
• Game Maker FAQ: Introduction This is a general FAQ for Game Maker. If you are new to Game Maker, see the Noob FAQ. FoldUnfold Table of Contents Introduction General Is Game Maker easy to learn? Do you have to...
• FAQs (Game Maker): On this page you will find various Game Maker FAQs. Must Read Game Maker FAQs Game Maker FAQ - The general all-around Game Maker FAQ. GM7 FAQ - what's new and making the transition to Game Maker 7...
• Program ends before end of the code (Game Maker): If you start your code with this bracket: { , and end the code with this one: } , and then after the ending bracket write some more code you will get the error Program ends before end of the code .
• Variable Name Expected (Game Maker): This one typically appears when you have given a variable the same name as something else. Could be an object name, thus if it is an object name it can not also be a variable name, so a variable name...
• Wrong number of arguments in a function or script: This error is exactly what it says it is. You have provided the wrong number of arguments in a function or script. For example, if you provide three arguments for a function that requires two, you...
• Unknown variable (Game Maker): This error happens when you try to set or retrieve the value of a variable that has not been initialized yet. You can avoid this error by setting the Treat Uninitialized Variables as 0 in Global Game...
• Unknown function or script (Game Maker): This usually happens when you misspell a function or script name. It also happens when you call a function that doesn't exist or a script you haven't written yet.
• Unexpected error occurred when running the game: Most of the time, this is Windows's fault. Reboot your computer and try again. If this doesn't work, your copy of Game Maker may have become corrupted. Run other .gmX files to make sure. If Game Maker...
• Symbol ) Expected (Game Maker): This error happens when you forgot a ) in a nested function call, especially in if construction : if(keyboard_check(ord( Z )) // the last ) is missing it should be : if(keyboard_check(ord( Z ))) ...
• string() (Game Maker): ( Game Maker 6.1, 7 ) string - convert a real number to a string Description rstr string ( numb ) rstr - the returned string numb - the real number to convert string() converts a real number into a...
• room_goto_previous() (Game Maker): ( Game Maker 6.1, 7 ) room_goto_previous - change the current room to the next room Description room_goto_previous ( ) room_goto_previous() changes the current room to the next room. Examples ...
• room_goto_next() (Game Maker): ( Game Maker 6.1, 7 ) room_goto_next - change the current room to the next room Description room_goto_next ( ) room_goto_next() changes the current room to the next room. Examples room_goto_next() ...
• room_goto() (Game Maker): ( Game Maker 6.1, 7 ) room_goto - change the current room Description room_goto ( room_name ) room_name the room to change to. room_goto() changes the current room to one you specify. Examples...
• Room Functions: room_goto() - changes the current room to a specified room. room_goto_next() - changes the current room to the next room. room_goto_previous() - changes the current room to the previous room.
• real( ) (Game Maker): real() ( Game Maker 6.1, 7 ) real - convert a string to a real number Description rnumb = real ( str ) rnumb - the returned real number str - the string to convert real() converts a string into a...
• Negative Array Index (Game Maker): This error happens when an array has a negative index. Example: myvar[-1] = 1;. Notice the -1. That is the array index, but you cannot have negative numbers as the index.
• list of registered Game Maker functions: Some Game Maker functions you only get if you are registered. This list a list of functions available only in the registered version of Game Maker. Color and Alpha Functions draw_set_alpha() - sets...
• list of Game Maker terms: This is a list of terms that Game Maker users like to throw around as if everyone understands them. If you are confused by a bit of jargon said by a Game Maker users, check this page first. current...
• keyboard_check() (Game Maker): ( Game Maker 6.1, 7 ) keyboard_check - check to see if a key is held down Description bool = keyboard_check ( keycode ) bool - or 1 keycode - keycode constant of key to check keyboard_check() checks...
• joystick_direction() (Game Maker): joystick_direction() (Game Maker 6.1, 7) joystick_direction - check the direction of joystick or gamepad. Description keycode joystick_direction ( joynum ) keycode - keycode of direction, as a number...
• joystick_check_button() (Game Maker): joystick_check_button() (Game Maker 6.1, 7) joystick_check_button - check to see if a button is pressed on a joystick Description bool = joystick_check_button ( joystick, button ) bool - 0 or 1...
• is_string( ) (Game Maker): is_string() ( Game Maker 6.1, 7 ) is_string - returns true if its argument is a string. Description bool = is_string ( test ) bool- returned true/false value test - the value to test. Examples ...
• instance_destroy() (Game Maker): instance_destroy() (Game Maker 6.1, 7) instance_destroy - destroy the current instance. Description instance_destroy() instance_destroy() destroys the current instance. It takes no arguments. Related...
• instance_deactivate_all() (Game Maker): Instance_deactivate_all() (Game Maker Game Maker 6.1, 7) instance_deactivate_all - deativate all instances in a room. Description instance_deactivate_all ( notme ) notme = true or false ...
• instance_create() (Game Maker): instance_create() (Game Maker 6.1, 7) instance_create - create an instance of an object Description id = instance_create( x, y, obj ); id = returned instance id x = x location to create object y = y...
• instance_activate_region() (Game Maker): Instance_activate_region (Game Maker 6.1, 7) instance_activate_region - activate all instances inside or outside of a region Description instance_activate_region ( left, top, width, height, inside ) ...
• highscore_show() (Game Maker): highscore_show() (Game Maker 6.1, 7) highscore_show - show the highscore table Description highscore_show ( new_score ) new_score - new score to be added highscore_show() shows the current highscore...
• highscore_set_colors() (Game Maker): highscore_set_colors() (Game Maker 6.1, 7) highscore_set_colors - set the colors of the highscore table Description highscore_set_colors ( background, new, other ) background - background color new -...
• get_integer(): get_integer() (Game Maker 6.1, 7) get_integer - get a number from the user using a pop-up window Description num get_integer ( str, def ) num = returned integer str = message displayed, as string def...
• Input Functions: Joystick Functions joystick_check_button() - checks to see if a button is pressed on a joystick or gamepad. joystick_direction() - returns the current direction of a joystick or gamepad. Keyboard...
• Function (Game Maker): A function in Game Maker is a set of code that accomplishes a specific task. There are no user-defined functions in Game Maker, all functions are built-in. To make your own functions, you have to use...
• frac() (Game Maker): frac() (Game Maker 1.1, 6.1, 7) frac - return the decimal fraction of a number Description num = frac( num ) rnum - returned fraction num - number with fraction frac() returns the decimal fraction...
• floor() (Game Maker): floor() (Game Maker 1.1, 6.1, 7) floor - return the floor of a number Description rnum = floor( num ) rnum - returned floored number num - number to be floored When used, this will always round a...
• event_inherited() (Game Maker): event_inherited() (Game Maker 6.1, 7) event_inherited - call the inherited event of an object Description event_inherited ( ) event_inherited() calls the inherited event of an object. If you declare...
• Misc Functions: event_inherited() - highscore_set_colors() - highscore_show() - instance_activate_region() - instance_create() - instance_deactivate_all() - instance_destroy() -
• draw_text() (Game Maker): draw_text() ( Game Maker 6.1, 7 ) draw_text - draw text to the game window Description draw_text( x, y, text) x - x location of the text to be drawn y - y location of the text to be drawn text - text...
• draw_sprite() (Game Maker): draw_sprite() (Game Maker 6.1, 7) draw_sprite - draw a sprite. Description draw_sprite ( sprite, subimg, x, y ) sprite - sprite to be drawn subimg - subimage of sprite to be drawn x - x-position to...
• draw_set_halign() (Game Maker): draw_set_halign() (Game Maker 6.1, 7) draw_set_halign - set the horizontal alignment of text Description draw_set_halign ( alignment ) alignment - horizontal alignment: fa_left, fa_center, fa_right ...
• draw_set_font() (Game Maker): draw_set_font() (Game Maker 6.1, 7) draw_set_font - set the font used to drawing text Description draw_set_font ( font_name ) font_name - name of the font draw_set_font() sets the font used for...
• draw_set_color() (Game Maker): draw_set_color() (Game Maker 6.1, 7) draw_set_color - set the current drawing color Description draw_set_color ( color ) color - color to set the drawing color draw_set_color() sets the current...
• draw_set_alpha() (Game Maker): draw_set_alpha() (Game Maker 6.1, 7 Pro) draw_set_alpha - set the transparency for drawing functions. Description draw_set_alpha ( alpha ) alpha - set the alpha (transparency) of all draw functions...
• draw_rectangle() (Game Maker): draw_rectangle() ( Game Maker 6.1, 7 ) draw_rectangle - draw a rectangle in the current drawing color Description draw_rectangle(x1,y1,x2,y2,outline) x1 - x-position of top, left corner of rectangle...
• draw_line() (Game Maker): draw_line() (Game Maker 6.1, 7) draw_line - draw a line between two points Description draw_line ( x1, y1, x2, y2 ) x1 - x-position of point one y1 - y-position of point one x2 - x-position of point...
• draw_circle() (Game Maker): draw_circle() (Game Maker 6.1, 7) draw_circle - draw a circle Description draw_circle ( x , y , radius, outline) x - x-position of the center of the circle y - y-position of the center of the circle...
• Drawing Functions (Game Maker): This page lists Game Maker drawing functions by use. Important Note : If a Drawing Function Does Not Work If a drawing function does not work, the first thing you need to do is make sure that you have...
• list of Game Maker errors: Assignment Operator Expected Creating instance for non-existing object DLL errors Negative Array Index Program ends before end of the code Symbol ) expected...
• Lists (Game Maker): list of registered Game Maker functions list of Game Maker terms and jargon list of Game Maker constants list of Game Maker errors list of Game Maker naming conventions list of Game Maker...
• Math Functions: abs() - returns the absolute value of a number. ceil() - returns a number rounded up. floor() - returns a number rounded down. frac() - returns the decimal fraction of a number.
• is_real() (Game Maker): ( Game Maker 6.1, 7 ) is_real - returns true if its argument is a real number. Description bool = is_real ( test ) bool - returned true/false value test - the value to test. Examples this_is_real...
• Functions (Game Maker): This page leads to categorized function pages. data type functions drawing functions math functions random functions room functions misc functions list of registered Game Maker functions
• Game Maker: This page has been moved to : Game Maker.
page revision: 1, last edited: 30 Jun 2012 15:17