-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreal Engine support for Colyseus #16
Comments
Hi @HeadClot, It would be great indeed! I'm not so experienced with C++ to implement that, though. At this very moment, I'm still working on the Unity3D client to match the last server version (colyseus/colyseus-unity-sdk#2). If someone has the interest to create the new client I'd be very glad :) Thanks for your interest in the project, |
Endel, i'm planning to do the same, so i can share client Cpp static library for the colyseus, in the nearest future (WIP now) |
@jesst3r wonderful. If you can give a starting point for this library maybe I could help. Cheers! |
The most challenging task on the client side is the deep object diff algorithm. This is still missing in the Unity3d client. (colyseus/colyseus-unity-sdk#2) I'll quote here just to make things clear (colyseus/colyseus-unity-sdk#2 (comment))
For the JavaScript client this is not a problem, since there's more than one implementation already available for evaluating the difference between objects. For Unity3d, it requires an effort but it would be possible to implement the JSON-Patch comparison algorithm against the decoded msgpack result. The C++ approach could be similar. Maybe there's a different way to approach this that I'm not aware of. I'd love to hear your thoughts about this. |
Our fellow @chunho32 implemented a Cpp/Cocos2d-x client! 🎉 I guess it would be possible to use it for Unreal projects as well? https://github.com/chunho32/colyseus-cocos2d-x |
Any news here? We want to use the unreal engine with colyseus too. However before we start to develop our own colyseus plugin i want to ask if someone already started to develop one |
Hi @trollr, there's no Unreal Engine client available yet, the cocos2d client can be used for reference, but keep in mind it's a bit outdated. I'd suggest using the JavaScript/HTML5 client as a major reference for implementing new clients since the community has been using it the most. (It might be possible to use the CPP output from the Haxe client to use inside Unreal, I'm not sure if it's possible and neither if it's a good idea) |
Closing as this should be tracked on #217 |
Hey @endel -
Got a bit of a request for an enhancement for Colyseus. Would it be possible to get a Unreal 4 integration going using Unreal.JS and the Unreal Socket.io plugin for Unreal?
Thanks for your time,
Benjamin
The text was updated successfully, but these errors were encountered: