Javascript games programming using Phaser in Dreamweaver lesson 4 - Animation with spritesheets

686 views · Published 12 August 2015 · 10:45 · Indexed 29 October 2026

Channel: Magic Monk · 2015 · Education

Watch on YouTube

Source code for this lesson:
http://magicmonktutorials.com/phaser/lesson4.html

In this lesson we learn how to rotate the player sprite as we press the arrow keys, so it is facing the same direction as it is moving in. Then we started inserting enemies as a spritesheet and set it up with a a looping animation.

More from this channel