[PLUGIN] Zack0Wack0's Construct 2 Plugins

0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • 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.

  • 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.

  • There's a .capx in the folder of socket-io and socket-websocket. Check it out ;)

  • I�ve receive this error when I run the .capx example:

    <img src="http://i53.tinypic.com/331k5ck.jpg" border="0" />

    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 websocket.org/echo.html demo and I can stablish a connection without problems.

    Thanks in advance.

  • The latest releases have introduced some plugin-breaking changes. These plugins will have to be updated to work with the latest builds...

  • The latest releases have introduced some plugin-breaking changes. These plugins will have to be updated to work with the latest builds...

    Ummm, interesting <img src="smileys/smiley1.gif" border="0" align="middle" />

    I think that a fusion between HTML5 and websockets can multiply the possibilities of Construct2 x10.

  • I think that a fusion between HTML5 and websockets can multiply the possibilities of Construct2 x10.

    what he said...

  • 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.

  • 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.

  • Thanks, Zack0Wack0.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The latest releases have introduced some plugin-breaking changes. These plugins will have to be updated to work with the latest builds...

    I had noticed this with a plugin i made and some others i had downloaded that now don't work. :(

    I am just wondering what were the changes that break the plugins/behaviors?

    Also is plugins breaking with updates likely to be a common thing? If yes how long until the main javascript base is stable enough?

    I was thinking maybe it would also be a good idea to document any of these code changes in a forum thread. That way it would be much easier to fix broken plugins without a lot of trail and error testing.

    Thanks

  • I am just wondering what were the changes that break the plugins/behaviors?

    The changes were detailed in the r51 changelog. The SDK documentation has also been updated to cover the changes.

    I can't guarantee there won't be further changes, but obviously I try very hard to resist changing it, since the effects are so inconvenient. It's something I do only if absolutely, definitely necessary. Last time it was, otherwise the script minifier wouldn't work as well as it could.

  • 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.

    Hey, the function plugin seems to work great but when I add and use the plugin and preview it shows:

    <img src="http://dl.dropbox.com/u/19078872/assert.gif" border="0">

    After clicking OK everything is fine. Unless this is something I've done? I just unzipped the contents to the plugin folder inside a folder named "function".

  • It's probably still not been updated for r51:

    "cr.plugins" has been renamed to "cr.plugins_" (trailing underscore) for better name mangling.

  • I can't guarantee there won't be further changes, but obviously I try very hard to resist changing it, since the effects are so inconvenient. It's something I do only if absolutely, definitely necessary.

    I was thinking maybe as C2 is in beta then a lot of changes might happen with each release. So it's good to know that i can make some plugins without having to update them each release, thanks for the reply. :D

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)