Thursday, 12 October 2017

Completing the game code

Previous: Updating our C# code

 Completing the game code 

Before we proceed to final steps to make this game interesting, there are few thing by now you should know
  1. You can replace boxes with any 2D object from asset store to create a game.
  2. You can change the material, color and texture of boxes.
  3. I will post final code and explain. It helps to learn how I arrived at it by checking the pseudo code. This is the only way you can learn to create a good game.

Our goal is to fix

Move playerbox
if collected
increase boxcollected by one
print boxcollected
end if

in the pseudocode

Next: Moving the collect box

No comments:

Post a comment