Part 7 Keyboard Input - Getting Started with Phaser 3

  Рет қаралды 21,604

Ansimuz

Ansimuz

Күн бұрын

Download exercise example files:
ansimuz.itch.i...
If you like my work consider supporting it on Patreon and get access to a growing library of Pixel Art Files : / ansimuz
Find me at:
SHOP: ansimuz.itch.io/
TWITTER: / ansimuz
WEBSITE: ansimuz.com
Music by Smooth McGroove / smoothmcgroove

Пікірлер: 22
@benyoungblood2687
@benyoungblood2687 5 жыл бұрын
In my movePlayerManager() function I had to add an else statement that sets the X and Y velocity to 0. Otherwise I uncontrollably fly around the screen without stopping.
@aleaflm4663
@aleaflm4663 Жыл бұрын
why is no one is talking about this? no one was complaining about this, so I thought that there was something wrong with my browser....
@shlifty-006
@shlifty-006 7 ай бұрын
not everyone has this problem apparently, some people fixed it by deleting certain browser extensions (didn't work for me tho) @@aleaflm4663
@kazz94
@kazz94 4 жыл бұрын
I love how you keep your code clean, clear and organised. Thank you for your videos, you've been a huge help!!
@GabeLevit
@GabeLevit 3 жыл бұрын
This is such a great tutorial. Most tutorials I've seen are just staring at code but this quality of this one is amazing.
@armandomalave4790
@armandomalave4790 5 жыл бұрын
As Ben Youngblood, my ship was continuously moving around. I added " else { this.player.setVelocityX(0)}" and "else {this.player.setVelocityY(0)}" and it solved the problem. now the ship moves as long as I held the button down and stops when the button is released.
@תמירנקר
@תמירנקר 4 жыл бұрын
Dude. Your tutorial is awesome. Learned a lot from it. Many thanks!
@vladislavglad6596
@vladislavglad6596 4 жыл бұрын
2:21 There is really no need to create a separate variable for space bar as createCursorKey() "Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right, and also Space Bar and shift." But that's ok; it is better to explain the details!
@GamerSapss
@GamerSapss 2 жыл бұрын
I don't know if I've just been doing it wrong, but with the method you describe I can only make it so thta it takes every instance of the button being held down instead of a one-time press, I have to use the sepparate variable to be able to use the justDown function, also helps to teach you in case you need more variables than the ones listed, so agreed on the last point so that people can use the keys they want to use
@zj5317
@zj5317 4 жыл бұрын
Uncaught ReferenceError: gameSettings is not defined I tried this.game.gameSettings like how I have to call config, but no luck. Even tried this.gameSettings. No luck. I have the var gameSettings just like yours. var gameSettings = { playerSpeed: 200, } var config = {......
@AlfredLau-xr2oe
@AlfredLau-xr2oe 4 жыл бұрын
Define gameSettings outside onload function and assign it inside onload function, then call gameSettings would be find. The same solution for config
@thehuntix
@thehuntix 2 жыл бұрын
very nice music
@alexmattheis
@alexmattheis 4 жыл бұрын
Thanks.
@aarondreyer7245
@aarondreyer7245 8 ай бұрын
I can't seem to find where to download the 'player.png'. The link in the description only shows the Keyboard Input Example
@attafriski5901
@attafriski5901 5 жыл бұрын
thanks.
@plabanmondal3111
@plabanmondal3111 4 жыл бұрын
I am really curious about the background sound.. he just gave the youtube channel of this sound creator.. I want specifically this sound.. !!!!!!!!
@criss_cross0014
@criss_cross0014 11 ай бұрын
Chrono trigger theme
@plabanmondal3111
@plabanmondal3111 3 жыл бұрын
Which music is this exactly?
@testcenter2000
@testcenter2000 3 жыл бұрын
Chrono Trigger - Corridors of Time (Zeal Theme) Acapella kzbin.info/www/bejne/gKWudKdudsueb9U
@plabanmondal3111
@plabanmondal3111 3 жыл бұрын
@@testcenter2000 Thanks
Part 8 Custom Classes - Getting Started with Phaser 3
4:00
I Made a Game with Intentional Bugs
12:20
Sam Hogan
Рет қаралды 9 МЛН
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,4 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,4 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,1 МЛН
Somebody emailed me a trojan virus
14:06
Bog
Рет қаралды 834 М.
Part 5 Spritesheets - Getting Started with Phaser 3
4:45
Ansimuz
Рет қаралды 30 М.
There Is Something Hiding Inside Earth
11:35
Kurzgesagt – In a Nutshell
Рет қаралды 3,1 МЛН
Animation vs. Math
14:03
Alan Becker
Рет қаралды 70 МЛН
“How do you start Pixel Art?”…Here’s what I did!
12:42
Brandon James Greer
Рет қаралды 452 М.
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 4,9 МЛН
Godot FIGHTING GAME Tutorial | Getting Started & State Machine
8:48
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,4 МЛН