Javascript games programming using Phaser in Dreamweaver lesson 5 - Collision Detection
Channel:
Subscribers:
65,900
Published on ● Video Link: https://www.youtube.com/watch?v=euNJZF0IduQ
Source code for this lesson:
http://magicmonktutorials.com/phaser/lesson5.html
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.
Other Videos By Magic Monk
Tags:
sprite rotation phaser
phaser collision detection
html5 collision detection
javascript collision detection