Building an online multiplayer snowball throwing game (vanilla js, node, socket.io)

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

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

  • @Goukiesm
    @Goukiesm Год назад +7

    At 21:05, the correct formula for the tile index should be "row * map.width + col". Using map.height does not cause any errors because the width and height are the same in your context, but I'm sure it would cause a huge headache for anyone who uses the code with a map with different values of width and height

  • @llDartsll
    @llDartsll Год назад +8

    Awesome work man. love your content

  • @jorgesfs
    @jorgesfs Год назад +4

    We're 1 week away from the Global Game Jam and I must say thank you, I believe your tutorial will help us a lot with preparing a boilerplate.

  • @megamind452
    @megamind452 Год назад +6

    This video is so helpful for learning sockets io, html canvas, so far I have watched, will return for some more info later. Keep up the good work sir 👍

  • @SeibertSwirl
    @SeibertSwirl Год назад +3

    Good job babe!!!

  • @lukichaaa3285
    @lukichaaa3285 Год назад +1

    good job man, i figured out lot of things with this video. respect!

  • @libanjama4080
    @libanjama4080 Год назад +1

    Beautiful tutorial sir Thank you so much! Learned a lot!

  • @arjunharidas1124
    @arjunharidas1124 Год назад +4

    It would be awesome if u could do a voice chat app without using 3rd party

  • @_Cthugha_
    @_Cthugha_ 10 месяцев назад

    Thanks for the content!

  • @TheSourLemonz
    @TheSourLemonz Год назад

    i love this dude

  • @ToddsDiscGolf
    @ToddsDiscGolf Год назад +3

    If you build an app using agora for voice chat, and then agora goes away, that will stop your voice chat right? Or does the voice chat functionality stand alone once made? (I’m at the beginning of the video)

    • @WebDevCody
      @WebDevCody  Год назад +2

      I’m not sure what you mean, agora doesn’t go away. Are you asking if agora goes out of buisness or something? Yeah your voice chat would break and you’d need to implement a different solution

    • @ToddsDiscGolf
      @ToddsDiscGolf Год назад +2

      @@WebDevCody yep that’s what I meant

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

    Thank you, working and fully functional!

  • @viniciusneiva5796
    @viniciusneiva5796 Год назад

    big content!!

  • @cccll7838
    @cccll7838 Год назад +1

    Sir plz.. make video on location tracking using GPS Device ( in JavaScript language ) or Suggest any npm package

  • @shogungaming2311
    @shogungaming2311 Год назад

    ♥️

  • @masonvick6131
    @masonvick6131 Год назад

    Hi, do you know of a good software to create tmx files on windows 10? I have only found a few softwares that haven’t been updated in 5+ years. Great vid!

  • @total7504
    @total7504 Год назад

    just comm for u2b algo
    can u explain what brackets "()" doing why u put them when u destructorized id ({id} = groundMap[col][row]) 1:27:31 what was the point of that

  • @jasonfu6699
    @jasonfu6699 Год назад

    but do I need docker to it run on my M1 Mac and Node 16? 🤔

  • @Jenkkimie
    @Jenkkimie Год назад +1

    I am software engineering student writing my thesis. Got any recommendations what I could use to make https calls or simulate a server easily? I am writing it with React + NodeJS, but honestly anything works.

    • @EWeins11
      @EWeins11 Год назад

      Postman

    • @Jenkkimie
      @Jenkkimie Год назад

      @@EWeins11 Postman to test but it can't simulate API calls over network, can it? Not that I am aware of at least.
      Or maybe my question was unclear but say I don't have an actual server with database, I have a .json file I create & update data based on user interaction. Yet because my app is supposed to simulate and actually functional web app making GET, POST, PUT & DELETE requests over network, I can't simply use Postman to do this, or can I?

    • @root3291
      @root3291 Год назад

      @@Jenkkimieaybe I’m misunderstanding, but do you mean creating.. AI/bots for testing your site? Whatever you are trying to do I feel like you could make your own script and algorithms to make the HTTPS requests. But I don’t really know what you’re trying to do

    • @Jenkkimie
      @Jenkkimie Год назад

      @@root3291 When I wrote that comment, I had little experience in backend and I figured I'd create a way to return server responses for my http requests. Eventually I realized that I'm going to need a legit backend anyway so I had to learn backend with NodeJS and successfully created the backend I needed. My project grew in scope and ended up becoming a full-stack project. I finally graduated 2nd of June. :)