Huzzah ! Multiplayer in C2 !

Discussion and feedback on Construct 2

Post » Sun Oct 07, 2012 2:58 pm

Hey Guys

Awesome news for C2 multiplayer !
Firebase supports multiplayer without a server ! ( A little old :p )
No more server coding !

Yepee !
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sun Oct 07, 2012 4:10 pm

Look's really need, but I wonder about how secure it is and how fast it is. Anyone else more knowledgeable about networking can give some insight?
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Sun Oct 07, 2012 4:11 pm

Looks more like a service for web apps than a real time gaming platform.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Sun Oct 07, 2012 7:45 pm

That looks really great, I'd really like to learn more about it. I've begun reading the website, but I can only understand so much with my limited server/js knowledge. Could someone elaborate on it?
B
28
S
6
G
5
Posts: 248
Reputation: 5,463

Post » Sun Oct 07, 2012 8:32 pm

Well, they do say: "Firebase can be used to easily build multiplayer games!"

And by way of example, they offer "a fully-functional multi-player game of Tetris built entirely without server-side code".

But it's the "built entirely without server-side code" bit that would seem to rule out Firebase as a viable platform for industrial-strength secure multiplayer games, where you simply must have customised server-side code to handle such issues as cheating.

By way of illustration, their two-player Tetris example includes a Tetris.Board object in the client code which according to their comment /* Stores the state of a tetris board and handles drawing it */ - which in a proper multiplayer game is something that needs to be handled by the game server, otherwise what's to stop one player changing the state of the board to get an unfair advantage?

[UPDATE after further poking around the Firebase site]

To quote (my emphasis):
"For the most part, you really can write full apps without writing any server code and everything is amazing and there are kittens and bunnies everywhere. If this sounds too good to be true, heres the catch: In some cases, you may still need your own server.

"Firebase is great for storing and propagating data, but thats not the only thing servers do. You might need server code to integrate with other APIs, send out emails to users, do heavy data processing, etc."

- and, of course, in multiplayer games, to handle player interactions so that such issues as security and latency are dealt with appropriately and effectively.

So, not a viable multiplayer gaming platform, IMO.
Velojet2012-10-07 20:47:31
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Oct 07, 2012 8:42 pm

I'll just sit back and see if someone smarter can do anything cool with it.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Sun Oct 07, 2012 8:55 pm

:| , I'm going back for more research ! One day ... One Day , I will find the gold mine ... I hope ..
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sun Oct 07, 2012 9:08 pm

This is really more designed for peer-to-peer connections. It basically will work fine for anything that doesn't need a centralized server.

The speed will work as fast as the connectors. It will bridge all the available connections similar to Skype - which is extremely insecure.Helladen2012-10-07 21:09:49
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Mon Oct 08, 2012 8:23 am

@kbdmaster

Man to be honest, this gain my interest !! very useful to create social apps, thanks for sharing, beside making games with C2, C2 is cool too to design an interactive apps and real time feature would be totally cool.

B
22
S
3
G
5
Posts: 141
Reputation: 5,117

Post » Wed Sep 11, 2013 12:33 am

Has anyone explored this further?
B
13
S
3
G
4
Posts: 19
Reputation: 3,081

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Avengium, DonpatchXD, eli0s, MadSpy and 15 guests