16 November 2014

Pong tutorial - part 3

In the last step of the Pong tutorial which can be found under the following link:

http://www.awesomeincu.com/tutorials/unity-pong/

I have learnt the following things:
  • Adding a button
  • Making a button work when clicked (in this case it resets the score and the ball)
  • Adding a score screen
  • Making the score screen update when the ball touches the side wall
  • Setting up positions of GUI objects
  • Adding a GUISkin and setting up font appearance and size
This is the stage:


This is the game screen:

What happens when a player wins:

And that's the new code I have followed and learned:



I think I'm starting to understand the basics of C#, and next week I can begin designing a prototype simple enough, that will be achievable for me to code.

No comments:

Post a Comment