Creating Game Prototypes with Phaser 3 - Simon

  Рет қаралды 176

Scott Westover

Scott Westover

Күн бұрын

In this video, we will focus on creating a basic implementation of the game Simon using the Phaser 3 framework! For our game, we will be using the Phaser 3 Prototype Template as a starting point, and then we work on creating the basic layout for our Phaser 3 game. Once this is done, we focus on creating a re-usable Simon class that can be used with any JavaScript framework, and then we update our Phaser 3 game code to use the new class.
Video Chapters
0:00 - Intro
1:17 - Project template
2:10 - Project task list
4:01 - Download assets
4:29 - Update game config
4:47 - Load assets
6:40 - Create buttons
12:58 - Make button interactive
16:56 - Create Simon class
22:23 - Generate random sequence
25:42 - Handle player input
28:46 - Add game state
31:34 - Play sequence
35:34 - Update game logic
43:13 - Add audio
44:50 - Summary and Enhancement ideas
45:55 - Thanks and links to other content
You can download the project template directly from GitHub here: github.com/devshareacademy/ph...
The completed code for the Phaser 3 Simon game prototype can be found here: github.com/devshareacademy/ph...
Interested in more great content?
Check out my videos on Phaser 3 here on KZbin:
• Phaser 3
Check out my free courses here on KZbin:
Monster Tamer - Pokemon like RPG Tutorial with Phaser 3:
• Monster Tamer - Pokemo...
Introduction To GitHub Actions Course:
• Introduction To GitHub...
JavaScript Course:
• Learn JavaScript Course
Follow Me:
/ scott-westover-77393a97
github.com/scottwestover
Blog:
scottwestover.dev/

Пікірлер: 3
@iberryboi
@iberryboi Ай бұрын
You should apply for the content creator role at phaser studio!
@noelpena4567
@noelpena4567 Ай бұрын
Thank you for this walkthrough. I had a question, why do you create private variables with a "#" in front of them? Is that a convention you use personally?
@swestover
@swestover Ай бұрын
Thanks! Yeah, for private fields and methods, I typically try to use the built in javascript method of making the fields and methods as private (using the # as a prefix). However, using the "private" keyword in TypeScript would also work. By using the # method for making fields and methods private, it guarantees when the code is compiled by tsc and at runtime, it will make those values truly private, and not accessible. When using the "private" keyword, this is only considered at compile time, and these fields/members can still be accessed. There are a few other differences, but this is the main reason that I use this syntax.
New Recipe for Pi - Numberphile
14:29
Numberphile
Рет қаралды 286 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 130 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 735 М.
AI business ideas funded by YCombinator
16:31
Harshit Tyagi
Рет қаралды 17 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 252 М.
Software's HUGE Impact On The World | Crowdstrike Global IT Outage
7:05
Continuous Delivery
Рет қаралды 33 М.
Where Did Arch Linux Come From?
16:21
Action Retro
Рет қаралды 29 М.
🤣ПОКУПАЕТ МАШИНУ У ДЕВУШКИ
0:35
MEXANIK_CHANNEL
Рет қаралды 6 МЛН
Quantas vezes os ratinhos caíram?
0:18
F L U S C O M A N I A
Рет қаралды 59 МЛН
Заботьтесь о любимых❤️🫶🏾 инст:sarkison7
0:58
SARKISONCHIK.OFFICIAL
Рет қаралды 3,1 МЛН
POR QUEEEEE DIVERTIDAMENTE !!! #shorts
0:15
LARISSALADA - LARISSA GOMES
Рет қаралды 20 МЛН
Поел индийской еды...
0:15
Новостной Гусь
Рет қаралды 2,8 МЛН
Sigma girl and soap bubbles by Secret Vlog
0:37
Secret Vlog
Рет қаралды 6 МЛН
Funny Escalator #katebrush #shorts
0:11
Kate Brush
Рет қаралды 4 МЛН