© Ben Tyers 2018
Ben TyersPractical GameMaker Projectshttps://doi.org/10.1007/978-1-4842-3745-8_8

8. Bomber

Ben Tyers1 
Worthing, West Sussex, UK

This game you will make in this chapter is a remake of the classic bomber game. It will introduce more GML coding, creating paths on the fly, and other cool features.

There are two aims to this game: collect the fruit and destroy the enemy. You can collect ammo, which you can then try to drop on the enemy. However, you can be damaged by your own as well as enemy bombs.

First, load in the assets needed.

Load in the following sprites; the origin of each is middle center unless indicated otherwise. Another way of importing sprites is to right-click Sprites in the Resources tree and select Create Sprite.

Get Practical GameMaker Projects: Build Games with GameMaker Studio 2 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.