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
Learn about what a game engine is and how it can be used to create and develop games for various platforms.
This video doesn't have any notes.
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
Before we go ahead and
start developing a game,
0:00
let's first talk about
what a game engine is.
0:03
A game engine or
0:06
game framework is basically a tool
that helps people create video games.
0:07
Game engines give developers a bunch
of things like physics and rendering,
0:13
animation, a way to create user
interfaces, audio, and so much more.
0:18
The features a game engine provide help
create something called a game loop.
0:24
This is a continuous cycle that runs and
updates the game.
0:29
Let's go through how it works.
0:34
The game loop starts with
processing user input,
0:36
which can be mouse clicks or
keyboard presses.
0:40
Once this happens, the game's logic is
updated based on the input information.
0:43
This might include updating a character's
position or checking for collisions,
0:49
then the game re-renders to display
any of these changes to the user.
0:55
And this cycle repeats continuously
unless the user quits or pauses the game.
1:00
Basically, the game engine takes
away all the difficult parts of game
1:07
development and lets developers focus
on the fun parts of designing a game.
1:11
There are many popular
game engines out there and
1:16
you may have heard of some of them before.
1:19
Engines like Unity,
Unreal Engine, Godot, and
1:22
many others can be used for
3D and 2D games.
1:26
There are also engines like
GameMaker: Studio, Cocos2D,
1:29
Phaser, and
others that can only be used for 2D games.
1:35
For this course, we're going to be
using a game engine called Phaser.
1:40
This is one of the most popular
JavaScript-based 2D game engines.
1:43
It's open source and
completely free to use,
1:48
which is great news if
you're money conscious.
1:51
With this out of the way, let's go
ahead and learn more about Phaser.
1:54
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