Start here
Your First Hour
With GM
A friendly, step-by-step path to help you learn the basics of GameMaker.
Try a bit of GML
1 // Create Event
2 x = 100;
3 y = 100;
4 speed = 2;
5
6 // Step Event
7 x += speed;
8 if (x > 300)
9 speed = -speed;
10 This object moves left and right across the screen.