GameMaker Studio 2
Icon

Android Socket.IO Client

Exception

You must be logged in to obtain assets

Contact Publisher

Description

Native Socket.IO and Android

Implemention Socket.IO in game maker studio

Information: https://socket.io/blog/native-socket-io-and-android/

Server socket test: https://socket-io-chat.now.sh/

Socket funtion:

initSocket(String host): Init socket io with host

onListener(String type): Add listener from host, type listener data in async social(GMS)

connect(): Call connect to host

disconnect(): Disconnect to host

sendJsonArray(key, json): Send data json array to host, (json as String)

sendJsonObject(key, json): Send data json object to host, (json as String)

sendString(key, value): Send string to host

sendDouble(key, value): Send double to host

offAll(): Remove all listener

offFromId(event, id): Remove listener from id;

offFromEvent(event): Remove all listener from event;

reconnection(): call reconnection(now it auto call)

onListenerOnceTime(String type): Add listener from host, type listener data in async social(GMS)(auto remove after call);

connected(): check connect to server;

Support Macros for listener: IO_CONNECT, IO_DISCONNECT, ...

NOTE: If you want to add a feature or report an error, submit a comment

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 2.0.0. Published December 20, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top