How to Make a Multiplayer Game! Peer to Peer Construct 3 Multiplayer Plugin Tutorial

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

КОМЕНТАРІ • 54

  • @FoozleCC
    @FoozleCC  3 роки тому +5

    Thanks for watching! Let me know if there are any topics you would like to see a tutorial on next! Cheers :)

  • @yaserbahzad2591
    @yaserbahzad2591 3 роки тому +7

    was looking to explore this area with construct 3 multiplier, and didn't know where to start, but finally found it here, thanks a lot

    • @FoozleCC
      @FoozleCC  3 роки тому +1

      Appreciate the kind words Yaser! Definitely not the easiest to get started but it is so satisfying once you have it working :) best of luck!

  • @CJ-mr8dn
    @CJ-mr8dn 3 роки тому +3

    3:17 as soon as you said "Oh!" , the lights went out
    I got scared lol

  • @epiccheese94
    @epiccheese94 2 роки тому +1

    Excellent, hard to find similar content elsewhere! Thanks for putting in the time man.

  • @RealLilChopstick
    @RealLilChopstick 3 роки тому +8

    YES finally the multiplayer tutorial! Thank you so much for making this and it was super helpful!

    • @FoozleCC
      @FoozleCC  3 роки тому

      Thanks! Was a bit of a bear but that is multiplayer for you. Everything is more difficult :) hope you can build off of it and make something cool! Cheers

  • @romainpierson
    @romainpierson 10 місяців тому

    Thank you for your video ! It's very clear and helpful. You allowed me to understand better how to manage my own game 👌

  • @soundsbysoy4424
    @soundsbysoy4424 3 роки тому +1

    this video is EXACTLY what I was looking for, good Job Foozle

    • @FoozleCC
      @FoozleCC  3 роки тому

      Glad it was useful for you! Cheers

  • @WelisonGt
    @WelisonGt 2 роки тому +2

    não estou conseguindo entrar no jogo. quando crio a sala não entra
    I can't get into the game. when I create the room it does not enter

  • @DJHEADPHONENINJA
    @DJHEADPHONENINJA 3 роки тому +3

    great channel, don't stop creating construct content!

    • @FoozleCC
      @FoozleCC  3 роки тому

      Thank you! Appreciate the encouragement- cheers

  • @raresagegames
    @raresagegames 3 роки тому +3

    Really informative so far! You're very good at explaining things! Thanks!

    • @FoozleCC
      @FoozleCC  3 роки тому

      Thanks for feedback!

  • @philwicker
    @philwicker 3 роки тому +1

    I didn't think about sending messages via JSON! From my experience of multiplayer in construct, this is a great next tutorial from the Construct real time template tutorial. have you tried converting a basic, maybe template, game to multiplayer?

    • @FoozleCC
      @FoozleCC  3 роки тому +1

      Thanks Phil! Yeah- the json piece becomes a pretty useful tool to have. No immediate plans on the multiplayer template but may come back to it, have a bunch of stuff on the list to tackle but will add this to consider in the future

  • @pabloherrera3607
    @pabloherrera3607 3 роки тому +1

    Nice video! thanks for share friend

    • @FoozleCC
      @FoozleCC  3 роки тому

      Thanks Pablo! Cheers

  • @dodgepursuit842
    @dodgepursuit842 3 роки тому +1

    Are you using any lag compensation logic such as the one covered in the fourth Construct multiplayer tutorial (real-time game)?

    • @FoozleCC
      @FoozleCC  3 роки тому +1

      Check out 32:50 is around where it starts. May want to go back further to get context. But yeah it’s in the host section of the code. Good luck!👍

    • @dodgepursuit842
      @dodgepursuit842 3 роки тому +1

      @@FoozleCC thanks!

    • @DeadDamsel
      @DeadDamsel 3 роки тому

      Doesn’t the built in multiplayer have input prediction by default? I remember reading the documentation and I thought it specifically said to not try and build it since it could conflict with the default stuff.

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

    Im doing a simple message relay to from peer to host and back to peer to sync a variable, but the host's broadcast message doesn't go out to the peers? The tags and everything line up, but the variable can only be set on the host side from the peer's message.But the peer doesn't get the host's message... It's so simple but it's just not working.

  • @PiNPOiNT2K
    @PiNPOiNT2K 3 роки тому +1

    How do you deal with syncing physics in a multiplayer game? Is it possible with their mulitplayer plugin?

    • @FoozleCC
      @FoozleCC  3 роки тому

      In general you try not to sync in the way you are thinking. You let the host make all the important decisions (including those related to physics) in their runtime, then broadcast the result in a message or through syncing some object / variable. The peers then are all told what happened and update accordingly. The peer may still show effects etc but the decision is made by the host. For items that don’t effect game play - it can be “common” and done by each player separately. If it has a visual effect you can update all peers through messaging etc

    • @PiNPOiNT2K
      @PiNPOiNT2K 3 роки тому

      @@FoozleCC So does the host say "the ball moved at a X and Y velocity, and the clients apply that to their local one? Or is the client version of the ball just a non physics ball and its visually just matching the x/y cordinates of the ball moving on the host machine?

    • @FoozleCC
      @FoozleCC  3 роки тому

      @@PiNPOiNT2K I would start with the clients being a non physics ball and the position being synced from the host. The C3 plugin helps with lag compensation but based on how you implement, part of the trick in something like that is compensating for the delay - best thing is to get a demo going and start testing :) when you pull up multiple tabs though you will have 0 lag, so you will want to pull it up on different networks or have friends help you test

    • @PiNPOiNT2K
      @PiNPOiNT2K 3 роки тому

      @@FoozleCC thanks

  • @stydeofoor
    @stydeofoor 8 місяців тому

    Can I get a video on where the peer can choose their character

  • @ohtontheknight3879
    @ohtontheknight3879 2 роки тому

    How do you deal with 2 players shooting or spawning a bullet at the same time i can't seem to get my code to work because only 1 player can shoot at a time

  • @janithasandun6667
    @janithasandun6667 3 роки тому +1

    Hi,
    I'm developing 4 players multiplayer game. When 4 players are connected I need to assign them different objects. For example,
    Host player = man
    1 st peer = cat
    2nd peer = dog
    3rd peer = another object
    like that.
    So how do I do that using this plugin? Any Help?

    • @FoozleCC
      @FoozleCC  3 роки тому

      In this tutorial I had to do something similar for keeping the player number organized. I used dictionaries that I kept up to date on each player. That same approach should enable you to trigger using different objects. Good luck!

  • @JB-qd2sk
    @JB-qd2sk 3 роки тому

    Greetings... Love your tutorial! I wonder, is it possible to share the user media to other multi players? Example: Creating a video chat room while playing the game.

  • @KoshNaranick
    @KoshNaranick 2 роки тому

    do you use primarily pixel art or vector art? or a mix?

  • @MrVeato
    @MrVeato 3 роки тому +1

    Amazing! Thank you so much!!!

    • @FoozleCC
      @FoozleCC  3 роки тому

      You are welcome! Thanks for watching :)

  • @luiseduardo-nr4hv
    @luiseduardo-nr4hv 2 роки тому

    hi, how add other player?

  • @vanomain3128
    @vanomain3128 3 роки тому

    THANKS, you are best!

    • @FoozleCC
      @FoozleCC  3 роки тому

      No - YOU’RE the best. Thanks for the comment 🤣

  • @chomthong_official
    @chomthong_official 3 роки тому

    play on
    mobile phone?

  • @FrozenWell
    @FrozenWell 3 роки тому +1

    great video

  • @CJ-mr8dn
    @CJ-mr8dn 3 роки тому +2

    Its not free 😟🥺😢

  • @Unbelievableworld22
    @Unbelievableworld22 3 роки тому +1

    I'm your 1000 subscriber

    • @FoozleCC
      @FoozleCC  3 роки тому +1

      Haha thanks buddy! Cheers

  • @abdomation6297
    @abdomation6297 3 роки тому +1

    Thank you so much for making this video but can you make another video about how to synchronize animations

    • @FoozleCC
      @FoozleCC  3 роки тому +1

      You have a few choices on this front from interpreting state / animation on each peer to passing state info over the network on each change. Sounds like a good idea for a video though! Cheers

  • @obiomajronyekwere4469
    @obiomajronyekwere4469 3 роки тому +1

    Thank god for this

    • @FoozleCC
      @FoozleCC  3 роки тому

      😂 Glad it was helpful!

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

    Hola les dejo el proyecto corregido para los que no les funciona.
    Hello, I leave the corrected project for those who do not work:
    drive.google.com/file/d/1_b04iGxGELSiRJbidZ7xbWE8X6c8szfE/view?usp=sharing

  • @Kremniy1
    @Kremniy1 3 роки тому

    Can u add english subtitles in your videos? Im from russia

  • @agent-498
    @agent-498 3 роки тому +1

    Thankyou for subbittle indonesian

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

    It is no tutorial, this looking is too difficulte