Wednesday, 30 April 2014

Adding Collectibles


To save time for other areas of the game, i have used a diamond image i found available in the phaser resources. however the diamond image has managed to stay in theme with the rest of my game. the image is pixel art and goes well within the game.  


To improve my game, I want to add collectibles into it. I wanted diamonds into the game the player will have to guide the spaceship into the diamond to collect it. I will put 5 diamonds in the first level, i entered the the diamonds in a group. using a random function i will enter in 5 diamonds in random positions and in a random colour out of the 5 colours in this image.



Like the diamonds i also found this image in the phaser resources. I will enter 3 coins in the level to the level. this time the coins will be individual sprites and set in position. a animation will be added to allow the coin to seem as it is spinning  

No comments:

Post a Comment