Enhancements
Add a new Sprite Object and use the Flash.png file for the texture
Add a new Sprite Object and use the Flash.png file for the texture
Add a new Particles Object and use the Particles.png file for the image.
Add a new Particles Object and use the Particles.png file for the image.
Particles Properties
Particles Properties
Initial Properties
Initial Properties
Lifetime properties
Lifetime properties
Add the Tween behaviour to the Flash object
Add the Tween behaviour to the Flash object
Add a function to our group to
Add a function to our group to
add particles and a flash effect for merges.
add particles and a flash effect for merges.
Now call the method whenever there is a merge:
Now call the method whenever there is a merge:
Call the function for every merge
Call the function for every merge
Test the game
Test the game
CONGRATULATIONS!
CONGRATULATIONS!
YOU COMPLETED THE TUTORIAL!
YOU COMPLETED THE TUTORIAL!