15 49.0138 8.38624 1 0 4000 1 https://vadapalanijobs.com 300 true 0
theme-sticky-logo-alt

Multiplayer Networking Tutorial (Part 1) [2020] GameMaker Studio 2 | Multiplayer Online Games

33 Comments


==LIKE, SUBSCRIBE AND COMMENT==

The long awaited networking tutorial is here 🙂 Feel free to reach out to me if you have any questions. I’d love to help!

In part 1 we set up the server and the client and have them communicate with eachother. In part 2 we will deal with having multiple clients going at once.

PART 2:
PART 3:
PART 4:
PART 5:

 DOWNLOAD PROJECT FILES:

==LINKS==
Patreon:
Twitter:
Blog:
Marketplace:
Discord:

Nguồn: https://vadapalanijobs.com

Xem thêm bài viết khác: https://vadapalanijobs.com/game/

Previous
Next

33 Comments

  • July 13, 2020 at 6:20 am
    Dr. Rag

    Thanks! This was my first ever time working with anything related to networking in gamemaker studio 2, and I learned a lot!

    Reply
  • July 13, 2020 at 6:20 am
    Xug

    Wizirdi, I told myself that I would get some good sleep, wake up, have a coffee, and watch this video carefully. If I couldn't understand it, I would give up on multiplayer entirely. You sir, are responsible for keeping my dream alive. This was an excellent tutorial.

    To fully get my head around it I created a client step event and sent different strings based on different key presses. Sexy times.

    Thank you very much.

    Reply
  • July 13, 2020 at 6:20 am
    Pietro BorgesPlayer

    Do This Work For A Ready Game?

    Reply
  • July 13, 2020 at 6:20 am
    Timothy Y.

    For some reason, when I press space, instead of just reading the packet once, my client object's networking event is firing every frame, causing the "Hello world" message to pop up every frame.

    Edit: My client and server are part of the same project. I don't know if that makes a difference here.

    Reply
  • July 13, 2020 at 6:20 am
    Skeleton Bro

    Is it possible to create online multiplayer via drag and drop?

    Reply
  • July 13, 2020 at 6:20 am
    drsquash2003

    I walked into this video, just knowing I was gonna learn some good stuff. Great intro. Confident, honest, straight to the point. Earned a sub

    Reply
  • July 13, 2020 at 6:20 am
    DavaPrograms

    This tutorial : [2020]
    Also this tutorial : 22 october 2019

    Reply
  • July 13, 2020 at 6:20 am
    LoL Dodge Game Guy

    I love you doing stuff like this for free to give everyone such useful and interesting information is insane and you did it in such an understanding way i will sub to your patreon ty.

    Reply
  • July 13, 2020 at 6:20 am
    Aaron Wise

    Will I be able to use this to make a base building game pvp game online?

    Reply
  • July 13, 2020 at 6:20 am
    Aaron Cooper

    are TCP connections possible for Mobile?

    Reply
  • July 13, 2020 at 6:20 am
    ced ced

    good video, but using variables in the async event without declaring them first in the create event is really confusing, expecially when they have similar names on the server project and client project.

    Reply
  • July 13, 2020 at 6:20 am
    Kombowz

    I get it, now on to part 2!

    Reply
  • July 13, 2020 at 6:20 am
    Апостол Тути

    Огромное спасибо за туториал!

    Reply
  • July 13, 2020 at 6:20 am
    Jos3ndo Oficial

    Ty a lot 👍

    Reply
  • July 13, 2020 at 6:20 am
    EmpereorAlexand

    Thanks!

    Reply
  • July 13, 2020 at 6:20 am
    Demonwater Demonwater

    And I did like 2 other games

    Reply
  • July 13, 2020 at 6:20 am
    Demonwater Demonwater

    I been working on a game for like 2 years I don’t know why it took me so long I guess cuz I only do it part time

    Reply
  • July 13, 2020 at 6:20 am
    Schlingelkron

    I prefer making the server in java because you cant play without port forwarding or a good server and finging a gml server is like finding a 1000 dollar

    Reply
  • July 13, 2020 at 6:20 am
    Achi

    Not even done watching yet, but I just wanted to say this is a great tutorial so far. I love your enthousiasm! With the way you deliver your lines, these are a lot easier and more fun to follow.

    Reply
  • July 13, 2020 at 6:20 am
    Hitman

    неожидано русский комм

    Reply
  • July 13, 2020 at 6:20 am
    Kari Ukko

    How can I keep two projects at once ? (steam version)

    Reply
  • July 13, 2020 at 6:20 am
    Rayu Johnson

    you should declare var before buffer and socket variables in async networking or else their scope will be throughout the object and if you use those variables again for anything else there is always a chance you will get some weird behavior.

    Reply
  • July 13, 2020 at 6:20 am
    Erramir Orlans

    You could change your nickname to "Basically" XD

    That aside, great content, i will try to advance as most as i can, but if cant do what i need, i guess i will pay you for info , via paypal or patreon.

    Reply
  • July 13, 2020 at 6:20 am
    MoonFlux

    "This is the potential" Changes a color

    Now with me having the server, i can randomly change my friends player colors… mwahahaha

    Reply
  • July 13, 2020 at 6:20 am
    Hats OFF

    him : BOOM!It changes us orange and thats the potential!
    me : but i wanted BLUEEEEEEE ;{

    Reply
  • July 13, 2020 at 6:20 am
    JustMaxyme

    and can you use this for like a real multi player game for the whole world

    Reply
  • July 13, 2020 at 6:20 am
    JustMaxyme

    does this change any of the code your already existing game?

    Reply
  • July 13, 2020 at 6:20 am
    Terry Clines

    Thanks so much! I had tried several sources before landing on this one and it finally clicked. It's been truly satisfying to set up a private poker server for my friends during quarantine

    Reply
  • July 13, 2020 at 6:20 am
    emre kose

    Wonderful videos. 1 thing is not clear for me. How do we activate server in a real game since server project separated than client projects? I was trying to put them a single project but didn't work out. Thank you.

    Reply
  • July 13, 2020 at 6:20 am
    SgtLion

    Superuseful, whoop, thank you!

    Reply
  • July 13, 2020 at 6:20 am
    Kevin Wetzel

    This is excellent

    Reply
  • July 13, 2020 at 6:20 am
    Gag Faster

    Thank you for your job! I begin to develop a game. My question is not about code. I have some doubts about online games made in GMS 2 and I do not find any answer in Internet.
    1) Is it really to make online game like card game 1v1 in GMS 2 without using any other resources? I asked because I read that there are problems with games made in GMS 2. Can I make game like this for android? Will be users able to play this game if I make it in the manner you show it in your tutorial?
    2) If I make server in GMS 2 where I can run it? I have not posibility to use my comp as server.
    3) If my game 1v1 what max players number I must use? My max players must equal 2? Stupid question. But how do I can know how many players will be on my server? I also read that there are some problems with max players

    Reply
  • July 13, 2020 at 6:20 am
    พันห้า พี่ว่าไง?

    I can not port forward because I use my mobile data for the internet. Is there any way I can do?

    Reply

Leave a Reply