Source code for this lesson:
http://magicmonktutorials.com/phaser/...
In this lesson we enable the arcade physics system and check for collision detection between the player and the alien spaceship, so when they touch the player disappears. We also fix the sprite rotation so that when we move the player diagonally, the sprite rotates to face the same direction.
Sur cette page du site, vous pouvez voir la vidéo en ligne Javascript games programming using Phaser in Dreamweaver lesson 5 - Collision Detection durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Magic Monk 11 août 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 528 fois et il a aimé 4 téléspectateurs. Bon visionnage!