-1 minute: Oh, great! I can maybe learn 1 or 2 in JavaScript. -10 minutes: This is awesome, I'm learning so many new things in JavaScript with ease. Hit Liked and Subscribed. -30 minutes: Damn, I have a future in Game Development. -50 minutes: Shttt, I'm overloaded with Information and Ideas now of what Game I'll be doing. -60 minutes: Hands down! This Tutorial is the best I have seen. After 1 Hour of appreciation, realized to check how many views did this tutorial accumulated now. Sad to say that it only has more than 100k Views. 😢. Everyone! Let's help the man spread this JavaScript tutorial to show our appreciation for uploading a very informative video for FREE.
@TheOnlySirC2 жыл бұрын
It's at 475k views now? What do you mean?
@unibrow93842 жыл бұрын
Do i need to know canvas before starting this project?
@jasonbatester57842 жыл бұрын
@@unibrow9384 no. But u need to have background in Programming to understand. Specially in constructors class and methods.
@jasonbatester57842 жыл бұрын
@@TheOnlySirC yah, it's good and I'm happy as he deserves views more than that with the value of the tutorial.
@unibrow93842 жыл бұрын
@@jasonbatester5784 Yeah, I'm familiar with those and JS as well.
@Yohoho1347 ай бұрын
The fact that me and many other people just woke up to this playing makes me wonder if most of the views this video gets is from people not even trying to watch the video
@CHURCHISAWESUM6 ай бұрын
Well JavaScript does put people to sleep
@adamrobertson20486 ай бұрын
wtf this just happened to me too
@abutohan6 ай бұрын
This video was always recommended to me when I'm asleep listening to KZbin.
@lazygamer9236 ай бұрын
@@adamrobertson2048Yeah me too and this is weird
@MaQueRS6 ай бұрын
D m😮😊😅😊😊@@lazygamer923
@Oogabooga1477 ай бұрын
Why and how is everyone (including me) waking up to this video. I was watching a slow mo guys video last night and this is playing in the morning. Might as well stick around. This seems kinda fun
@IronSharpensIronOfficial7 ай бұрын
This is gonna be very out of context but Anyone noticed that 💀 has became the new O_O
@Kopano.Tlali697 ай бұрын
it keeps happening
@Oogabooga1477 ай бұрын
Oh my god not again
@iswimslow47 ай бұрын
@@Oogabooga147Lmao time to become a developer bud
@cabin986 ай бұрын
Bruh I was watching the Technology Connections video about flash photography featuring Gavin from the Slo Mo Guys.
@lego_droid13967 ай бұрын
Just woke up and I realize that I actually learn more stuff from this man while I was sleeping then I learned in school.
@kornknot27263 ай бұрын
This is my second time.
@ssehcsissehc11 күн бұрын
@@kornknot2726❤😂😮🎉🎉😂😢❤🎉😂😢🎉🎉😂🎉😂
@AvenRacca20087 ай бұрын
Dude what. How is everyone waking up to this, i fell asleep watching zelda gameplay. How did i make it 40 mins into this video
@EKO420G6 ай бұрын
Came as far to 2:37:26 😭
@Yoshikage_Kir46 ай бұрын
Bro I was watching Vsauce, like how
@Rastaa696 ай бұрын
@@EKO420Glmfaoo!!! I’m 3:03:43 this point like dawg why
@couldntsetpass29016 ай бұрын
I made it to the end
@lildawg16856 ай бұрын
@@Yoshikage_Kir4on gaad
@yup99187 ай бұрын
I used to wake up to a video of a guy in a field raining asmr, but now I’ve awoken to this. Perhaps a new era in my life has started.
@bradentheman13736 ай бұрын
why did this make me emotional
@InfinityHS6 ай бұрын
LMFAOOOOOOOOOOOO
@iamsosleepdeprived6 ай бұрын
Help 😭
@quavo20986 ай бұрын
😂😂😂😂😂
@raffazaver7 ай бұрын
Absolutely amazing tutorial i literally watched 1h while asleep😂 and i learned so much. Btw why do everybody else wake up to this video
@Jabranalibabry7 ай бұрын
Yeah, quite a few of us. I've become a sleep coder by now lol
@elmalleable7 ай бұрын
Hmmm it might be a suggestion feature triggered by time of day. If everyone is getting under the same circumstances.
@Bighaid917 ай бұрын
I watched all 4 lol
@joshluna19567 ай бұрын
God is tryna tell us something lolol
@Jabranalibabry7 ай бұрын
@@joshluna1956 make games?
@flowthebro8 ай бұрын
I was scrolling through my KZbin history and figured out that this video was running while I was sleeping.
@Sophie-vb3vs7 ай бұрын
ME TOO
@kill4ill7 ай бұрын
Wth me too lol
@matthewandrews17897 ай бұрын
yeah me as well lmaooo
@banditgta46297 ай бұрын
Same so annoying
@IronSharpensIronOfficial7 ай бұрын
Yeah!
@lolcat698 ай бұрын
Bro, I went to sleep, I woke up and this was here Update: IT HAPPENED AGAIN WTH
@onmindsoul7 ай бұрын
Me too
@SavageGTI7 ай бұрын
Haha I was watching a blender tutorial and fell asleep and woke to this. but I also use HTML and JS
@lolcat697 ай бұрын
@@SavageGTI same, I am also a programmer but, why always this video? Why my cellphone just decides to stop at this exact video?
@Ahmedjerjawi7 ай бұрын
Huh first time ? I don't why I wake up to this and other vid a full assembly course so I am doul learning while sleeping 😂😂@@lolcat69
@DoomedVortex7 ай бұрын
same
@Bison60006 ай бұрын
If i keep waking up to this playing, I promise you I'll actually be able to code in my sleep
@yeomanvanzyl3677 ай бұрын
This is like the 6th time your videos came up while I was asleep....the algorithm clearly likes you😂
@melaniebaldwin2766 Жыл бұрын
I woke up to watching this video and am now following the tutorial for fun. I don't know how I ended up here but I am glad. Thank you for making this video
@captaincaption6 ай бұрын
javascript game tutorial ❌ people waking up from sleep ✅
@hisomebody1235 ай бұрын
lol
@TheSyanAlfaWolf4 ай бұрын
Frl wtf what is this sorcery
@Hello-sh2rg3 ай бұрын
That legit just happened to me dafq
@OurHereafter3 ай бұрын
I wake up in some weird places
@Shiftyedits113 ай бұрын
Bro this happened to me😭😭
@Fighterofthenightman_11 ай бұрын
I’ve never watched any coding videos or any videos like this ever I fell asleep with KZbin on and woke up halfway through at 3 am 😂
@St_Banian7 ай бұрын
i sleep to video essays a lot so i woke up in the middle of the night thinking that this made sense. No, it doesn’t. It’s a goddamn coding tutorial. The last video before this was a video from Thought Emporium about radioactive products. That’s an insane jump.
@Deepfried_duck6 ай бұрын
The KZbin autoplay gods have blessed you. I don’t even know how it could make any connections to what I watch, to what you do.Thanks for being there when I was asleep
@bloodclot2 ай бұрын
I hate this shit so much. It keeps coming up on my autoplay. I report this video every time.
@vallytheeg83177 ай бұрын
Bro I accidentaly fell asleep while watching a completely different thing and I woke up here 😂
@StudyBuddy-jj5pb2 ай бұрын
this is possibly the best course of beginners who has no idea of game mecahnics and stuff. thank you a lot learnt a TON.
@ChrisCourses2 ай бұрын
Got another just released which I think might rival it 👀
@Aceofspadesvr8 ай бұрын
Who else woke up here Edit: OMG THANKS FOR THE LIKES I WAS GENUINELY NOT EXPECTING THIS MUCH HOLY COW!!!
@andongoshev41467 ай бұрын
Omfg i woke up without even knowing that im watching that video
@brazilianboss107 ай бұрын
how the fuck are we all waking up to this video
@NYI20107 ай бұрын
2 hours mind you I think I got drugged 😅😅
@BucketHatGang5687 ай бұрын
Bro Yes
@therealtroy82757 ай бұрын
Fell asleep watching LGR
@timnonik27362 жыл бұрын
I've only seen 46 minutes so far but this is one of the best tutorial i've ever seen. I think the most complicated part of coding is finding the best way to summarize the logic into objects and decide what has to be structed and what not.
@neilquechon87162 жыл бұрын
I'm curently on a little game project to improve my skills (a mix between fire emblem and advance wars).... and ilt's exactly the part I am struggling with now 😅
@timnonik27362 жыл бұрын
@@neilquechon8716 Same. I'm currently busy with a WoW-bot (I know, don't you judge me). Since there is a cut-down version of LUA beeing used by the game, object orientated programming does not really work that well. Also the platform I use does not allow to split your scripts into multiple files, so the result is around 3k lines of code. The project isn't really fun anymore, because its just so hard to find what you're looking for in such a mess. I hope to be soon done with this, to focus on licensing the software and other cool stuff.
@neilquechon87162 жыл бұрын
@@timnonik2736 For now I feel a little the same. I sometime try to think to far ahead and it seem a little overwhelming to make a architecture who would easily fit everything. So I try to cut these thougts and find a good balance between "ok, this is solid" and "ok for know" But for my part I know that if I do sufficently well, the project would become funnier and funnier to work on
@timnonik27362 жыл бұрын
@@neilquechon8716 Yep. Thats what happens a lot to me, and if I realise that my way makes no sense, it frustrates me. Even tho this is normal, you cant just come up with the perfect way to do it in first place. Maybe your first approach will rise in quality over time with different projects, but you cant expect it to be perfect in first place.
@sauceprovider31712 жыл бұрын
kzbin.info/www/bejne/opm4npxobMh3mdU the sauce
@jpm70492 жыл бұрын
Been studying CS for about a year, I could never write this on my own yet but I’m following 95% of what your doing. Thanks for this, big help and confidence booster.
@emiratesandindonesia2 жыл бұрын
same here im kinda new to javascript
@PavelNebo2 жыл бұрын
never say never :)
@ЮрийДжиндоев Жыл бұрын
you can, bro. You know it deep inside, everyone knows actually)
@BinkBonk-kn3dq5 ай бұрын
No you woke up for this
@nityashri35482 ай бұрын
Hey can u pls answer this..i am going to start this tutorial..can we play this game on a single device? The other player is computerized?? Pls lemme know 🥲 and i can make it just by using html css js right?
@Porter5habazz6 ай бұрын
I wasn’t even watching anything related to this. And STILL woke up to this. 😂😂😂
@eduardorpg642 жыл бұрын
I'm in the 2 hour mark, and the quality of this tutorial is amazingly high. You explain what each part of your code does. You explain the overall algorithm that you use. You use visual tools to draw onscreen (like the red rectangles) to better explain your ideas. Also, you left a link so that people can download the assets that you used in this video. If I had money, I would pay for your courses. I don't mind watching ads in this video. I want to support you in any way that I can. You're an amazing instructor, and you clearly like teaching.
@kogarashikoyo1499 Жыл бұрын
Same broo
@micemincer2 жыл бұрын
I've only seen 28 minutes so far but this is one of the best tutorial I've ever seen. A blessing.
@collincurtis3182 Жыл бұрын
Literally same for me. I've only been coding for a month or so at this point, and not even JavaScript yet, but this still helped me understand a lot of functionality.
@adamrobertson20486 ай бұрын
Why did I fall asleep watching who remembers and wake up to this playing. Seems a BUNCH of people are in the same boat so whats going on KZbin lol
@collt0916 ай бұрын
THATS WHAT IM SAYING
@yisraelG5 ай бұрын
I feel watched bro
@Shelby_Erilyn2 ай бұрын
It’s coding us 😂
@David-hl1wo2 жыл бұрын
This man is giving these tutorials for free! What a beast.
@skapha2 жыл бұрын
Indeed!
@zenobiusztasak86042 жыл бұрын
@Focus making people happy makes him rich
@GeekBastion2 жыл бұрын
there is something called AdSense
@ChrisCourses2 жыл бұрын
@@GeekBastion And AdBlock 😉
@GeekBastion2 жыл бұрын
@@ChrisCourses unfortunately that is something that sucks for content creators on KZbin but you guys can have paid ads inside the video itself and you talking about it so AdBlock is useless in that case
@schneefuchs_8 ай бұрын
Howd i wake up here
@elmalleable7 ай бұрын
I slept watching mkbhd waveform. Woke up to this. I've been on and off trying to learn game prgrmn. This is incredible
@StrixsMC7 ай бұрын
Literally i'm here bc the fucking same reason
@tyalk_35656 ай бұрын
same😂
@eponawarrior74926 ай бұрын
Bruh same 😂
@TheSteducky6 ай бұрын
Just happened to me too, went to sleep watching Mr Ballen, woke up here 😂
@heleenzzz7 ай бұрын
Glad to see you still uploading videos. Keep going!
@juliocodes2 жыл бұрын
Awesome dude! Glad to see these game videos are blowing up for you. The JavaScript content that you've been putting out for years is gold!
@ChrisCourses2 жыл бұрын
Thanks man, definitely felt like KZbin was sleeping on me the past year or two, but glad to see things starting to take off now 😄
@laxlyfters86952 жыл бұрын
This tutorial is amazing I learned so much about inheritance and constructors made sense for the first time ever and now class components, hooks and props now make more sense I used to get so confused about "passing props" so much was shown here, switch, cases, conditionals, classes understanding the scope of this. Amazing so much learning without realizing it
@_Mad_Max__Ай бұрын
since so many people get this video while sleeping/ waking up I am convinced yt algorithm somehow counts in the factor at which relativ time of day a video is watched. Which is kinda cool and also explains why everybody is watching the same typ of 3am videos 😂😂😂
@TheClumsyChickenАй бұрын
I fell asleep watching KZbin, woke up, checked my watch history, and found I was 3:15:03 into this video. I know nothing about JavaScript and have no idea this was recommended to me, but that’s cool I guess
@sammyweoweo85676 ай бұрын
bro how am i waking up to this every single time that’s freaky
@tigershavАй бұрын
~~so far this has been the perfect refresher for me to get back into programming~~ for anyone in a similar boat to me with some experience in programming but a little bit rusty this tutorial covers: -some html basics -some css basics -javascript basics -object oriented programming basics -game mechanic basics -animation basics I still have about an hour to go so I may have missed something that is included near the end. this tutorial is well worth the time. many other tutorials simply teach you to regurgitate code but this man really teaches you important concepts (clean and robust code) for your projects going forwards. (you're not just writing one 2,000 line illegible file).
@smarkbark2 жыл бұрын
I spent all weekend going through this and building along. This was so amazing. Thank for sharing this.
@battlewhite5082 Жыл бұрын
the game is responsive ?
@javohirhak2 жыл бұрын
wooow i think you're not Frontend dev, you are Game dev! Keep going! Good luck 😀😁😁🔥🔥🔥
@mcfly13372 жыл бұрын
+++
@Audio-Tales Жыл бұрын
Not only is this for free , he’s literally explaining each line of code in a way anyone can understand. you’ve gained a subscriber, thank you so much 🇿🇼
@ahmadkhaled74972 жыл бұрын
I can't thank you enough for the amount of info that you've provided. I started this project a month ago and now I can gladly say that l've finished my first big project / game using JS. Thank you sooo much Chris, Respect from Egypt.
@jerzykepinski2 жыл бұрын
Man this is fantastic. I love how you explain every single detail and also add context.
@raofthesun7558 Жыл бұрын
dude sat down for 4 hours and made a step by step tutorial, that is a testament to the amount of focus and mental stamina it takes to be a programmer/software engineer. crazy, Ive always wanted to learn and have started but the focus iw what I struggle with.
@itzsaucy57152 жыл бұрын
You just made me realize I don't love web development. I want to be a video game developer. Thank you so much for helping me come to this realization. I've been working on following this tutorial and, throughout the course of the video, I've had more fun doing this than ANYTHING I've ever done or can Imagine doing in web development.
@dafjiahosdasdof6 ай бұрын
this guy has the sleep algorithm
@SonjaMGFX Жыл бұрын
Amazing! Can't believe you put out an entire 4h course on KZbin. Really appreciate it, learned a lot!
@infomatters.2 жыл бұрын
I really loved the process, thank you for sharing it with us. You deserve million subscribers.
@FernandoTurcios-tr4ig5 ай бұрын
your voice is the first thing i hear in the mornings STOP IT
@ChrisCourses5 ай бұрын
😂 some of these comments are great
@lindboknifeandtool6 ай бұрын
You’re getting those good good KZbin premium back play watch time. Idk why we’re all here but cool. I had this in watched later
@snakone2 жыл бұрын
Hello, i really liked what you did so i made my own game following your tutorials, I didnt copy/paste any single line of code, first i watched and understood all the chapters one by one then i wrote my own implementation. So here's what i did: - Typescript instead of js - Added backwards animations and sprites (attack in both directions) - Fixed some bugs like infinite jumping, cross the edges, prevent attacking while attacking, etc... - Added new sounds & attack animations while attacking, this last only triggers while on the air - Added Figther stats, such name, HP, ATT, DEF, VEL, these stats affects the actual gameplay - Changed some sprites, added white animation to second player Take Hit.png There are many things to do after, with all of this, like character select, you can make character act different if you set different stats on them. Also i tried to apply the `hold` property of the Sprites individually but since this is coming from the parent, so the sprites list should return a list of intances of Sprites rather than a plain object so you can set the hold indivially on them, problem is, passing the position to each of them. Saying this, hope you like it as much i did yours! DEMO: samurai-battle.netlify.app/ CODE: github.com/snakone/samurai-battle Cheers!!!
@candymanmonster48802 жыл бұрын
Hey, amazing work. I tested out your demo, however, it has a 1-2 second delay for each action. How did you fix the prevent attack while attacking bug? This has been bothering me for a while and I can't seem to figure out what's causing it.
@snakone2 жыл бұрын
@@candymanmonster4880 I added some websocket support to play online, It goes smooth for me Prevent the attacking bug: Fighter.ts line 72
@candymanmonster48802 жыл бұрын
@@snakone Thanks, but I still couldn't figure out what exactly is causing the prevent attack while attacking bug in Chris's code. Where did he go wrong? If you could explain that to me, it would be really great. Been struggling with it, and it's annoying.
@candymanmonster48802 жыл бұрын
@@snakone Please respond whenever you have time, 2 mins of your time would mean so much to me. Please.
@snakone2 жыл бұрын
@@candymanmonster4880 before you attacking just check is this.attacking is already true, then return
@robzonefire7 ай бұрын
I fell a sleep and somehow ended up dreaming your instructions wtf hahaha
@VeritasPlus6 ай бұрын
I wasn’t sure how I got here except I fell asleep and was hearing someone talking at 1.5x speed - I slowed it down and found Chris! Needless to say, I slowed it down and noticed it was a tutorial! Tbh, I haven’t written code in a long time, feeling defeated from a previous stressful [startup] job of 3 years… but after watching this, this made me happy. I’m going to look at more of Chris’ courses and look at other short tutorials … hoping I get that joy back with coding something that means something. … thanks so much, Chris 😊
@ToddsDiscGolf2 жыл бұрын
I’m currently studying JS, html, css etc. to switch careers but secretly my goal is to develop my own games. This video is exactly what I needed for inspiration that I’m on the right track! I understood so much of it. Truly awesome to post this entire 4-hour tutorial touching SO many subjects from Object Oriented Programming to classes and methods and the DOM and html and css and even GitHub! Seriously broad lesson! Can’t thank you enough for doing it and I hope it gets lots of people to sign up for your other premium lessons! Create that passive income and live the dream! 👍👍😁
@pawiematias46702 жыл бұрын
goodluck
@blackdragon42932 жыл бұрын
Good luck and could you please help me with something,do you perhaps know which code editor he used, if you don't,which one did you use?
@isaiahthompkins6142 жыл бұрын
@@blackdragon4293 I think he used Sublime Text but I also recommend VS Code
@blackdragon42932 жыл бұрын
@@isaiahthompkins614 thanks alot
@tanura58302 жыл бұрын
Wow I have same goal about game dev and passive income but I know it's very difficult. I don't use JavaScript or web stuff for games.
@jellertja2 жыл бұрын
Man i wish you were around when i first started learning JS. Would have made it sooo much easier! Really amazing tutorial! Please continue with these long in-depth tutorials, you're doing really great! Thanks alot man!
@paultapping95108 ай бұрын
This has to be one of the best tutorial videos out there. You have an excellent way of concisely explaining everything you do, as you do it. Four hours extremely well spent! I'll be coming back to code along with some time soon. One feature I particularly want to see implemented is blocking and parrying, maybe even a posture meter.
@meta91live7 ай бұрын
Why did I go to sleep and everyone is waking up here😂 Update: NAHH WHAT IT HAPPENED AGAIN BRUH
@JayPrinceReacts6 ай бұрын
Bruh I wasn’t even sleeping, I got out of my car walked into my apartment opened up my phone and I’m greeted with this random ass Video 💀
@viniciomartinezlopez4955 ай бұрын
Not only did I wake up to this, but I remember dreaming that I was actually coding a game. Amazing
@Shelby_Erilyn2 ай бұрын
Plot twist he was coding YOU
@Ene2007 Жыл бұрын
your tutorial is way better than other online courses
@_RKPhoenix_7 ай бұрын
It seems that when one puts on KZbin to listen to as they sleep, they always wake up here
@danielwilde66262 жыл бұрын
Thank you very much for a another great tutorial. I have learn so much from you, you cant imagine. Chris you are the best! A very VERY good teacher. Stay healthy and strong!
@kevindean83123 ай бұрын
Nice job on tutorial Chris. I completed the whole tutorial and learnt a ton! Coming from a backend developer (mainly PHP) with over 20 years experience.
@nomltefindingthis11 ай бұрын
i fell asleep watching youtube, wake up and check that this video is completely watched in my recently watched, the scary thing is that the was coding in my dream. I’ve never coded before
@jyvonperry10427 ай бұрын
Idk why or how I woke up to this but somehow it snuck into my dreams ???
@teku6678Ай бұрын
I started off with a warhammer lore video, fell asleep and woke up 2 hours into this video. Hello travelers
@mufeng41822 жыл бұрын
This is just AMAZING! thanks Chris! Hope to see more of your high-quality tutorial
@vikstu68162 жыл бұрын
You could release that as a playlist with 10-15 episodes, I think it's easier to keep pace. But I just watched the first minutes and I'm loving it!!! Thank you!!!
@lbb2rfarangkiinok2 жыл бұрын
the rider on the side of the video basically serves to divide it up into multiple sections, but I did not notice it until about the 90 minute mark haha
@robferreri_katfishstudiosАй бұрын
Woke up this morning to this playing. I fell asleep watching a Linus Tech Tips video, so I can kinda see how this played. But, I found it very interesting and will be popping back to the start and actually watching this. Great way of explaining and seems very easy to follow along. Thanks Algorithm!
@Genie_Juniper2 ай бұрын
Okay but more people should talk about the sleep algorithm because it’s insane we all woke up to this video
@jarrettpratt3289Ай бұрын
Just woke up tot his last night. Definitely something going on….
@IllustriousMelchior2 жыл бұрын
This was such an amazing tutorial! I was looking for a cool project to demo to some eager middle schoolers and found your video. I thought I would just skim it to see if it would be a viable demo and ended up following along all the way through. Thanks for sharing the knowledge!
@marknewellmusic9 ай бұрын
This was fantastic a year ago and it's nice to see it get the recognition it deserves - 3.8 million views. Well done and thanks for your efforts, epic vid.
@Mango053074 ай бұрын
Bro I fell asleep at around 2 AM to a vsauce video and I woke up at 6 AM with this playing ? Lmao
@karkotra27musical954 ай бұрын
Same bro 😮
@blxck_smith6 ай бұрын
I literally fell asleep and woke up to this 💀💀💀💀
@welra33764 ай бұрын
woke up to this. crazy thing is, making a fighting game is a dream to me.
@abdelmajidkansoussi69042 жыл бұрын
this guy is very underrated
@2379107222 жыл бұрын
I wrote my first game in LUA, the physics are quite difficult to implement, especially if in your head the characters have some kind of interaction with the environment, I think this is a good example of a first game with the beautiful pixel design, for Of course, the ideas are so many that sometimes it frustrates us not being able to implement them quickly but if we like this, it's worth it, there is no better feeling that something works just the way you like it. :)
@Bruh_come_on6 ай бұрын
Why do I keep waking up to this this is the 5th time I’m at the 1:36:28 mark now I now how to make games no man I’ve been having dreams of this man’s voice
@trinity68806 ай бұрын
Lmaoo yes
@AlexEFrair6 ай бұрын
Mine’s at 1:36:57 wtff
@kelsierii47472 жыл бұрын
Absolutely amazing tutorial! Its exactly my type, practical and without assuming I know anything, also no unnecessary libraries or databases I couldnt care less about, thank you!!
@slein13372 жыл бұрын
Wow, I really loved this tutorial. Thank you so much! The only thing I edited was a small if statement to get rid of jumping in the air. And I'm not very firm with github, but I had to make a commit of the code in my fighting-game folder before I could push it to github. This is most likely trivial for everyone accustomed to it, but I struggled some minutes. :D
@auberginepomegranate27422 жыл бұрын
I'm new to js, could you please tell me how you fixed the mid air jump?
@slein13372 жыл бұрын
@@auberginepomegranate2742 For the eventListener on keydown I edited the case for "w" and "ArrowUp" with this 'if (player.velocity.y === 0) player.velocity.y = -20;'
@InfoRevv Жыл бұрын
for anyone seeing this, this code also has a bug where if the players velocity gets to zero in the air the person can time it right and still double jump. It is best to use a boolean variable@@slein1337
@Henkka0085 ай бұрын
Woke up from bed and noticed this video was on.. seems interesting so mind as well learn this.
@annacurransmotherofmeghanc18415 ай бұрын
Yeah crazy I considered myself a moderate libertarian before I fell asleep and I Woke up to this totally Woke!!! I couldn't even figure out what bathroom to use!!!
@kamptey5 ай бұрын
bro wtf i woke up for work and now i'm here
@Peanutbutterjif6 ай бұрын
Why is this always what I wake up to. This is like the 7th time
@l.v14735 ай бұрын
Im on my 6th😂😂
@VenomRaiders2 жыл бұрын
This is a clear example to anyone starting programming that the issue is not how well you can code but how you can use code to solve a problem.
@Pladouvious_shingledingle2 ай бұрын
Aint even watching this when i wake up. Im watching this while i go to sleep fr
@Maxim_Moldovo2 ай бұрын
same here
@Itz_Mothii5 ай бұрын
Woke up this morning and this whole thing was finished LOL idk where it came from
@tomasburian65502 жыл бұрын
This is the bomb, love creating games in JS! Love 2D fighters (Street Fighters), isometric fighters (Final Fight) and racing games (Outrun) and making their counterparts in JS. What a great tool! :)
@jdd13252 жыл бұрын
Hi Chris! 🥵🥵🥵 You are so easy on the eyes it makes it super simple to follow these courses 😉 Can't wait to follow this course. Going to save it for next weekend when I have some time. As always thank you for your hard work putting these together.
@santiagofantoni26432 жыл бұрын
Ewwww, desperation :(
@michaelknight89652 жыл бұрын
Lmaoo. Wtf is this
@berbudy2 жыл бұрын
🐶💢🧹 bonk !!
@productplacement392 жыл бұрын
Whoa, easy there friend 🙂
@yzzygomez Жыл бұрын
Sometimes I forget why i love JS. You just made a noddle soup of a code there and works like a charm and no one should tell you is wrong ❤️
@vasilisablud6 ай бұрын
Can someone please explain to me how the algorithm brought SO MANY sleeping people specifically to this video I'm so confused.
@madelynskwira67546 ай бұрын
Like literally
@aylictal2 жыл бұрын
Your animation data (like framesMax, and filepath, and cropping information or other relevant info) is usually pulled out into a seperate json file, then loaded in for your engine to consume, but what you're doing is obviously fine. One thing that was irking me a bit was switchSprite @2:47:00. rather than making a giant switch which has to be maintained for every new sprite addition you add, this could mostly all be handled in an object literal lookup with a single string argument sent to this function under certain gamestate scenarios. Example: switchSprite(arg){ this.image = this.sprites[arg].image this.framesMax = this.sprites[arg].framesMax this.framesCurrent = 0 } Doing it this way will work regardless of any new additions of sprites you add to this class and massively reduce the amount of repeated code in there.
@ChrisCourses2 жыл бұрын
Stealin this for the future
@aylictal2 жыл бұрын
@@ChrisCourses no worries. Thank you for an entertaining video too man I enjoyed it. I commend you for sticking with JS rather than typescript. Theres still many of us that still prefer it like myself :)
@ChrisCourses2 жыл бұрын
@@aylictal I prefer it that way too 🤫 Can't let too many people know that these days without getting attacked haha
@felix.thephoenix6 ай бұрын
All the roads lead to this video, help how do I make it stop 🙈🤣 no matter what was I watching previously, after a couple hours I wake up or go check my phone for whatever reason and IT'S ALWAYS PLAYING THIS VIDEO!! HOW??? Also props to the algorithm, it really loves your stuff 🤖🧑🏻💻💚
@yeyo31626 ай бұрын
How did I wake up to this midnight and ive never watched anything about gaming or coding....
@LarsenBour6 ай бұрын
Me too i really dont get it
@yeyo31626 ай бұрын
@@LarsenBour the number of people saying the exact same thing too like wth lol
@Kanoun916 ай бұрын
Me two I have never seen like these videos before and I woke up to this🥲
@dakotalong89957 ай бұрын
I was watching art restoration and woke up to this shit💀
@SephisJolly5 ай бұрын
I was watching Atozy fell asleep and woke up to look at my history. This Java script tutorial ended up in my history still clicked on it and watched it anyways well done sir ‼️😂
@DopEZTam2 жыл бұрын
Hi Chris, These tutorials are amazing 👏. Could you also make a video on making it work on mobile too. Thanks!
@james_big_balla30028 ай бұрын
Fell asleep watching KZbin and this shi came on in the middle of my sleep and gave me the wildest dreams
@Sazazezer2 жыл бұрын
Just completed the full video and want to say I would happily pay for a premium course that expands on this. I've been wanting to learn about SF style AI for a while now. Would also be good to learn about things like stun lock and inputting special moves. I've got a general idea about how to do things like this but would love to see a clean way of doing it.
@ChrisCourses2 жыл бұрын
Would love to make one at some point, just have to clear out the backlog of Pokemon, Space Invaders, and Pacman first 😅
@bankspoke55512 жыл бұрын
awesome. All of your tutorial, but what about a multiplayer / socket tutorial to make all of these game online ?
@MaxiSniper7 ай бұрын
bro i fr just woke up before school and this video is here
@ay_its_jay4073Ай бұрын
Woah, the fact that all of us woke up here is weird, I wonder if anyone has looked into why, and how, the algorithm did that
@FaT_LuNgZZАй бұрын
Acabo de levantarme en este video, y eso que hablo español
@modernNeanderthal800Ай бұрын
Ha. I wonder if this changes over time. I'm normally watching videogame facts to some extent or another. If a person watches other content regularly I wonder if the video changes
@modernNeanderthal800Ай бұрын
Oh yeah and add the fact that I'm literally a JS engineer
@AvarieWilliams6 ай бұрын
I fell asleep watching HoofGP to then wake up to be three hours 36 minutes and 16 seconds into this video. (3 months later) Update: IT HAPPENED AGAIN WTF
@Old_SDCАй бұрын
I was watching a video about Conway’s game of life, woke up to Facebook open, switched to KZbin and I have apparently watched this video now? 10/10 video would watch while asleep again