Making a Game in JavaScript with No Experience

Поделиться
HTML-код
  • Опубликовано: 14 май 2024
  • To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Goodgis/ The first 200 of you will get 20% off Brilliant’s annual premium subscription.
    What do Capybaras and JavaScript have in common? Well, this video! Today, I'll play the role of a full stack developer and create my first game in JavaScript with no experience.
    Hoppibara
    (I could not get Kaboom.js to export properly so no link to the game this time.)
    🐝 Wishlist Dewdrop Dynasty on Steam!
    ► bit.ly/WishlistDewdrop
    Social Media ------------------------------------------------------------
    ❤️ Check out my Website! goodgis.fun/ ❤️
    ----------------------------------------------------------------------------------
    ✦ Discord - / discord
    ✦ Twitter - / gooodgis
    ✦ Games - firith.itch.io/
    Chapters:
    0:00 Introduction
    0:33 The Framework
    1:03 The Game Idea
    1:47 Adding Movement
    2:15 Creating Hazards
    2:55 Creating the Artwork
    3:25 Adding Polish
    3:56 Adding More Polish
    4:37 The Finished Game
    4:56 Brilliant
    ┈ Similar Videos ┈
    Goodgis - Making Another COZY Game in Scratch for the Day
    • Making Another COZY Ga...
    Goodgis - Making a COZY Monster Raiser in Scratch
    • Making a COZY Monster ...
    Goodgis - Making a COZY Game in Scratch for the Day
    • Making a COZY Game in ...
    Goodgis - I Made a Speed Running Game With C++ and SDL2
    • Making a Game With C++...
    Goodgis - Making a Game in Python with No Experience
    • Making a Game in Pytho...
    Barji - So I Made a Python Game in 48 Hours…
    • So I Made a Python Gam...
    Polymars - C++ Developer Learns Python
    • C++ Developer Learns P...
    Creating video games can be quite challenging, but with cool frameworks like Phaser, Babylon.js, or Kaboom.js using JavaScript is really easy. JavaScript is fantastic for beginners due to its user-friendly, high-level scripting language and extensive community support that makes it accessible for those learning to program. And honestly, it's perfect for people who are asking the question "How to learn how to program?" or "How to make video games".
    #Gamedev #Programming #Javascript

