Coding for a cat and mouse game
In the one below that, the exclamation before the 'catAsleep' means that this is not the case and therefore the '!' is a shortcut for meaning the cat is NOT asleep. Therefore the mouse will have to hide in order to not get caught and therefore mouseHide = true.
We also learnt some coding in order to change the colour of a cube when clicked upon.
Then we started developing our game, which involves spaceships. We learnt how to put the spaceship down to it's most basic shape, re-size the game landscape and spaceship in relation to each other and added a moving engine to the back of the spaceship.
The spaceship with engine activated
How spaceship will look in game mode
No comments:
Post a Comment