How I Learned to Code My Own Game

2 feb 2019
1 686 180 Skatījumi

Get 2 months of Skillshare Premium free:
Watch my "How to Learn" Course here:
Play the game (it only works on desktop btw sorry!):
This month, I learned to code my own game from scratch! I used Javascript and the P5 library to learn to code a browser based game.
My code:
Checkout The Coding Train:
(thanks for the inspiration!)
Some of the resources I used:
(use my link above to get 2 months free access)
(use my link above to get 2 months free access)
Subscribe for more Learn Quick Videos:
Bio: My name is Mike Boyd and I make videos documenting my process of learning stuff as quickly as I can. Subscribe for more upcoming videos and feel free to tell me what you'd like me to learn next in the comments or on Twitter (@mikeboydvideo).

Instagram: @mikeboydvideo
Business enquiries:

If you'd like to send products / items to me then please use the address outlined below.
Michael Boyd
Unit 62
10 Dock Street
United Kingdom


    NoTalkGamingNoTalkGamingPirms dienas
  • this was the first time I've ever wanted to sign up to skillshare

    Aloe VeraAloe VeraPirms 4 dienām
  • You could use unity it's easy to use powerful and it has 3d graphics

    LIGHTING _ PROLIGHTING _ PROPirms 5 dienām
  • You should have tried python 🐍

    Alpha MusicAlpha MusicPirms 5 dienām
  • I tried the game it's funny lolol

    Bradley DixBradley DixPirms 5 dienām
  • when you realize that he kinda looks like jacksepticeye.

    ForSeenForSeenPirms 5 dienām
  • i love programming

    RaynieRayniePirms 5 dienām
  • Btw what language did u use on coding this? Languages is like C++ C# Python Html... Etcetera...soo what language?

    SuspectTubSuspectTubPirms 7 dienām
  • Did you follow a tutorial to make the cartoon character of yourself?

    Mustafa AliMustafa AliPirms 7 dienām
    • If you did can you please paste the link please

      Mustafa AliMustafa AliPirms 7 dienām
  • Meanwhile me in IT school: learning to display Hello World

    Raouf GargoumRaouf GargoumPirms 8 dienām
  • I BURST OUT LAUGHING AT THE RECORDING STUDIO BIT AHAHHAHA (my neighbours are probably concered at the sounds from the video but heh)

    Hiba KamranHiba KamranPirms 8 dienām
  • being a js developer watching him try to debug is amazing

    AviaHumbleAviaHumblePirms 11 dienām
  • next learn C# or python or html my fav lang btw

    lulzseclulzsecPirms 12 dienām
  • Lol, The first thing I learned was p5/proccessing.js. It was awesome.

    Samar MohanSamar MohanPirms 13 dienām
  • The dude is so creepy because he has such a long face

    MxrCY MantakiMxrCY MantakiPirms 13 dienām
  • Which programming language did you use to make this game ??

    Atharva Manoj LoharAtharva Manoj LoharPirms 14 dienām
  • 8:08 was 😂😂😂😂

    Atharva Manoj LoharAtharva Manoj LoharPirms 14 dienām
  • the DVD screen doesn't even need trigonometry, just have a separate x and y velocity, and make the y vel positive when hitting the bottom, negative when hitting the top, x vel positive when hitting the left side, and negative when hitting the right plus, you wouldn't get that bug where it sticks to the edge

    Toru the Red FoxToru the Red FoxPirms 14 dienām
  • at 11:28 you can hear camera crew laughing

    ColinCostelloGamingColinCostelloGamingPirms 20 dienām
  • Hahaha i have been coding for 5 years, trust me the errors just never stops comming brother hahaha XD

    hazem elkhaililhazem elkhaililPirms 20 dienām
  • Everyone : Udemy is the best! Mike boyd : Skill share is the best! (cause its the sponsor 😝) Me : LVworld is the best❤️

    Easy ElectronicsEasy ElectronicsPirms 21 dienas
  • legends : watcing his videos. ultra legrnds : waiting for his maths teacher to respond his solution

    Kartik 66666Kartik 66666Pirms 24 dienām
  • i scored 10 wtf

    suckurmomsuckurmomPirms 26 dienām
  • Ur dit was good but i was wearing headphones!!! Rip ears ;c

    Connor Kenway118Connor Kenway118Pirms 26 dienām
  • I learned Python from I can refer you this course if you are looking to begin your career as a Python Developer

    Dipin KDipin KPirms Mēneša
  • my teacher taught me to do this in 15 mins lmfao

    big blackbig blackPirms Mēneša
  • make more videos like this please

    MinecwaftMinecwaftPirms Mēneša
  • edder

    Ethan CraythornEthan CraythornPirms Mēneša
  • What did you use to code the game? Also I loves you vids

    FoxyTheGamer99 FTG99FoxyTheGamer99 FTG99Pirms Mēneša
  • 5:00 you sound like the misquote over my ear at night

    Cizzel XDCizzel XDPirms Mēneša
  • my highest score : 7

    Lar3607Lar3607Pirms Mēneša
  • I’ve played it on iPhone

    achi Kisishviliachi KisishviliPirms Mēneša
  • Two years learning c & c++ , still can't do anything on it , and he does it so easy peasy :-(

    SovanDaiSovanDaiPirms Mēneša
  • I love his accent haha

    fight for truthfight for truthPirms Mēneša
  • fffffuuuuuuuuuuaaaaaaaack

    itsHuman.itsHuman.Pirms Mēneša
  • well as a software engineer I can relate to all the error messages. the first time i learned a programming language the first thing i done was read all error messages it helps to understand how you failed your code

    Willam MorrisonWillam MorrisonPirms Mēneša
  • for game development I recommend u use unreal engine unity or Godot

    edlskaedlskaPirms Mēneša
  • For anyone who wants to have unlimited breath, go to the game, open the console, and type breath = 99999999

    AlhassanAlhassanPirms Mēneša
  • yo you should try python it was a bunch easier for me than java

    Varchas herurVarchas herurPirms Mēneša
  • learning to code and having cubes on a desk that´s me ahahahah

    Ana LameirasAna LameirasPirms Mēneša
  • I love how he gives us the resources he used

    kal Belaykal BelayPirms Mēneša
  • as a coder This is kinda funny

  • who else checked the comments to see if the coding train was in it

    X-GhoulAssassinX-GhoulAssassinPirms 2 Mēnešiem
  • Everyone share your best score in his game! (I got a 7)

    Sprunger TutorialsSprunger TutorialsPirms 2 Mēnešiem
  • Dude your the best science channel

    yahya mohayahya mohaPirms 2 Mēnešiem
  • Today my situation is this but i think it will be better tomorrow 🔥....tq for ur motivation.....🍾

  • It would have been a really cool edit if the error boxes started shaking at 9:31 and shattered eventually.

    Adhaar SharmaAdhaar SharmaPirms 2 Mēnešiem
  • Bro, congratulations on learning how to code. This is awesome haha

    Efstathios KapnidisEfstathios KapnidisPirms 2 Mēnešiem
  • Goood

    Kenyíír -csenel-Kenyíír -csenel-Pirms 2 Mēnešiem
  • It works on android too, but the .mp3 files are not working. we can't play after the game over screen it should be refreshed , by the way good work man .

    kohin Bkohin BPirms 2 Mēnešiem
  • 10:44 Oo

    Science done rightScience done rightPirms 2 Mēnešiem
  • Thank you for this. I wanna learn to code and this helps me since im in 10th grade. I can have this skill set at a early stage

    Jaden WilliamsJaden WilliamsPirms 2 Mēnešiem
  • unexpected token errors means that the code expected something else, for example when you miss type something like example( {//code} instead of example(){//code}

    UserUNPUserUNPPirms 2 Mēnešiem
  • i'v had the same question in your intro, but when i was 10 LUL im 14 now, i leant Java's basic with minecraft, and now im working on a java game i'll hopefully try to make better

    UserUNPUserUNPPirms 2 Mēnešiem
  • "Orang'

    josua gedionk.sjosua gedionk.sPirms 2 Mēnešiem
  • next challenge = learn to draw

    NoelNoelPirms 2 Mēnešiem
  • I’m so amazed at how he learned so quickly

    SimplexSimplexPirms 2 Mēnešiem
  • Hi

    BerserkCave 3539BerserkCave 3539Pirms 2 Mēnešiem
  • Hi

    BerserkCave 3539BerserkCave 3539Pirms 2 Mēnešiem
  • 11:22 got me laughing LOL.

    Jonathan SundaramJonathan SundaramPirms 2 Mēnešiem
  • I've watched both you and the Coding Train for years and the fact that you found each other is absolutely awesome!

    MassimoMassimoPirms 2 Mēnešiem
  • Amazing game and it's so fun

    DogoInTheHoleDogoInTheHolePirms 2 Mēnešiem
  • What laptop was he using?

    Hamzaye HDTVHamzaye HDTVPirms 2 Mēnešiem
  • Now code me a PUBG remodel

    Victorine ChaghouryVictorine ChaghouryPirms 2 Mēnešiem
  • raise your hand if you can code ✋

    JustinBustinJustinBustinPirms 2 Mēnešiem
  • For 90% of the "Unexpected" errors... You probably forgot the semicolon

    TRarRedBanditTRarRedBanditPirms 2 Mēnešiem
  • Try unity it is good for making games it uses c# and allows for 3d and 2d.

    Keljrack DevsKeljrack DevsPirms 2 Mēnešiem
  • Hey mike I also use p5 I am an 8th grader I love ur videos keep going Lots of love from India

    NeelNeelPirms 2 Mēnešiem
  • I doesn't let me sign in to skillshare

    Epic DylanEpic DylanPirms 2 Mēnešiem
  • :D

    Risa IsmadiaRisa IsmadiaPirms 2 Mēnešiem
  • II

    Risa IsmadiaRisa IsmadiaPirms 2 Mēnešiem
  • If you just want to laugh at the errors Mike had your time stamp is 8:50

    Caspar SmithCaspar SmithPirms 2 Mēnešiem
  • I am a coder because of you

    ACHILLES RALPH GamingACHILLES RALPH GamingPirms 2 Mēnešiem
  • What is the language you used is it c#

    bhuvanbhuvanPirms 2 Mēnešiem
  • Thank you so much Mike Boyd!!, I couldn't learned have javascript without you. Thank you!!

    Aditya YerneniAditya YerneniPirms 2 Mēnešiem
  • 7:43 screams from hell 7:46 some sort of machine

    kredevszkredevszPirms 2 Mēnešiem
  • "I didnt change anything" aahh thats the sound of a programmer 😂

    AminAminPirms 2 Mēnešiem
  • I want to make my game but I don't own a laptop or pc

    SpiderCraftSpiderCraftPirms 2 Mēnešiem
  • hi thanks to this video i know kinda how to code for the first time thank you so much

    the doge squadthe doge squadPirms 2 Mēnešiem
  • I love this guy (no homo)

    Darkknight 2339Darkknight 2339Pirms 3 Mēnešiem
  • good job man!

    David DedicDavid DedicPirms 3 Mēnešiem
  • Fun Fact: It is easier to write code, rather than debug it... Programmers can relate

    Asimo CloudAsimo CloudPirms 3 Mēnešiem
  • I like how he’s learning Python 😂 ez

    JazzyMilk99JazzyMilk99Pirms 3 Mēnešiem
  • 11:20 eyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyeyey

    AM - 05BL 805769 Champlain Trail PSAM - 05BL 805769 Champlain Trail PSPirms 3 Mēnešiem
  • now think about skyrim, and how much detail and crap there is to do in that game. Props to game developers

    ClicheName123ClicheName123Pirms 3 Mēnešiem
  • When I think game making I think unity or unreal engine not this 😂

    Irma CastroIrma CastroPirms 3 Mēnešiem
  • Plot twist: he wanted to play the game irl and when the glass broke, it hit his keyboard and deleted all his code

    Connor HuynhConnor HuynhPirms 3 Mēnešiem
  • nice

    Omprakash SharmaOmprakash SharmaPirms 3 Mēnešiem
  • wait is P5 just Processing but with js instead of Java?

    Owen LennonOwen LennonPirms 3 Mēnešiem
  • I played the game, it was funny af.

    CherBoteCherBotePirms 3 Mēnešiem
  • Me: Codes one line Computer: Displays 2000 errors

    Callum RobbCallum RobbPirms 3 Mēnešiem
    • 500 syntax errors has been funny.

      BofisisBofisisPirms 3 Mēnešiem
  • I got to round 8, its actually pretty fun

    Sam CiminoSam CiminoPirms 3 Mēnešiem
  • nice coded some hax :D

    SCAR- H YTSCAR- H YTPirms 3 Mēnešiem
  • 9:09 - 9:35 You have officially generated your certificate to be a coder

    Pirms 3 Mēnešiem
  • Finally i finished the code that took so long to write and now time to sav- *pc crash*

  • computer: error mike: EDAR

    Thor’s ArtThor’s ArtPirms 3 Mēnešiem
  • The manager : so what job can you do This guy : i think you ment what can't i do

  • woah java

    Die Geburtsstunde der KomödieDie Geburtsstunde der KomödiePirms 3 Mēnešiem
  • Which laptop does he uses man!!

    SPicy MUffin PlayzSPicy MUffin PlayzPirms 3 Mēnešiem
  • 2020: 5025

    Alexandra DelliouAlexandra DelliouPirms 4 Mēnešiem