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



Duration: 9:39
499 views
4


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


2015-08-28How to speed up Windows 10 step 2 - Install a new SSD
2015-08-27Windows 10 tips - how to schedule computer to sleep automatically
2015-08-26How to speed up Windows 10 step 1 - create windows 10 bootable disc
2015-08-23Recycle bin won't empty in Windows fix
2015-08-20Shut down computer automatically after copying / moving files
2015-08-17How to install an external microphone to your video camera
2015-08-16Upgrade to Windows 10 from Windows 8.1
2015-08-12Javascript games programming using Phaser in Dreamweaver lesson 8 - Randomly generating enemies
2015-08-12Javascript games programming using Phaser in Dreamweaver lesson 7 - Firing bullets
2015-08-12Javascript games programming using Phaser in Dreamweaver lesson 6 - Groups of Objects
2015-08-11Javascript games programming using Phaser in Dreamweaver lesson 5 - Collision Detection
2015-08-11Javascript games programming using Phaser in Dreamweaver lesson 3 - Moving object with arrow keys
2015-08-11Javascript games programming using Phaser in Dreamweaver lesson 4 - Animation with spritesheets
2015-08-11Javascript games programming using Phaser in Dreamweaver lesson 2 - Importing Sprites
2015-08-11Javascript games programming using Phaser in Dreamweaver lesson 1 - Setting up game dimensions
2015-08-02Lego Mindstorms EV3 Space Challenge Mission 3 tutorial
2015-08-02Lego Mindstorms EV3 Space Challenge Mission 2 tutorial
2015-07-27Lego Mindstorms EV3 Space Challenge Mission 1 tutorial
2015-07-25Electrical circuits lesson 5: V=IR for multiple components in series
2015-07-23Electrical Circuits Lesson 4 - Multiple components in series - Current
2015-07-19Electrical Circuits Lesson 3: V = IR



Tags:
sprite rotation phaser
phaser collision detection
html5 collision detection
javascript collision detection