Chapter 11

Coding with GameMaker Language

In This Chapter

arrow Looking at coding examples from the breakout tutorial

arrow Using GameMaker Language code

arrow Coding keyboard controls

arrow Looking at example code for collisions

arrow Coding score displays

arrow Creating an introductory Room and a closing Room

An extremely powerful feature of GameMaker: Studio is the ability to code using GameMaker Language (GML). GameMaker makes it easy for you to add custom code to your game through the Execute Code Action found on the Control tab of the Object Properties window.

To get you acquainted with GML, this chapter uses coding examples from the in-software tutorial, Coding Tutorial, which shows how to create a breakout-style game using GML. Through the example code, you work with Objects that represent a player-controlled bat, a bouncing ball, and a number of other Objects that you can use in your own games.

This chapter ...

Get GameMaker: Studio For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.