Building the demolition equipment
We have everything we need to build towers, but this game is all about demolition. The player would become bored if all they had was TNT to destroy the towers. We are going to utilize some more physics functions and create some new equipment: a Wrecking Ball and a Magnetic Crane.
Creating a Wrecking Ball
Let's start with the Wrecking Ball as we have already built a large portion of it. We will utilize the Chain and Anchor and add a Ball to it.
- Create a new Sprite,
spr_WreckingBall
, and loadChapter 6/Sprites/WreckingBall.png
with Remove Background checked. Center the origin and click on OK. - Create a new Object,
obj_WreckingBall
, and apply thespr_WreckingBall
as its Sprite. - We will want the Wrecking Ball to always ...
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.