—a proprietary scripting language designed to balance simplicity for beginners with the depth needed for professional indie titles like Hyper Light Drifter What Makes GML Unique? imperative, dynamically typed language
While you can write everything from scratch, GameMaker provides powerful helpers. gamemaker studio 2 gml
// Else If if (score >= 100) show_message("You win!"); else if (score > 50) show_message("Almost there!"); else show_message("Keep going."); = 100) show_message("You win!")
On native platforms, GML runs via a stack machine, but it can also be compiled directly to C++ for high-performance needs. Core Concepts for Beginners else if (score >
// Direct coordinates x += 5; // Move right y -= 4; // Move up