First Socket.IO trial

Show us your completed creations made in Construct 2

Post » Wed Oct 24, 2012 1:16 pm

I am a JavaScript newbie..

But here is my first working trial with Socket.io that I made without anyones script.





All it does is Send a X position every 10 milliseconds. If it's over 500 the server will reset to start position.

The game is not moving the Red Square by itself, it uses the coordinates it gets from the server.

(Only works when I am running the Server :p)

http://dl.dropbox.com/u/53738503/TestSocket/index.htmlSchoening2012-10-25 22:17:35
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Thu Oct 25, 2012 9:33 pm

It shows 404 error
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Thu Oct 25, 2012 10:16 pm

Oh Sorry :)
I update.
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Thu Oct 25, 2012 10:18 pm

It updates when you press Right Arrow->

I probably delete the Topic when I close the server.
Until I showcase something cool :)

B
40
S
11
G
4
Posts: 665
Reputation: 8,403


Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 4 guests