How to create an Online Multiplayer Game for 2 or more Players

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Hi There in this video I would show you how to make an Online Multiplayer Game for two or more players in GDevelop with an example
    ---{Download Example}---
    drive.google.c...
    ---{Social }---
    Discord
    / discord
    Itch.io
    thegemdev.itch...
    Twitter(@TheGemDev) =
    / thegemdev
    Reddit
    / the_gem_dev
    Patreon
    / thegemdev
    Instagram(@TheGemDev)
    / thegemdev
    ---{Hash}---
    #gdevelop #gamedev #2D #madeingdevelop #indiegamedev #gamedevelopment

ความคิดเห็น • 66

  • @sepoy5346
    @sepoy5346 3 ปีที่แล้ว +8

    And when world needed him most
    He returned

  • @Languste
    @Languste 8 หลายเดือนก่อน +2

    Hey Gem Dev!:) Could you please make an updated video of how to create a basic P2P connection for an existing game (my game currently is local 2-player)? For example the object type for the text shown in your video doesn't exist anymore in GDevelop, so I cannot get it to work... Not even the connection between two people.
    It seems simple -- I simply want two people to connect to each other with the default broker server codes; one player actually has the game running and sees it on their screen, while the other one only sees the exact same on their screen. And then both players use their respective input buttons to interact on their side of the board. Help would be much appreciated!:)
    These videos about online multiplayer connections are your most watched btw, congratulations :D

  • @Chemist123
    @Chemist123 3 ปีที่แล้ว +16

    Bro I just found you!!! Im so glad I can learn GDev from scratch. You indeed are a GEM!!!

  • @Shimmyshimmyyayshimmyyayswalal
    @Shimmyshimmyyayshimmyyayswalal 2 ปีที่แล้ว +1

    Thanks for Using my name, pal !
    Explanation : This is my second channel, My original one ( RD-Gaming ) got deleted.
    But I m back !

  • @smalism
    @smalism 2 ปีที่แล้ว +19

    Hey! Nice tutorial. Would you mind making a tutorial for matchmaking? So you don't have to connect the clients

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว +8

      I would add that to my to do list. Subscribe

    • @smalism
      @smalism 2 ปีที่แล้ว +2

      @@TheGemDev I have subscribed!

    • @disguisedpuppy
      @disguisedpuppy 2 ปีที่แล้ว +3

      @@TheGemDev hey ruby saphire or topaz or whatever you are made of does the id remain same for a device or a window of the waiter or can we make it make it happen like making a friend feautre

    • @arjebstudios8658
      @arjebstudios8658 ปีที่แล้ว +1

      @@TheGemDev also waiting for the matchmaking tutorial

  • @GhostByte_dev
    @GhostByte_dev 3 ปีที่แล้ว +4

    Should this type of multiplayer works for LAN on mobile ?

  • @LW_RDi
    @LW_RDi 3 ปีที่แล้ว +2

    taaanx broooooo

  • @mobiletips358
    @mobiletips358 3 ปีที่แล้ว +2

    How to stop object creation when game is pause.
    I have a game , when i pause game and after tap play, there are so many object created.

  • @luhelii
    @luhelii 2 ปีที่แล้ว +3

    how do i get the example in the game

  • @matezsiros2899
    @matezsiros2899 2 ปีที่แล้ว +2

    Hello. Why don't it generate an ID? It just loading and write the error.

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว

      Re you connected to a server, if you are not it would display and error

    • @matezsiros2899
      @matezsiros2899 2 ปีที่แล้ว

      @@TheGemDev If I do anything, it prints out the same thing. What server should I connect to? 😟

  • @skele0314
    @skele0314 2 ปีที่แล้ว +2

    The example won't generate an ID. IDK how to fix this.

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว

      The default server has a problem at the moment, consider using a custom server

  • @MrKattan000
    @MrKattan000 2 ปีที่แล้ว +1

    Hello I need to know how it starts, if broker start the game either for connect with others, or to make that by them to him,How they can get in the same
    game?

    • @MrKattan000
      @MrKattan000 2 ปีที่แล้ว +1

      I mean What after connecting?

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว +2

      Do you mean after copying the Id from one client?

    • @MrKattan000
      @MrKattan000 2 ปีที่แล้ว +1

      @@TheGemDev Yes, And something another, on my webpage (copy/paste) doesn't work...plz help

  • @justice_edits
    @justice_edits 3 ปีที่แล้ว +2

    Can you please do a tutorial to create the enemy in you game the runner. A zombile following he player

  • @superkingpl
    @superkingpl 2 ปีที่แล้ว +3

    Yeah, but there is any option to make something like matchmaking? People connects to one game without getting an ID.

  • @abdulbasithkhan1961
    @abdulbasithkhan1961 3 ปีที่แล้ว +2

    i am trying to creat a game but my player life commands and checkpoint commands are getting mixed up. please help

  • @GrendVerdOfficial
    @GrendVerdOfficial 3 ปีที่แล้ว +4

    OMG, I need it! 😁

  • @GalaxyTime5416
    @GalaxyTime5416 3 ปีที่แล้ว +1

    Awesome gonna make a game pronto

  • @MrJumpingj
    @MrJumpingj 3 ปีที่แล้ว +3

    WOW, thanks for your tut and code.

  • @martianfr
    @martianfr 3 ปีที่แล้ว +4

    would this work for an html5 game? i publish most my games to newgrounds

    • @TheGemDev
      @TheGemDev  3 ปีที่แล้ว +1

      Yes it would

  • @tafman
    @tafman 3 ปีที่แล้ว +1

    Wow.... Amazing app.... 🌟 🌟 🌟 🌟

  • @solemn_vortex1411
    @solemn_vortex1411 3 ปีที่แล้ว +2

    The audio got better. I'm just proud 😊 I've been following you before but stopped watching. Keep it up!

  • @ruanesmeraldo5047
    @ruanesmeraldo5047 3 ปีที่แล้ว +2

    do I need to create a character for each player?

  • @VirtualCarExotics
    @VirtualCarExotics 3 ปีที่แล้ว +1

    Hey Game Dev, Please create a video about google play sign in

  • @SantiagoJuarez-l8m
    @SantiagoJuarez-l8m 2 หลายเดือนก่อน

    Porque hablas en inglés pero todo está escrito en español incluso la descripción??

  • @BrunuAndrade
    @BrunuAndrade 2 ปีที่แล้ว +1

    Wow!!!!!

  • @italiatroller4793
    @italiatroller4793 ปีที่แล้ว

    How about LAN games using THNK??

    • @TheGemDev
      @TheGemDev  ปีที่แล้ว

      i'll take a look at THNK. it looks promising.

  • @sarcrofs
    @sarcrofs 3 ปีที่แล้ว +4

    Amazing video, with this I can really make a multiplayer online action game?

    • @TheGemDev
      @TheGemDev  3 ปีที่แล้ว +3

      Yes you can 😊

  • @rexplleee
    @rexplleee 3 ปีที่แล้ว +1

    can you make a street fighter tutorial (enemy ai, character menu)

  • @CC81444
    @CC81444 3 ปีที่แล้ว +1

    Hi, is it possible to make a minesweeper game? Can you please make a minesweeper tutorial?

  • @johannesmuller3394
    @johannesmuller3394 3 ปีที่แล้ว +1

    hi can you make a hangman game video tutorial please and thank you.😎👌

  • @Kat-327
    @Kat-327 3 ปีที่แล้ว +2

    hey,i really like your mouse cursor, form where did you get that fancy cursor?

    • @piratesephiroth
      @piratesephiroth 2 ปีที่แล้ว +1

      that looks like the default Mac OS cursor

  • @viridduchess889hd5
    @viridduchess889hd5 3 ปีที่แล้ว +2

    Can you do a daily task tutorial, please?

  • @dexter1964
    @dexter1964 3 ปีที่แล้ว +2

    Why is my storage not working?

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว

      send to thegemdev@gmail.com fro help

  • @brianstanky
    @brianstanky 2 ปีที่แล้ว +1

    What is max amount of players

  • @ricogoins
    @ricogoins ปีที่แล้ว

    Quite healthy

  • @alo7589
    @alo7589 3 ปีที่แล้ว +1

    finaly

  • @XxDeM0Nc0rPzxX
    @XxDeM0Nc0rPzxX 2 ปีที่แล้ว

    tysm

  • @fab.io_yt
    @fab.io_yt 3 ปีที่แล้ว +1

    nice

  • @streexs8937
    @streexs8937 3 ปีที่แล้ว +1

    hi. I want see code

  • @nucleus5191
    @nucleus5191 3 ปีที่แล้ว +1

    Is there any other way to add multiplayer in the game? Plz make a tutorial for that plz plz plz plz plz

  • @hobbysakuga
    @hobbysakuga 3 ปีที่แล้ว +1

    👍

  • @matrix-cl8zz
    @matrix-cl8zz 3 ปีที่แล้ว +1

    Guys, can you give me tips for the game I'm working on?

    • @shotgunflamez5608
      @shotgunflamez5608 3 ปีที่แล้ว

      if you can tell me what game ur working on then sure :]

    • @matrix-cl8zz
      @matrix-cl8zz 3 ปีที่แล้ว

      @@shotgunflamez5608 Thank you on my TH-cam channel

  • @dekoalabende2175
    @dekoalabende2175 2 ปีที่แล้ว

    Wow

  • @inspirateline243
    @inspirateline243 3 ปีที่แล้ว +1

    Please can you show us in the next video how do work Shopify in Gdevelop game?