Summary

Congratulations on completing your second game! We learned how to simplify the player controls by placing the keyboard checks and collision forecasting into a single script. We covered several ways to deal with Sprite animation from rotating the image to setting what sprites should be displayed. We dealt with global variables and used them to implement a room transitioning system. We covered some new object properties in depth and persistence. Then we spent some time dealing with artificial intelligence through the use of proximity detection and path finding. We even discovered how to make an object navigate a room on its own while avoiding obstacles.

With the skills you have honed in this chapter, you will now be able to build games with ...

Get HTML5 Game Development with GameMaker 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.