BinaryJS (just found this on Reddit)

Discussion and feedback on Construct 2

Post » Fri Jul 27, 2012 5:58 pm

Hi guys!

I'm sorry I'm not proficient with coding, but could this be used to encrypt our games online?

http://binaryjs.com/

and here's the Reddit page I found it:
http://www.reddit.com/r/gamedev/comments/x87zr/html5_game_devs_i_built_a_framework_for_realtime/

Thanks!
B
107
S
40
G
10
Posts: 456
Reputation: 13,202

Post » Fri Jul 27, 2012 10:44 pm

@gammabeam : BinaryJS is useful when you want to send & receive data from/to a server directly using bytes, and not a JSON representation (that last one means that each binary information must be transcoded in its textual representation, adding lots of overhead). Apart from that, once it has been received, you need to transform it into something useful to be displayed by the browser (either an image, an audio file, or a javascript code string). Since you need to transform it into the browser to use it, all your client can access the "unencrypted" data anyway...
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Sun Jul 29, 2012 11:59 am

It's an interesting library, but it's just a wrapper around WebSockets. It also requires setting up a Node.js server to talk to, so is not entirely straightforward to get working.

It might be useful when we come to add multiplayer, but I prefer not to use third party libraries where possible and write our own. This offers the maximum performance and flexibility. If we used a third party game engine library, for example, it's unlikely Construct 2 would be anywhere near as fast as it is with it's WebGL renderer.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests