Realtime Drawing With Action Cable - An Intro | Ruby On Rails 7 Tutorial

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 18

  • @Deanin
    @Deanin  Рік тому +1

    Video might still be processing when this goes live, so the quality might take a minute for full HD. Sorry about that!
    Action cable is confusing, so here's a quick intro that involves drawing to a canvas! :)

    • @developerfoe
      @developerfoe Рік тому +1

      and deanin with new stuff in his bucket .. as always

  • @al-mokhtar_
    @al-mokhtar_ Рік тому +1

    awesome!

  • @rifkysatyana2415
    @rifkysatyana2415 Рік тому +1

    This video is lit. Thanks mate.

  • @indigotechtutorials
    @indigotechtutorials Рік тому +1

    Great use of web-sockets I love this really cool since ive only thought of using them for things like messages and notifications

  • @anikettiwari6885
    @anikettiwari6885 Рік тому +1

    This is awesome

    • @Deanin
      @Deanin  Рік тому

      Thank you! You're pretty awesome too 😌

  • @azizdevfull
    @azizdevfull Рік тому +1

    amazing : )

  • @Kyros-2024
    @Kyros-2024 Рік тому +1

    This is SWEET! Idk how you have time for all these videos.
    Something cool would be to build a sort of checker/chess board so two people could play in realtime and move icons around an image.
    I just turned on the bell notifications, if that ever get's made I'll be the first one here :D

    • @Deanin
      @Deanin  Рік тому +1

      I've done chess before, but I don't think it was realtime. I don't think it would be terribly difficult to get that working, so I'll add it to the list and we'll see what happens next week 😇

    • @Kyros-2024
      @Kyros-2024 Рік тому +1

      @@Deanin yeah it would be cool to see! Maybe not as much as the logic, but moving tokens around on a board would be neat to see.
      Might be interesting, if you want to drag them I wonder if you would then need to create a grid system to detect which grid the token was drag and dropped on?
      either way, thanks again this is cool!

    • @Deanin
      @Deanin  Рік тому +1

      I ended up doing something similar to this in today's video, thought you might enjoy it. Although it does use JavaScript for the chess logic, you could port that part over to Ruby. :)
      ua-cam.com/video/c8JlYmYGR7E/v-deo.html

    • @Kyros-2024
      @Kyros-2024 Рік тому +1

      @@Deanin YES!

  • @kirk7784
    @kirk7784 Рік тому +1

    This is really cool. Would you be able to create different sessions, like Jackbox games with their own id?

    • @Deanin
      @Deanin  Рік тому +1

      Yeah, I'm definitely eyeing doing something like that. I just have to look into it a bit more to figure out how it works.
      Hopefully I'll even have a video like that out this week 👀

    • @kirk7784
      @kirk7784 Рік тому +1

      @@Deanin nice man, I've been trying to find a tutorial on a turn based two player card game but all i found was one done in react and node

    • @Deanin
      @Deanin  Рік тому +1

      I'll add a turn based card system to the list! Just gotta figure out an easy enough card game to implement lol

  • @MalachiRails
    @MalachiRails Рік тому +1

    Check DM man.