Skip to content
sample project using the socketio-client-ue4
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
server update packaging and client for v2.0+ Nov 10, 2018
sioclient Update sioclient.uproject Apr 2, 2019
.gitattributes 🎪 Added .gitattributes & .gitignore files May 9, 2016
.gitignore add ignore Jul 23, 2017
.gitmodules merge Jul 23, 2017
WebClient.url add webclient shortcut Jul 23, 2017
readme.md Update readme.md Jul 24, 2017

readme.md

Socket IO Client UE4 Example Project

Reference implementation of socket.io chat client in ue4 using blueprints and umg.

UE4 Client Plugin repository: https://github.com/getnamo/socketio-client-ue4

Post questions to the SocketIO Unreal Forum Thread or contribute to or open new issues at https://github.com/getnamo/socketio-client-ue4-example/issues.

Feel free to fork, update, contribute, or add other examples.

Installation and Setup

Short Video

Install and Go

Download

  1. Download Latest Release
  2. Unzip into a folder of your choice

Server and Web Client

  1. Install node.js
  2. Navigate to server and open a command window at address (e.g. shift right click folder and open command window here)
  3. type npm install to install dependencies
  4. type node index to start the server
  5. Use the WebClient shortcut in the zip root folder or type localhost:3000 in your browser to test the web client

UE4 Client

  1. Navigate to sioclient folder and Open sioclient.uproject
  2. Once loaded, hit Play the client should auto-connect to your server
  3. watch messages from your web client stream in or press m to send a basic message to all clients.
  4. press enter to capture keyboard focus

Notes

  • Ending play in ue4 client will auto-disconnect the client.
  • Closing the command window will shutdown your server.
  • Closing your web browser will auto-disconnect your web client
  • Blueprints used should be fairly documented, explore them to find out how it all works
  • See https://github.com/getnamo/socketio-client-ue4 for detailed plugin API

License

MIT

You can’t perform that action at this time.