Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple jump mechanic using the keyboard and gravity.
// Create Event
ground = y;
jump_speed = -10;
gravity = 0.5;
vspeed = 0;
// Step Event
if (keyboard_check_pressed(vk_space) && y == ground) { vspeed = jump_speed; }
vspeed += gravity;
y += vspeed;
if (y > ground) { y = ground; vspeed = 0; }GameMaker Studio (GMS) is a cross-platform 2D and limited 3D game engine developed by YoYo Games, aimed at rapid development of games with a low barrier to entry. It features a visual drag-and-drop interface, scripting via GameMaker Language (GML), and extensive platform export options.
Origin & Creator
Originally created by Mark Overmars in 1999 as Animo, later renamed Game Maker, it evolved into GameMaker Studio under YoYo Games in 2011 with modern features and cross-platform support.
Industrial Note
GameMaker Studio is popular in the indie game industry, especially for 2D games, prototypes, mobile apps, and rapid development projects with limited team sizes.