Book Image

2D Game Programming in Unity [Video]

By : Dr. Ashley Godbold
Book Image

2D Game Programming in Unity [Video]

By: Dr. Ashley Godbold

Overview of this book

<p><span id="description" class="sugar_field">This course will teach you to develop complicated games using procedurally generating techniques. With the use of prefabs and randomness, this course will discuss the creating of two puzzle games: Concentration and Minesweeper.</span></p> <p><span id="description" class="sugar_field">The first two sections of the course comprise of creating a concentration game, the procedural generation along with logic addition for the Minesweeper game, and finally the last part that covers the steps required to build, host, and share a Unity game using WebGL. In the third and the final section, we’ll talk about the steps required to build, host, and share a Unity game using WebGL. <br /> </span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">A practical guide on 2D Game Development in Unity filled with examples.</span></span></span></p>
Table of Contents (4 chapters)
Chapter 2
Game #3-Minesweeper
Content Locked
Section 5
Revealing the Tiles
The tiles should only reveal their value once the player clicks on them. - Add a Box Collider 2D to the prefab so it can be clicked - Create an OnMouseOver function so that left and right clicks are possible - Make left mouse button reveal the tiles