Book Image

HTML5 Game Development Hotshot

By : Seng Hin Mak, Makzan Makzan (Mak Seng Hin)
Book Image

HTML5 Game Development Hotshot

By: Seng Hin Mak, Makzan Makzan (Mak Seng Hin)

Overview of this book

Table of Contents (15 chapters)
HTML5 Game Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Mission accomplished


We have created a city-building game. The game has a 2.5D depth with an isometric view. This isometric projection requires some mathematics on both the display and mouse interaction. We have also introduced a time delay to let a player wait for the building construction to be completed. Finally, we save everything so that the players can quit and resume the game at any time. The following is a screenshot of my city stacking up coins: