O'Reilly logo

Practical GameMaker Projects: Build Games with GameMaker Studio 2 by Ben Tyers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

8. Bomber

Ben Tyers1 
(1)
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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required