0% found this document useful (0 votes)
1K views1 page

Game Maker Studio Command Sheet

This document provides a cheat sheet overview of key features in Game Maker: Studio 1.3, including different types of events that can be used, common condition statements, available data types, ways to access levels, sprites, objects and instances, input handling options, movement techniques, collision detection methods, and audiovisual functions. Events that can be used include create, collision, step, drawing, and alarm events. Common condition statements are if/else, while, switch, and for loops. Data types include numbers, strings, arrays, and Game Maker's special data structure types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views1 page

Game Maker Studio Command Sheet

This document provides a cheat sheet overview of key features in Game Maker: Studio 1.3, including different types of events that can be used, common condition statements, available data types, ways to access levels, sprites, objects and instances, input handling options, movement techniques, collision detection methods, and audiovisual functions. Events that can be used include create, collision, step, drawing, and alarm events. Common condition statements are if/else, while, switch, and for loops. Data types include numbers, strings, arrays, and Game Maker's special data structure types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Game Maker: Studio 1.

3 Cheat Sheet
(Date: August 6, 2014; cf. http://docs.yoyogames.com/)

- Events
o create event (executed once upon creation)
o collision events (executed upon collision)
o step events (executed once per frame)
o drawing events (executed after step events)
o alarm events (executed for a given duration)
o mouse events (executed by clicking on an object)

- Conditions
o if () {} (checked once)
o while () {} (checked until condition not met)
o switch () {} (differentiate between options)
o for () {} (repeat within a given range)
! simplified version: repeat () {}

! Data types
o numbers, strings, arrays, special data types (ds_)
o local or global
o random(), randomize(), max/min/clamp

! Levels (room_)

! Sprites (image_) ! Objects (object_) ! instances (instance_)
o Accessing other objects: with () {}

! Input
o Keyboard (keyboard_) ! predefined keys (vk_)
o Mouse (mouse_)
o Touch input (device_)
o Gamepad input (gp_) " only Xinput gamepads so far!

! Movement
o Trigonometry (point_, lengthdir_x/y)
o Direct movement (x/y, speed, direction, gravity, friction)
o Moving on a path (path_)
o Physics-based movement (physics_apply_)
o AI-based movement (mp_grid_)

! Collisions
o Bounding box parameters (bbox_)
o Test for overlaps (collision_)
o Physics collisions (physics_)

! Audiovisual functions
o Background images (background_)
o Drawing on screen (draw_)
o Scrolling viewports (view_)
o Surfaces (surface_)
o Particles (part_type ! part_system ! part_emitter)
o Sound and music (audio_)

You might also like