Set a websocket server that is compatible with c2

Discussion and feedback on Construct 2

Post » Sat Dec 31, 2011 4:52 pm

For security reason, I don't think HTML5 allows it.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sat Dec 31, 2011 4:58 pm

oh ok
but @Kyatric , do you know a good Websocket server
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sat Dec 31, 2011 8:02 pm

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Jan 01, 2012 5:06 pm

@rexrainbow

I've just ran into the same issue actually, never realizing there was a problem with it (I ditched the minifier, since I was testing locally and exporting without it is a lot faster).

Wouldn't an external include work?

Cheers
B
6
S
1
G
1
Posts: 23
Reputation: 833

Post » Mon Jan 02, 2012 1:43 am

@talkinghead

I thought only minify had problem, even if I change the name to match the minify rule.
"External include" should work, but it may be inconvenience for normal user. Any way, it's another way to integrate socket-io client, thanks. rexrainbow2012-01-02 01:43:50
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Jan 02, 2012 2:19 pm

@Ashley and @Tom
will you implement a server to C2 ?
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Mon Jan 02, 2012 4:19 pm

@kbdmaster Let me help you understand and setup a basic home server
running node.js.

FYI: I would recommend that you DON'T do this on your primary home computer - try setting this on on a old computer if you have one. You don't want to mess up your primary computer.

Or you could eventually set one up as a virtual machine using VMWare Workstation but that's a whole other topic.

Anyways: Follow these steps and you should understand what Node.js is and how to setup a simple home web server. Please watch these in order and entirety.

1. What Node.js is:
http://www.youtube.com/watch?v=jo_B4LTHi3I
[TUBE]jo_B4LTHi3I[/TUBE]

2. How to install Apache Web Server on Windows:
http://www.youtube.com/watch?v=8tBkEWPOqqk
[TUBE]8tBkEWPOqqk[/TUBE]

**If you have a domain name then you can use it instead of localhost and simple go to your domain registrar and create an A Record that points to your home computers IP address:
http://whatismyipaddress.com *If its static and your internet provider allows it.

Download Apache Latest Stable Version:
http://httpd.apache.org/download.cgi

3. How to install node.js on Windows with Apache already installed - and setup a simple chat application
http://www.youtube.com/watch?v=hrdSN9ezDl0
[TUBE]hrdSN9ezDl0[/TUBE]

Download and install the latest node.js for windows:

http://code.google.com/p/nodejs-win

This isn't the easiest thing in the world to do - if you get stuck - remember to Google or YouTube it first - there is a lot of good information out there.


*Updated Broken Linksmars19852012-01-03 00:28:00
B
9
S
2
G
5
Posts: 54
Reputation: 3,546

Post » Sun Jul 15, 2012 10:12 pm

greetings.
look, I need to know if I can make a device is mobile or laptop to sync with another device. something like a device used as a control and another to show the game. if you can help me to get me out of that doubt or if you can do something like what I'm asking.
thanks
B
16
S
3
G
3
Posts: 15
Reputation: 2,813

Post » Mon Jul 16, 2012 12:49 am

Possible ... but still in development .
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests