Building a tower toppling game
In order to build a tower toppling game, the first elements we need to create are the support structures. We already have a Steel Pillar, which will be the strongest piece, but we will need several more. There will be three material types that will each have unique physics properties: Steel, Wood, and Glass. There will also need to be two different sizes, large and small, for variation. Finally, we want the large structures to be able to break apart into small chunks of Debris.
Constructing the Pillars and Debris
We will start by building all the additional Steel Pillars and Debris.
- Create a new Sprite,
spr_Pillar_Steel_Small
, and loadChapter 6/Sprites/Pillar_Steel_Small.png
with Remove Background checked. Center the ...
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.