What I wanted to do was score 1 point everytime the warrior's sword touches one of the shadows, in other words the bad guy in my trial game. In order to do that I had to first create a the score box which shows you your current score.
To control how you get the a point and when you get the point I had to line up the following blocks...
In doing this, I have made it so that the actual gameplay begins when the z key is pressed. This sets the score the 0 and changed the warrior costume to 'charge' which is it's attacking stance. It also shows that when the warrior sprite is touching the shadow sprite, the score will change by 1 adding to your score.
No comments:
Post a Comment