Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
An enemy that follows the player.
// Step Event
var target_x = obj_player.x;
var target_y = obj_player.y;
var speed = 2;
if (x < target_x) { x += speed; }
if (x > target_x) { x -= speed; }
if (y < target_y) { y += speed; }
if (y > target_y) { y -= speed; }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.