Login | Register

GMTutorial's very own GML crash course

For those of you who want to learn GML, no previous knowledge required!

Introduction

About the language GML and an easy start with explaining how to insert comments into your code.

Variables, constans and computing

An explanation of terms such as variables and constants and how they are used in GML. Also explains how to do computing.

Operators

More information about operators, now explaining NOT (!), AND (&&), OR (||) and XOR (^^)

The IF statement

How to create statements such as "If (a>=b) || (a<=b) && (a != b)" and what they mean.

Loops

How to use loops for repetitive tasks. Describes "while", "for" and "do until".

Exercises

Understand what the x and y variable mean to an object
Using functions and predefined variables
Using the draw_text function to draw variables
Draw a table using loops and arrays
RPG-style movement and how to change sprites
Creating a simple car engine using only basic GML
.
Users logged in:

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games