Trinity Intro to Computer Programming & Game Development 02/11/2019
Name:___________________
Before you begin today’s exercise:
Open the phaser3-example.html in brackets
Also open the phaser3-example.html in firefox
(1) From Brackets:
on line 57
// emitter.startFollow(logo);
uncomment out this line by removing the first 2 // characters.
<file> <Save>
<refresh Firefox>
Write down what happens differently:______________________________________
(2) Change the logo.setBounce(1,1); to (0.5, 0.4)
Write down what happens differently:______________________________________
(3) Change the logo.setBounce(2,1);
Write down what happens differently:______________________________________
(4) Change the {Emitter} speed from 2 to 100: (line 44ish)
Write down what happens differently:______________________________________
(5) Change the {Emitter} speed to 1000.
Write down what happens differently:______________________________________