Hey Guys,
My game is basically a dual stick shooter that I am trying to include a multiplayer mode. With massive 2D maps, where they can battle each other in different game modes. Now I am guessing the easiest way to do this is through PubNub. What is the cheapest way? I’m expecting to have multiplayer game lobbies of eight. I’m guessing I would need to check for each players position, rotation, & their bullets at least 45 frames per second, for best performance.
With 8 players in a lobby, it seems like a lot to me.
Sending out each players information (assuming all the info can be sent out in one message):
Device One Sends Out It’s Player & Bullet Information
Device Two Sends Out It’s Player & Bullet Information
Device Three Sends Out It’s Player & Bullet Information
Device Four Sends Out It’s Player & Bullet Information
Device Five Sends Out It’s Player & Bullet Information
Device Six Sends Out It’s Player & Bullet Information
Device Seven Sends Out It’s Player & Bullet Information
Device Eight Sends Out It’s Player & Bullet Information
***45 messages per second per device***
Device One Receives All Messages
Device Two Receives All Messages
Device Three Receives All Messages
Device Four Receives All Messages
Device Five Receives All Messages
Device Six Receives All Messages
Device Seven Receives All Messages
Device Eight Receives All Messages
***Additional 45 messages per second per device***
Assuming each lobby is full, & I have 100 lobbies, 8 devices playing in each… That’s 800 devices playing at one time, costing me 72,000 messages per second.
72,000 messages per second in pay to go for PubHub is $7.20 per second. Or, if I went the standard way, I would be allowed 14 minutes of multiplayer gameplay per day (assuming servers are full all the time) for $130 per month!? Ridiculous? For $650 per month, I can get around 200 minutes of multiplayer gameplay per day (assuming servers are full all the time). Now the servers will not always be full I am guessing so maybe 3 1/3 hours of gameplay per day is fair, but not for $650. At least in my opinion.
Could someone please tell me if this is just how it is out there, or if there is a cheaper way?
Thanks! [import]uid: 50842 topic_id: 14890 reply_id: 314890[/import]