Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Game Development with Phaser!
You have completed Game Development with Phaser!
Preview
Discover how to create smooth animations and transitions for displaying "Game Over" text and images when the player collides with an enemy.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this video, we're going to learn how
to add a Game Over screen to our game.
0:00
This won't be as simple as the Game Over
screen we created in the previous stage,
0:04
this one will be a bit more complicated.
0:09
We're gonna do a bunch of things
like darken the background,
0:12
animate some text, and
add a background image onto the screen.
0:15
We're gonna be using Phaser's
tweening system to do this.
0:20
If you're not sure what tweening is,
0:24
it's basically a way to
animate objects in a game.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up