Completing the game code
Before we proceed to final steps to make this game interesting, there are few thing by now you should know
- You can replace boxes with any 2D object from asset store to create a game.
- You can change the material, color and texture of boxes.
- 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
increase boxcollected by one
in the pseudocode
Next: Moving the collect box