Asset - Extension WebSockets Extension (FREE & Open Source)

Discussion in 'Marketplace' started by Mert, Jul 20, 2019.

  1. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    375
    [​IMG]
    Here's my WebSocket library that I've made. It's lightweight, easy, clean, connects multiple servers; does the job.

    I am also writing a Go tutorial for creating a Server for this extension.

    Documentation & For More Questions
    On Marketplace
     
    The-any-Key likes this.
  2. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    375
    Update

    web_socket_close(real ConnectionNumber);
    is reworked and added to the documentation in the blog.
    I'm still working on that Go WebSocket server tutorial.
     
  3. Roa

    Roa Member

    Joined:
    Jun 20, 2016
    Posts:
    557
    this makes number 4? But these are always welcome lol.
     
  4. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    375
    Number 4 of what? :)
     
  5. Roa

    Roa Member

    Joined:
    Jun 20, 2016
    Posts:
    557
    websockets for gamemaker lol
     
  6. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    375
    Ah, I checked some of them actually.

    There are two reasons why I made this extension.
    A. Other extensions use some sort of "constantly looking for incoming data" strategy. They have arrays inside of them to store incoming data, which are then returned to Game Maker and removed from the array. This is very expensive process! My extension does not do that! It simply has 4 promises(4*connection number exactly). Everytime a network event is triggered, I pass this data to Game Maker via Social Async Event (with GMS_API)
    B. It does not uses external libraries, made purely with Javascript sockets: Really lightweight! This is intented because <check below>
    C. It's a part of my framework for Facebook Instant Games.
     
    Last edited: Jul 28, 2019

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice