Wolfram Posted September 3, 2016 Share Posted September 3, 2016 I just wanted to share https://deepstream.io/ , a fast realtime server that we're working on which is a great fit for multiplayer gaming. Please find a tutorial for a multiplayer spaceshooter build with deepstream and pixi.js on Pluralsight/Hackguides here: http://tutorials.pluralsight.com/front-end-javascript/building-a-multiplayer-space-shooter-part-i commention, HeadClot, bdekk and 3 others 6 Quote Link to comment Share on other sites More sharing options...
amygamer Posted September 6, 2016 Share Posted September 6, 2016 love this tutorial <3 looking forward to part 2 Quote Link to comment Share on other sites More sharing options...
Jazz Posted September 19, 2016 Share Posted September 19, 2016 Nice tutorial! Quote Link to comment Share on other sites More sharing options...
commention Posted September 24, 2016 Share Posted September 24, 2016 Hello @Wolfram, Thank you for sharing with us this tutorial. I was looking into deepstream.io and thought about making game with this library. Then saw your tutorial. I just wonder know how performance is. I mean, is it right way to do make multiplayer games with this library? I don't want to invest too much time on game networking and don't want to write everything from scratch with socket.io or something like that. If it's possible to make multiplayer with deepstream.io, it will be easier to handle. Also do you have any plan to write second part of this tutorial? Quote Link to comment Share on other sites More sharing options...
Wolfram Posted September 25, 2016 Author Share Posted September 25, 2016 Thanks, deepstream works well for casual multiplayer gaming - think Clash Royal etc. Generally speaking it - has an average message processing latency under load of ~1ms (plus network latency) - scales horizontally to facilitate significant throughput. We've run tests with a six node cluster forwarding 4.000.000.000 messages / hour (https://deepstream.io/info/performance/four-billion-messages-per-hour/) - is very cheap to run. - speeds up development as its high-level concepts manage most of the hard stuff like connection logic, state recovery etc out of the box it WON'T be a good fit though for games that require ultra low latency and significant prediction (think Call of Duty etc.). For these games you'd be better of building a custom solution that - uses UDP multicast to minimize message times - uses predictive positioning to move your characters to the position they will likely be in the next frame and only reconcile it if it receives different input (resulting in these jumps you know from laggy connections) commention and HeadClot 2 Quote Link to comment Share on other sites More sharing options...
b10b Posted September 26, 2016 Share Posted September 26, 2016 @Wolfram, my noob and vague question ... how does Deepstream compare to a Node+Socket.io approach? Quote Link to comment Share on other sites More sharing options...
cesarpachon Posted October 6, 2016 Share Posted October 6, 2016 just start reading about deepstream.io, how it compares to pomelo? (https://github.com/NetEase/pomelo) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.