Javascript games programming using Phaser in Dreamweaver lesson 3 - Moving object with arrow keys
881 views · Published 12 August 2015 · 6:42 · Indexed 18 October 2026
Channel: Magic Monk · 2015 · Education
Source code for this lesson: http://magicmonktutorials.com/phaser/lesson3.html In this lesson we learn how to set up the movement of the player so when we press the four arrow keys, it can move up, down, left, right. To do this we needed to define some variables as keyboard listeners, and then we use some if statements to program what happens when these keys are pressed.
More from this channel
-
0:31
Phil & Eddie Basketball / streetball moves compilation
-
4:56
Heroes of Newerth Predator Immortal Tutorial
-
2:15
Swing / salsa lesson 1 social dancing
-
0:50
Gangnam style
-
2:47
Tai Chi demonstration section 1 楊式太極演式 第一段
-
1:42
Amazing magic trick tutorial - see through cards!!
-
8:27
Tai Chi demonstration section 3
-
5:52
Tai Chi tutorial part 2