Category Archives: opinion-piece

Creating an Infinite Runner

In this post, we will start by creating an infinite runner game, a classic game genre on mobile devices; this game will have the following features:

  • The player will have to avoid obstacles by jumping above them.
  • Jumps will be performed when the player presses a key (for the web versions) or when s/he taps once on the right side of the device’s screen (for the Android version).
  • The obstacles will come from the right side of the screen.
  • If the player hits one of the obstacles, the game will be restarted.

  Continue reading

Free PDF Sample Chapters for 7 books on Unity Today.

You can now access a free pdf sample of any of the book published on this website.

ztp_foundationsztp_intermediate ztp_beginner ztp_advanced 2d_platform_kindle 2d_shooter_kindle abgt_puzzle

So far, this list includes 7 books on Unity that teach a wide range of very handy Unity skills (i.e., 2D shooter games, 2D puzzle games, 2D platform games, AI, networked games, collision detection, animation, audio, 2D games, etc); they also provide introductions to C# and JavaScript programming.

If you have been considering some of these topics  you can now download the first chapters of any these books for free today and see how they can help you to create games; here is how:

– Open this page.
– Select a book (i.e., click on it).
– On the new page, select the link “Free Book Sample”.
– Click on the button labelled Checkout; this will take you to a FREE Checkout page where you just have to enter your email address to receive the pdf sample.

That’s it.

PS: If there is a topic that should be covered, please leave a note/comment.



Creating a simple word game

In this section, we will create a word guessing game with Unity, with the following features:

  • A word will be picked at random from an existing list.
  • The letters of the word will be hidden.
  • The players will try to guess each letter by pressing a letter on their keyboard.
  • Once a letter has been discovered it will then be displayed onscreen.
  • The player has a limited number of attempts to guess the word.

So, after completing this tutorial, you will be able to:

  • Read words from a text file.
  • Pick a random word.
  • Process and assess the letters pressed by the player.
  • Display the letters that were correctly guessed by the player.
  • Track and display the score.
  • Check when the player has used too many guesses.


Figure 1: The final game

Continue reading

Creating a 2D Shooter

Creating a 2D Shooter game in Unity: Introduction

In this tutorial, we will learn how to create a simple 2D spaceship that fires missiles with Unity; some of the skills that you will learn along the way include:

  • Creating sprites
  • Instantiating Objects.
  • Add and use Rigidbody physics components for 2D objects.
  • Apply a force on an object.

Continue reading

Meet Jason Game: Developer and Designer who uses Unity and the ZTP book series

A while ago, I was talking to Jason, who is one of the (many) passionate game developers on this mailing list; he has been using the books Unity from Zero to Proficiency series and has made some pretty cool games since then. I thought it would be great if he could share some insights and some of his current projects.

So let’s meet Jason!

Continue reading

Creating a Simple Network Game

The plan for the this small tutorial is to do the following:

  • Create a simple scene where the player is initially represented by a tank (made of simple boxes) and is controlled using the arrow keys.
  • Add networking capabilities so that this scene can be played by (and shared amongst) several players over the same network.

This will be done step-by-step and all the networking aspects will be covered in details, so that you get a solid grasp of implementing a simple networked game; once you understand how to create such a game, you will be able to transfer these skills to a game of your choice.

Continue reading