JohnnySheffield's Recent Forum Activity

  • FuguFirecracker

    Actually no idea. I presume they are icons shipped with chromium for video player, sound player controls, alert windows and such?

    Loading time is something I'll get into as soon i finish with the plugin to control the window (enter fullscreen, leave fullscreen, minimize, etc) because it's essential to have that part functional to make something useful.

    I'm halfway done with it, plugin will be up in a few hours then i'll try to see if i can do something with the loading time...

    Cheers, and thanks for testing!

  • Inspired with this I succesfuly created an .exe file using Space Blaster demo and node-webkit:

    Link to download .exe, (25.6mb zipped)

    here's the package.json i used to export to node-webkit,

    download node-webkit for windows here,

    aaaand wiki about node-webkit here.

    Procedure:

    Tutorial on how to export

    Check out here for more detailed info how to package and distibute your app for Windows, Mac or Linux

    So, i haven't tested how the other HTML5 api behaves, i just tried to call "Request Fullscreen" from Construct, and it didn't work, but maybe i set up the package.json wrong.

    Here's some additional info on webgl support on windows with node-webkit

    This is cool and everything and it gives an superior alternative to the Awseomium, but i think the real magic lies in the possibility to implement node.js wizardry in construct2 and get a nice .exe file with a bunch of power.

  • Not sure what's happening there, I haven't used cocoon.js so probably I won't be as much of help with this issue.

    I looked at cocoon.js documentation, and they don't mention support for socket.io, just websockets so I,m not sure can we edit this plugin to work with cocoon.js.

    Maybe try to use the websocket version here (scroll to the websocket version)

    But i cannot guarantee will it work with new version of construct or cocoonjs because out to s an old plugin.

  • Link gives me 404?

  • Cool, I'll just add node-webkit to the never ending list of new technologies I'd like to learn and utilize!

    But it really looks promising!

  • I can say because i'm already using it.

    kiyoshi

    Have you succesfully exported construct 2 project to .exe with node-webkit?

    Can you provide more info on the proccess?

  • Just found out that Socket.io 1.0 is probably going to be pre-released some time this week. The newest feature is that it will include the engine.io 0.3 for the communication layer. As it seems it will introduce a better user experience and a lot of improvements.

    Sounds nice.

    I will really really try to release improved plugin for the pre-release of socket/io 1.0, and hopefully make socket communications with this nice plugin a little bit easier!

    <img src="smileys/smiley35.gif" border="0"> it, i really dig Guillermos work

    Cheers!

  • Plugin uses string.split(separator,limit) method. Separator and limit are optional attributes and you can ommit them. If you do, method will return an array with a single element;

    var URL="WWW.Google.com", var result=URL.split(); result will be an array with a single element (WWW.Google.com).

    If you use var Ucan="do it", Ucan.split("") will return an array with elements (d,o, ,i,t). (Mind the white space!).

    If you do something like var query="split.string method JavaScript" and then query.split("i",2),returned array will be: (spl, t.str). This is an example use of a limit attribute in a string.split method.

    If you need an datasplit action in the c2 plugin with a different character than ",", just edit the right line of code in the runtime.js; if you use this method on your server side, I hope this post will be of use!

    Cheers!

  • hmmm...

    where is that line of code? i'm looking at runtime.js of both mods of plugin (stable and unstable) and i can't find it!

    It sounds like it's on server side, if i remember correctly, but i'm not so sure about it...

  • Schoening

    I would recommend to use stable link, but there is no server included in the plugin, so you have to write your own.

    It will work with juantars multiplayer demo, so you don't have to change server code.

    If i didn't understand you well, please ask again, English is not my first language :)

    Aaand i will edit the first post to clarify it a little bit more!

  • Nice!!! Great work as always Pode, you're one big motherf... khm a really good plugin developer and I really like your plugins!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're using rexrainbows socket.io plugin, you should probably follow his instructions. I think he made a special plugin to communicate with his server, so i don't believe it will work with juantars demo. As i haven't read the source of rexrainbows socket.io plugin, i really cannot tell you how it works, so you could maybe ask him?

    To set up juantars demo, you can use this mod or this mod of the plugin.

    Both should do the work.

JohnnySheffield's avatar

JohnnySheffield

Member since 31 Jul, 2012

Twitter
JohnnySheffield has 1 followers

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies