Giter Club home page Giter Club logo

godot-websocket's Introduction

NOTE: This module was merged in Godot Engine master branch via pull request godotengine/godot#14888 and will be available on official Godot Engine releases starting from version 3.1. This repository is no longer mantained and only left for historical purpose. All further development will be done inside the Godot Engine repository ( https://github.com/godotengine/godot ). Thank you for your support.

Demos are available for newer versions of Godot in the official demo repository.

If you like this, and want to support us, check out our videogame and follow us on twitter


WebSocket module for Godot Engine 3.0

This module allows for easy creation of WebSocket Client and Server using libwebsockets as a thirdparty library. Libwebsockets is released as LGPLv2.1 + static linkning exception. You can find that license in thirdparty/LICENSE.txt

The client API is also available in project exported to HTML5 using native Javascript code.

A small demo project is available in websocket_chat_demo to show how to use the module.

This module is still a work in progress.

Tested on:

  • Linux
  • Windows (mingw build)
  • Javascript/HTML5

Compiles on (untested but should work):

  • Android
  • iOS
  • OSX

The module supports writing data in both TEXT and BINARY mode.

NOTE

You can run the demo server from a godot instance and connect to it with the demo client exported to Javascipt/HTML5, checkout the screenshot:

LWS Module Screenshot

Build instruction

Simply copy (or link) modules/lws inside Godot modules directory. Also copy thirdparty/lws inside Godot thirdparty directory.

Compile Godot Engine as you would normally do.

Support us

If you like this, and want to support us, check out our videogame and follow us on twitter

godot-websocket's People

Contributors

faless avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.