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

Server/Client Networking in GameMaker (Networking Pt. 2) [GMS 2 / 1.4]

19 Comments


In part 2 of my networking series, we learn about server/client networking.

Part 1:
Part 3:

🔗 Project:

📦 Shell Execute extension:
(Marketplace version not available anymore)

🐤 Follow me on Twitter:

📚 Enroll in my best course:

💗 Join our Discord server:

Nguồn: https://vadapalanijobs.com

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

Previous
Next

19 Comments

  • July 7, 2020 at 9:55 am
    Giel

    Hi. Just an update for people trying this on November 27, 2019 or later. The execute shell has changed a bit. It's now an extension and no longer a script (still free though). Therefore, you should import 'extensions' instead of 'scripts' (don't forget to import 'included files'). Then, in the 'open_two_windows' script, you should type 'execute_shell(' instead of 'ExecuteShell(' and leave out ', false' on line 5. (P.S. I added ' for clarity of reading. You don't need to type those in the code)

    Reply
  • July 7, 2020 at 9:55 am
    Vince7heKilleR

    At 8:57, how the program can read a buffer if we didn't sent one ? if we did sent one then where is the code where we sent the buffer ? Pls respond thx

    Reply
  • July 7, 2020 at 9:55 am
    Patchwork Penguin

    matharoo is the best at gms2! This man is the pinnacle of genius!

    Reply
  • July 7, 2020 at 9:55 am
    Anthyom

    i need the other networking method

    Reply
  • July 7, 2020 at 9:55 am
    Gag Faster

    Hi! Please help. I made project on gms 2 for very simple multiplayer game. Everything is ok on my computer. Now I want to test online. What IP and port i must use? I can not use my comp as server? Where I can find them? What steps do I need do? I have project on my computer. I watched many videos on youtube I read many tutorials. But I dont understand my next steps

    Reply
  • July 7, 2020 at 9:55 am
    Calebe64

    the client can't see the server, but the server can see the client…
    what is wrong on that?

    Reply
  • July 7, 2020 at 9:55 am
    I do games

    The execute_shell function is going to save so much time. Great tutorial btw

    Reply
  • July 7, 2020 at 9:55 am
    D2 Studio

    can i start server from android? or it just work for PC?

    Reply
  • July 7, 2020 at 9:55 am
    MC NIGHT CHANNEL

    Is it work if I want try on android?

    Reply
  • July 7, 2020 at 9:55 am
    ToastGhost

    Sorry if its a bit off-topic, but where do you find the server ip and port number

    edit: ok i figured out my own, but how can i get the players ip + port? or do they have to manually type that into some in-game textbox

    Reply
  • July 7, 2020 at 9:55 am
    monblu

    Thank you a lot ! We can see that you put a lot of efforts in these videos and that awesome !

    Reply
  • July 7, 2020 at 9:55 am
    Goat King

    How good are GML written servers compared to say Python/Node.js/Java servers?

    I keep hearing negativity on the reddit and the yoyo forums about GML servers aren't too good compared to other programming language servers.

    What do you think? How big of a difference is it?

    Can I get away with doing GML servers that will run just fine?

    GML servers are so much easier to write, in my opinion.

    Reply
  • July 7, 2020 at 9:55 am
    Mikhail

    Thanks!! What music in the end?

    Reply
  • July 7, 2020 at 9:55 am
    Daxterapid

    Good job on explaining, but can you do a tutorial on this for connecting with other computers without port forwarding?

    Reply
  • July 7, 2020 at 9:55 am
    Nick

    Mine didnt open two windows, what would cause this? I followed the video and downloaded the files

    Reply
  • July 7, 2020 at 9:55 am
    countofcounts

    this is a great tutorial, thank you!

    Reply
  • July 7, 2020 at 9:55 am
    Tribune12345

    excellent tutorial series. Thank you!

    Reply
  • July 7, 2020 at 9:55 am
    F ę l i

    Nice

    Reply
  • July 7, 2020 at 9:55 am
    FolivorousCocoon961

    Extremely helpful, good job!

    Reply

Leave a Reply