Комментарии • 435

  • @Goodgis
    @Goodgis  6 месяцев назад +305

    SUBSCRIBE if you love Capybaras!!! ♥♥♥

  • @GoggoWombo
    @GoggoWombo 6 месяцев назад +1552

    I've always loved the "style" and branding your channel has. I know you probably won't see this, but I just wanted to say that you are such an inspiration for me right now in so many things: GameDev, Content creation, Graphic design and so much more! 😁

    • @crafterboy27
      @crafterboy27 6 месяцев назад +21

      Quick everyone like this so it gets seen

    • @octtburr
      @octtburr 6 месяцев назад +8

      boost it

    • @dsamuel2116
      @dsamuel2116 6 месяцев назад +5

      Boosting it

    • @DatCatPlayZ
      @DatCatPlayZ 6 месяцев назад +5

      Boost this!

    • @DD_OneZero
      @DD_OneZero 6 месяцев назад +5

      He did not know this would be top comment💀💀💀💀

  • @ivowtf
    @ivowtf 6 месяцев назад +264

    I really love how you design your sprites, both pixel art and vector designs.

  • @costelinha1867
    @costelinha1867 6 месяцев назад +92

    Of course he made a Capybara game, everyone has to make a Capybara game at some point. It's like the modern gaming equivalent of Hello World.

  • @Malinzo
    @Malinzo 6 месяцев назад +150

    I literally just started to code for my Masters Thesis and it is so fun! Right now I am only coding scienc-y stuff with a lot of data extracting and auto writing files, but I would love to try out some game coding later down the line!

    • @mintplays7923
      @mintplays7923 6 месяцев назад +11

      man i hope to reach your level one day. CS is beating me down right now.

    • @ScopeCrepe
      @ScopeCrepe 6 месяцев назад +2

      Go for it!

    • @kitcat2449
      @kitcat2449 5 месяцев назад +2

      Definitely try it out. I realized I didn't like making 3D games becaude of the modelling lol but I'd like to try creating 2D games when I have time. I have more experience in digital drawing than 3D modelling so that will probably be more fun for me.

    • @kitcat2449
      @kitcat2449 5 месяцев назад

      ​@@mintplays7923good luck, don't give up. It will be worth it 🙌

    • @destroyermob
      @destroyermob 3 месяца назад

      @@mintplays7923very different type of programming, they're mainly focused on data and math, so very different from regular programs, especially what is focused on in CS

  • @jordanrichardson2367
    @jordanrichardson2367 6 месяцев назад +23

    Wish you would’ve leaned in more with how JavaScript worked for your game. I gave up C++ because it was too stressful, but with you having literally no experience at first made me realize that I could start back…
    If I wanted to

    • @Pig-Raid
      @Pig-Raid 3 месяца назад +2

      Brocode has amazing videos if you wanna learn a language. Im watching his java series rn and its been a blessing to have him put the content on youtube.

  • @RKIOrbMage
    @RKIOrbMage 6 месяцев назад +36

    Great video! Your vector art is always awesome!

  • @eliteengineer7340
    @eliteengineer7340 6 месяцев назад +68

    Im in love with that artstyle...

    • @aimarandriyanto2941
      @aimarandriyanto2941 6 месяцев назад +2

      Me too❤❤❤

    • @Goodgis
      @Goodgis  6 месяцев назад +21

      Thanks! It gets cuter every year.

    • @Shadowzz.
      @Shadowzz. 6 месяцев назад +1

      Same

    • @JuhoSprite
      @JuhoSprite 6 месяцев назад

      Same, it's the most adorable thing, definitely the best part of goodgis games are his graphics.

    • @ashtonfinkenbinder7233
      @ashtonfinkenbinder7233 3 месяца назад

      @@Goodgishow are you doing this style. I am super new to design. Can you tell me what this style is called I can probably take it from there and also what design software are you using?

  • @SomeHumbleOnion
    @SomeHumbleOnion 6 месяцев назад +261

    Dude this is perfect 😭 the capy looks insanely cute I want to play this so badly 🤣
    Also really dope to see you make it in Javascript! My first real experience with gamedev was with Phaser so making games in Javascript has a special place in my heart :'')

  • @JuhoSprite
    @JuhoSprite 6 месяцев назад +44

    Not only do we get another cute looking time killing game, we also get some awesome new Dewdrop sneakpeeks, love it!

  • @DaRealApeOfficial
    @DaRealApeOfficial Месяц назад

    I love the style you use for every game!

  • @Cloudpixell
    @Cloudpixell 5 месяцев назад +1

    I LOVE your art style it is SOOO CUTE!

  • @hanasschoolwork4564
    @hanasschoolwork4564 5 месяцев назад

    This is absolutely adorable. Well done!

  • @vilet918
    @vilet918 6 месяцев назад +43

    It's so cool to see this! I've been learning Javascript Development using P5.js (it's not really meant for games but I've used it for a while for art and it's both less intimidating then vanilla JS and gives me more control of designing my engine in a way that more game focused libraries don't) Right now I'm in the middle of a space invaders clone and it has been so much fun! I'm getting a little drained by how long it's taking and this was just what i needed right now. I never realized what a motivation boost it would be to recognize the code on screen, it felt homey. Your game looks adorable and Kaboom is an awesome choice for a library, great job!

    • @BusinessWolf1
      @BusinessWolf1 6 месяцев назад

      If vanilla Js is intimidating to you, you have a much bigger problem than what library to use, and also you have absolutely no clue what you actually want from a library, because you haven't broken bad beliefs and built new ones about programming. You are at the start of the dunning kruger curve. Move forward on it before you do anything else, otherwise your projects will have bad code, bad architecture, will be impossible to maintain, completely unintelligible, and when you get better you will dread looking at their code again.

    • @blueninja012
      @blueninja012 5 месяцев назад +9

      ​​@@BusinessWolf1sorry, but this advice seems pretty bad "Move forward on [the dunning kruger curve] before you do anything else" how are they going to get further ahead with doing things? the most basic-level advice you can give anyone is to fail over and over again, right? shouldn't they make all of the bad, completely unintelligible code and architecture and use it as a learning experience for the future?

  • @Edweirdz
    @Edweirdz 6 месяцев назад +4

    hey i just discovered your channel and i love it! Are you full time on your indie game? Keep it up! 👍

  • @mochichi5068
    @mochichi5068 5 месяцев назад +1

    this is literally the cutest game ive ever seen, and as someone that also loves js, this is an automatic sub

  • @TryingCode
    @TryingCode 6 месяцев назад +2

    I'm using this editing style as inspiration now. This video is so good and yet insanely simple!

  • @denismusina9508
    @denismusina9508 6 месяцев назад +2

    good job i am a fan and the remake dewdrop scratch

  • @emalinu
    @emalinu 5 месяцев назад +4

    Could we get a tutorial/vlog video of you doing your designs? I've always loved this artstyle, that's what made me subscribe lol!

  • @hannahl4108
    @hannahl4108 6 месяцев назад +1

    Absolutely amazing!

  • @widojay2048
    @widojay2048 6 месяцев назад +9

    It’s always a good day when Goodgis makes a video

  • @bluepomodoro3679
    @bluepomodoro3679 Месяц назад +1

    By any chance you happen to have a course on how to design sprites/pixel art with certain design principles or best practices? I've build a simple dino game but damn, your visuals really transformed it into something else.
    You should create a signup list for it and see how many people would interested in the course, cuz I'm sure there'll be quite a demand for it. Would definitely sign up for a course just like that to up my design skills cuz it's ass hahah.

  • @RubyR3d793
    @RubyR3d793 5 месяцев назад +8

    You should make a game in Microsoft Makecode Arcade next. Its default is blocks, but it is slightly different than Scratch's blocks. You can also change it to JavaScript or python if you want. It is good for retro style games like Dewdrop Dynasty. But it only has the amount of buttons a game boy has (hence the retro aspect) so it might be hard to work with. I love your videos! 😀

    • @synthcqt
      @synthcqt 5 месяцев назад +1

      i made a huge game in that scratch and makecode are the beginner ones and i have become a pro at them so i have moved on to unity + visual studio 2022 and its going well

  • @juanmacias5922
    @juanmacias5922 6 месяцев назад

    This game is so adorable!

  • @superviro
    @superviro 6 месяцев назад

    I love kaboom. Favorite js game library.

  • @Uranium4719
    @Uranium4719 6 месяцев назад

    i freaking love you man

  • @cafe_underground
    @cafe_underground 6 месяцев назад

    Simply amazing

  • @nekokna
    @nekokna 6 месяцев назад +1

    extremedly cute carpincho : 10/10

  • @abuzzybee2342
    @abuzzybee2342 5 месяцев назад

    I love kaboom! It's how I learned how to make basic games through replit's kaboomjs game jam. Good experiences :)

  • @Promatter09
    @Promatter09 5 месяцев назад

    Hello Goodgis! Well done video, and may I know what font you use for this video?

  • @EstebanHear
    @EstebanHear 6 месяцев назад +1

    LET’S GO NEW GOODGIS UPLODE

  • @froggie899
    @froggie899 6 месяцев назад

    Something about ur style is just perfect 😢

  • @jakeparsons6437
    @jakeparsons6437 Месяц назад

    You should’ve added a special feature where if you go past an orange box theres a warning telling you to resist the oranges and if you die on an orange box on the you died menu it should say how you fell for temptation.

  • @LocalTrashyt
    @LocalTrashyt 6 месяцев назад

    0:28 new gameplay. Lets go Halloween treat

  • @hellomynameisrodney
    @hellomynameisrodney 6 месяцев назад

    I've been working on the roadmap to make a game myself for the longest time. Have a few game engines in mind (Construct 3, Godot, GDevelop, Scratch) There's also Node... ugh so many. lol

  • @Miracle12348
    @Miracle12348 6 месяцев назад +1

    I wish he made longer videos.

  • @davidbarkhausen7739
    @davidbarkhausen7739 6 месяцев назад +5

    I once made an infinite top down space shooter in Javascript... But I made it using just plain javascript. It was so tedious building everything scratch that I decided to switch to Godot after that instead.

  • @crusaderanimation6967
    @crusaderanimation6967 6 месяцев назад +1

    4:44 aaaaand with that sentence you made like, half of programing community your enemy.

  • @yafur1986
    @yafur1986 6 месяцев назад +1

    Hey! Did you use mario galaxy music? I’m pretty sure I hear that…. LOVE it!

  • @mustafahamza4812
    @mustafahamza4812 6 месяцев назад

    I love games where you can fast fall to cancel your fall and spin the arrow keys

  • @carsonhawley8838
    @carsonhawley8838 6 месяцев назад +20

    JavaScript dev here. Love it for small projects, but you'll definitely go crazy at scale. Tests are a bandaid. TypeScript has a bigger development cost upfront, but type safety is worth it IMHO 😅

    • @kainaris
      @kainaris 5 месяцев назад

      Wait so KABOOM doesn't work with typescript? It so then i'll be sad

    • @JSLegendDev
      @JSLegendDev 4 месяца назад

      @@kainaris It does work with TypeScript.

  • @heyaItsme1123
    @heyaItsme1123 5 месяцев назад

    Your the best i also love cozy style games! mind making a tutorial?

  • @iamplk
    @iamplk 6 месяцев назад +2

    which tool are you using for creating those cute characters and background?

  • @Beloff777
    @Beloff777 6 месяцев назад +1

    Noice video GOODG’Z , finna make my own capybara game now lol

    • @Goodgis
      @Goodgis  6 месяцев назад +1

      Yes! Do it! :D

  • @julioandrewssp
    @julioandrewssp 6 месяцев назад +12

    Cute game
    I must say I wish you would go over the JavaScript part of it more. In the end, it was a just a video about making simple cute game, and nothing more
    There's nothing wrong with it, and it was cool to watch, but since the premise was about making a game in JavaScript, I was hoping to see what differences there were between the organization/problems & solutions/e.c. there would be between a JavaScript game with any other one
    Maybe it was all just about promoting Brilliant? Idk
    Besides that, it was a chill video

  • @vaer-k
    @vaer-k 6 месяцев назад +1

    I'm gonna pre-order DD when available

  • @SentientLampStudios-lm9ks
    @SentientLampStudios-lm9ks 5 месяцев назад

    when you where designing the capybaras, do you mind telling me what softwear you used?

  • @yuk1_d00l3z
    @yuk1_d00l3z Месяц назад

    Where do we play Hoppibara? I love this btw ❤ :)

  • @Voltex_95
    @Voltex_95 6 месяцев назад +1

    I just like the artwork, dude!!! Its amazing

  • @SkidesGames
    @SkidesGames 6 месяцев назад +9

    Always a good day when Goodgis uploads 👍

  • @braknumeru3
    @braknumeru3 2 месяца назад

    I think that JavaScripts it's not extremely easy, but you're extremely skillfull and talented, fr

  • @DeltaXML_Ltd
    @DeltaXML_Ltd 6 месяцев назад

    Interesting topic!

  • @appakling
    @appakling 6 месяцев назад

    yooo a new Goodgis video!!!!

    • @Goodgis
      @Goodgis  6 месяцев назад

      Finally! Am I right?

  • @Shadowzz.
    @Shadowzz. 6 месяцев назад

    What font is that? It looks amazing

  • @kainaris
    @kainaris 5 месяцев назад

    I have kind of a friendgroup thingy in discord with the main theme being explosions and I'm a programmer and I want to make games and I make websites and I thought about making a game with typescript aND THEN I FIND THIS VIDEO IT CANNOT BE MORE PERFECT

  • @TheKingAskdoof
    @TheKingAskdoof 6 месяцев назад +3

    YES! See? There is a reason to love JavaScript

  • @MrNerdastic
    @MrNerdastic 6 месяцев назад

    This os game is so cute. Great Job!

    • @Goodgis
      @Goodgis  6 месяцев назад

      Thanks so much! :D

  • @danielborgesgoncalves8591
    @danielborgesgoncalves8591 5 месяцев назад

    cuuute, how did you make the animation ?

  • @Frostyownz
    @Frostyownz 6 месяцев назад

    What engine / game maker did you use to make your dynasty game?

  • @ItsJustMehdi
    @ItsJustMehdi 6 месяцев назад

    you make cutest art

  • @jessex8535
    @jessex8535 6 месяцев назад +2

    I always love when you upload! It sparks my own imagination and helps me get back into gamedev. Thank you Goodgis!

  • @eboatwright_
    @eboatwright_ 6 месяцев назад +3

    Nice!! JavaScript is so easy to get into, and a lot of fun to just jump in and make a small project :D

  • @joyfulfishman5445
    @joyfulfishman5445 6 месяцев назад +1

    I love Goodgis so much, cant wait for Dewdrop Dynasty to come out

  • @Uranerdbro
    @Uranerdbro 6 месяцев назад +1

    I genuinely love these videos every time I see you post one I instantly click without any second thought.

  • @TheCollectiveHexagon
    @TheCollectiveHexagon 5 месяцев назад

    3:19 omg no way...capivara backflip

  • @alvincodin2529
    @alvincodin2529 6 месяцев назад

    Love your content :)

    • @Goodgis
      @Goodgis  6 месяцев назад

      I appreciate that!

    • @alvincodin2529
      @alvincodin2529 6 месяцев назад

      @@Goodgis Dude you're a huge inspiration to me and have no idea how much this comment improved my day 🥰

  • @joners45
    @joners45 6 месяцев назад

    Big W for using Affinity over Adobe

  • @oihandeshayes6751
    @oihandeshayes6751 6 месяцев назад

    A Java video would be awesome!

  • @We_All_Gear
    @We_All_Gear 23 дня назад

    What program do you use for drawing.

  • @vladislava2015
    @vladislava2015 6 месяцев назад +1

    Where I can find this beautiful soundtrack? capybara is top!

  • @AboutHreinzi
    @AboutHreinzi 6 месяцев назад

    on affinity, use ctrl-j when copying

  • @HelperWesley
    @HelperWesley 6 месяцев назад +3

    I just made a video on JavaScript in GDevelop, so I got really excited about the video, but sadly it wasn't.
    Still an awesome video as always though. 😉👍

    • @Goodgis
      @Goodgis  6 месяцев назад +1

      I thought about it actually but it's too much of an game engine for this coding series. Maybe next time? ;)

    • @HelperWesley
      @HelperWesley 6 месяцев назад

      ​@@Goodgis That extra bit of challenge, not using a traditional game engine, definitely spices up the videos. 😉

  • @CanadianBoyArt
    @CanadianBoyArt 6 месяцев назад +2

    Excalibur js is one of the best js frameworks out there.

    • @ScopeCrepe
      @ScopeCrepe 6 месяцев назад +1

      Easy to export games?

  • @WinterBunny636
    @WinterBunny636 6 месяцев назад

    You should try Lua next, it's very easy.

  • @galavaria36
    @galavaria36 6 месяцев назад

    Very interesting, perhaps someday I should try java

  • @Neutronized
    @Neutronized 6 месяцев назад +1

    cool vid! Harold looks so cute ✨

  • @BACKPRO-DEV
    @BACKPRO-DEV 6 месяцев назад

    what fonts do you use in your game thumbnails

  • @DewiM96
    @DewiM96 6 месяцев назад +6

    can we have the game to play

  • @maksydab
    @maksydab 6 месяцев назад

    what affinty brushes you use?

  • @crafterboy27
    @crafterboy27 6 месяцев назад +2

    Kaboom isnt that obscure, in fact it is one of my top 5 goto frameworks

  • @apinalplocave8032
    @apinalplocave8032 5 месяцев назад

    J'aime beaucoup ton jeu mais je voudrais juste faire une petite critique, en fait quand on saute les obstacles sont trop prévisible (même distance) donc quand on trouves le rythme c'est trop facile(
    je dis ça mais je me suis arrêter à 40 x))
    en tout cas merci tes vidéos me donnent envie d'essayer de me mettre à la programmation dans le cadre de mes études d'Arts

  • @3emad.065
    @3emad.065 6 месяцев назад +1

    This guy is the opposite of BadGameDev. Funnily enough their names describe them well

  • @trojanfrog
    @trojanfrog 6 месяцев назад

    4:24 What font do you use for that big title?

  • @archytype.mp3
    @archytype.mp3 6 месяцев назад

    I was so excited when I heard kaboom because i lk thought i was the only who knew about it

  • @mostlyghostey
    @mostlyghostey 6 месяцев назад +1

    I would die for Harold.

  • @EK-ep1cv
    @EK-ep1cv 6 месяцев назад +1

    I LOVE CAPYBARA

  • @Wolfpackofficial334
    @Wolfpackofficial334 4 месяца назад

    Hi goodgis, when I’m bored, I watch you so pls can you do more scratch?

  • @cadeiradodiretor7976
    @cadeiradodiretor7976 6 месяцев назад

    As a brasilian, I am very proud of the capibara game. #CapibaraIsthecoolerAnimal

  • @CodingAlpha
    @CodingAlpha 6 месяцев назад

    Great Vid! ♥

    • @Goodgis
      @Goodgis  6 месяцев назад

      Thanks so much!

  • @rafaelbraveheart2964
    @rafaelbraveheart2964 6 месяцев назад +2

    what do you use for making sprites,art,background

    • @humanracecar
      @humanracecar 3 месяца назад

      Have you figured out what he uses?

  • @lambert005
    @lambert005 6 месяцев назад

    This is probably the cutest game I have ever seen

  • @sithichook5187
    @sithichook5187 6 месяцев назад +1

    Which software to make animation in the game ?

  • @that_guy1211
    @that_guy1211 6 месяцев назад +3

    XD HE SAID JAVASCRIPT IS GOOD
    I'M DYEING FROM LAUGHTER!

    • @jarayablack3619
      @jarayablack3619 4 месяца назад +1

      It is tho.

    • @that_guy1211
      @that_guy1211 4 месяца назад

      @@jarayablack3619 nah, bro naive and innocent, lmao xd!

    • @jarayablack3619
      @jarayablack3619 3 месяца назад

      @@that_guy1211 explain what do you mean then

    • @that_guy1211
      @that_guy1211 3 месяца назад

      @@jarayablack3619 javascript is one of the WORST programming languages like, ever

  • @RohanJawahar
    @RohanJawahar 4 месяца назад

    pls tell me the art app that you are using.
    Anyway the video is so very good

    • @Goodgis
      @Goodgis  4 месяца назад +1

      Affinity Designer :D

  • @Inosukidev
    @Inosukidev Месяц назад

    what app do you use to draw ?

  • @coderhog
    @coderhog 6 месяцев назад

    omg that capybara!

  • @Clumzy_Plush
    @Clumzy_Plush 6 месяцев назад

    K THATS THE CUTEST CAPYBARA THAT IVE SEEN IN A GAME

    • @Goodgis
      @Goodgis  6 месяцев назад

      Ah yeahhhh!

  • @modle_y
    @modle_y 6 месяцев назад +4

    GOODGIS MOMENT!

  • @GAT0YT
    @GAT0YT 6 месяцев назад

    what font do you use in your thumbnails?

  • @drover7476
    @drover7476 6 месяцев назад

    I want to play this!