[PLUGIN] Zack0Wack0's Construct 2 Plugins

Post your completed addons to share with the community

Post » Tue Aug 09, 2011 8:14 am

OK, I fixed it myself. When the socket receives a message from the server it pushes the message to it's internal data stack. When you access Socket.LastData it uses the message at the front of the data stack (index 0) and then removes it. The only thing is the name of the property now doesn't fit a tiny bit, but I'm just going to leave it for compatibility and so that it fits in with the official plugins.

Re-download from the main post for the updated version.
B
3
S
1
G
3
Posts: 49
Reputation: 1,148

Post » Tue Aug 09, 2011 10:06 am

incredible contribution zw,

for those of us who would like to learn how to use the plugin, can you suggest a reference/guide/article/site that clearly explains how we can implement this?

i would love to create some turn-based game examples with it.
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Tue Aug 09, 2011 4:45 pm

There's a .capx in the folder of socket-io and socket-websocket. Check it out ;)
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 » Mon Sep 05, 2011 6:48 pm

Ive receive this error when I run the .capx example:


Could you explain a little bit more how to get a connection?

S.O.: Win7
Browser: Chrome 13
Plugin: Websockets version

Anyway, I tried directly the http://www.websocket.org/echo.html demo and I can stablish a connection without problems.
Thanks in advance.
B
6
G
1
Posts: 3
Reputation: 563

Post » Mon Sep 05, 2011 8:02 pm

The latest releases have introduced some plugin-breaking changes. These plugins will have to be updated to work with the latest builds...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Sep 05, 2011 8:10 pm

[QUOTE=Ashley] The latest releases have introduced some plugin-breaking changes. These plugins will have to be updated to work with the latest builds...[/QUOTE]
Ummm, interesting
I think that a fusion between HTML5 and websockets can multiply the possibilities of Construct2 x10.
B
6
G
1
Posts: 3
Reputation: 563

Post » Mon Sep 05, 2011 8:32 pm

[QUOTE=neoline]I think that a fusion between HTML5 and websockets can multiply the possibilities of Construct2 x10.[/QUOTE]

what he said...
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Thu Sep 08, 2011 8:47 am

Switching the physics thing to Box2DWeb instead of Box2DJS, which will fix the sh*tness that my alpha version of it had, hopefully. I'll fix the plugins soon, the one moment I think I have no schoolwork is the moment I get heaps.
B
3
S
1
G
3
Posts: 49
Reputation: 1,148

Post » Mon Sep 19, 2011 6:43 am

Bump, fixed things. Hooray for the holidays. I'm working on some new plugins now!

EDIT: I've made a function plugin, you can download it here. If anyone could please test and I'll fix any bugs with it before I add it to the main post.Zack0Wack02011-09-19 09:04:13
B
3
S
1
G
3
Posts: 49
Reputation: 1,148

Post » Tue Sep 20, 2011 8:17 am

Thanks, Zack0Wack0.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,847
Reputation: 48,295

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest