Comments (6)
Hi @takaaptech, thanks for your feedback.
Are you using CoronaSDK? It would be possible to implement a client using lua-websockets following the (simple) message protocol Colyseus uses.
Cheers
from colyseus.
Thank so much! i will try https://github.com/dmccuskey/DMC-Corona-Library#dmc_websockets
from colyseus.
@takaaptech actually this would take a little more effort by abstracting receiving and sending messages using Colyseus's protocol: https://github.com/gamestdio/colyseus/blob/master/lib/protocol.js
I'd really like to have a LUA/CoronaSDK client implemented, so lets leave this issue opened!
DMC-Corona-Library seems to be a good starting point, it would be great to have a standalone client for Colyseus though.
Thanks
from colyseus.
I've started a port from the JavaScript client here: https://github.com/gamestdio/colyseus.lua
For now it works only inside Corona Simulator. It seems that CoronaSDK won't play nice with luarocks at all. I'll try to upload a plugin on 3rd party plugin directory later this week. Hopefully we'll have this client working on mobile phones soon!
Please let me know if you have any experience on this, I'm not used to LUA ecosystem.
Cheers!
from colyseus.
The CoronaSDK client is now working as expected on Android, probably it will work on iOS devices as well. Please feel free to submit any issues if you find any when testing it! Cheers!
from colyseus.
I confirm that it works well on ios device (tested on ipad mini). Thanks!
from colyseus.
Related Issues (20)
- [Bug]: RelayRoom.ts public name:boolean HOT 1
- RelayRoom => Unity3d State.players.OnAdd() HOT 4
- [Bug]: Broken/invalid Schema examples HOT 1
- [Bug]: cannot validate Room Options/Availability HOT 4
- [Bug]: about server matchMaker.createRoom() HOT 2
- [Bug]: static onAuth not fired when using joinById HOT 9
- [Bug]: maxClients not (fully) respected HOT 4
- [Bug]: Token is undefined in static async onAuth in Defold client HOT 8
- [Bug]: OnChange doesn't trigger on the client in the Unity sample HOT 1
- [Bug]: disconnect() during onCreate() HOT 9
- [Bug]: Colyseus throws an exception when a client tries to reconnect after leaving HOT 3
- [Bug]: Stats reports negative player count HOT 2
- TypeError: roomHistory.clients is not iterable HOT 7
- [Bug]: Uncaught Error: ChangeTree: missing index for field "undefined"
- [Bug]: Map Schema Removing value creates issue HOT 2
- [Bug]: tsx must be loaded with --import instead of --loader HOT 4
- [Feature]: need Request in static onAuth HOT 6
- [Bug]: Cannot use Matchmaker w/o Server HOT 1
- [Bug]: Error code lost when throwing ServerError in onCreate HOT 2
- [Bug]: Cant join rooms from react typescript Application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colyseus.