JohnnySheffield's Forum Posts

  • On the side note, i found some additional info about exporting with node-webkit, and setting up package.json correctly:

    nodejs

    (boolean) set nodejs to false will disable node inside WebKit, if you're only using HTML5 to write apps, it could improve stability and performance.

  • I tested Chrome for andriod, Firefox, Dolphin Opera Mobile, Puffin Free and UC browser on Nexus 7.

    With C2 games, best results were on Chrome. Dolphin didn't do so well.

  • Also this

    "From the DirectX SDK Redist EULA:

    DirectX Software Development Kit Redistributable Code

    Redistributable Code is identified as all of the files in the following "Redist" directory on the DirectX SDK CD/Download:

    redist/

    The following files in the above directory must be included in any distribution of the DirectX Runtime.

    DSetup32.dll DSetup.dll DXSetup.exe DXupdate.cab dxdllreg_x86.cab"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's what wiki says:

    Webgl support on windows

    "On Windows with some hardware and driver, WebGL won't work until you copy D3DCompiler_43.dll and d3dx9_43.dll to node-webkit's directory, or install DirectX redistributable.

    For license reasons we cannot ship those DLLs."

    Some info on those .dll's i found:

    Filename:     D3DCompiler_43.dll

    Version:     9.29.952.3111

    Company:     Microsoft Corporation

    Product Name:     Microsoft? DirectX for Windows?

    d3dx9_43.dll

    Microsoft? DirectX for Windows?

    Company:

    Microsoft Corporation

    Description:

    Direct3D 9 Extensions

  • ---------

    Updated demo here!

    Server code:

    <img src="http://i.imgur.com/cdqJC.png" border="0">

    Server looks like this. Click "engage server" to start listening for connections. After that, click on "Deploy client".

    <img src="http://i.imgur.com/KQ6z7.png" border="0">

    Client looks like this. You can send a message event to server. Client also receives windowx, windowy position of the server window.

    <img src="http://i.imgur.com/ZwhIo.png" border="0">

    If you go to localhost:54321/something, http server will response:

    <img src="http://i.imgur.com/CKiWT.png" border="0">

    Cheers!

    ------------

    I just started to work on this, but this is so <img src="smileys/smiley35.gif" border="0" align="middle"> great that i had to share:

    <img src="http://i.imgur.com/Vumrq.png" border="0">

    Socket.io (and a http server) written in Construct 2. Download demo here.

    Run it, press a button, and voila. You've got yourself a semi-functional server written in C2. When you request a "localhost:54321", it will respond with "Welcome to socket.io"

    It cannot accept any socket connections yet, but hopefully in a few hours it will!

    Cheers!

  • There are some issues but actually it a <img src="smileys/smiley35.gif" border="0"> great piece of software. As it seems, when they designed it, they tried to make as little change to the chrome or node.js engine as possible. Also, to achieve webl running on the windows on some pc, you have to ship few dll which aren't open-source (i think). Also, minumim size of .exe is around 35 mb, which is a kinda big (or not?)

  • Ok, ran the test's.

    My pc configuration is:

    Windows 7, 64bit

    Intel core i7-2600k 3.40ghz

    16gb ram

    AMD radeon HD 6700

    With webgl on Chrome 23 object count stabilized 26007 objects

    With node-webkit object count stabilized 26131 objects

  • Nice! Especially after the app has loaded the first time, the difference that edit makes is quite clear. This does seem superior to awesomium.

    Well, actually there's no question is this superior to awseomium, it is much superior; Node-webkit is an app runtime based on Chromium and node.js. Awseomiuzm doesen't support this option.

    But, is it better suited for exporting C2 games to .exe?

    That's another question...

  • I made some edits to the plugin: see first post for more info!

    sqiddster

    Did some "wizardry" and got the test without ashleys help, you can find performance test here in .exe format.

    One note: to enable webgl on my computer i added d3dx9_43.dll and D3DCompiler_43.dll to the .zip, i'm not sure will your computers need them to get webgl running!

    felixsg

    Yup, official support would be great, but in my opinion node-webkit is still a young project, we should give it time to get more "stable", but for now it looks really promising!

    Cheers!

  • Updated the plugin;

    Added:

    cpusString - Returns an string containing array of objects containing information about each CPU/core installed: model, speed (in MHz), and times (an object containing the number of CPU ticks spent in: user, nice, sys, idle, and irq).

    networkInterfacesString - Get a string containing list of network interfaces.

    These expressions are using JSON.stringfy, so you'll basically get a string representation, a messy, long string representation. Not sure anybody will use this, but hey, why not?

    Changed plugin icon a little bit! :)

    Cheers!

  • Did some minor edits to the plugin, see the first post for more info!

  • Plugin provides a few basic operating-system related utility functions using node.js OS module with node-webkit export.

    Plugin here

    Demo here

    .capx here

    More detail about exposed functions here , i implemented all of the functions provided by the module.

    Plugin contains just expressions which provide some system basic system info.

    I added seven more expressions:

    loadavg1; Returns value containing the 1 minute load average.

    loadavg5; Returns value containing the 5 minute load average.

    loadavg15; Returns value containing the 15 minute load average.

    cpusnum; Returns number of cpu's.

    cpusmodel; Returns model of cpu.

    cpusString; Returns an string containing array of objects containing information about each CPU/core installed: model, speed (in MHz), and times (an object containing the number of CPU ticks spent in: user, nice, sys, idle, and irq).

    networkInterfacesString; Get a string containing list of network interfaces.

    Please note that some expressions are available but they returns arrays or objects, not strings or numbers:

    loadavg - Returns an array containing the 1, 5, and 15 minute load averages. (exposed with loadavg1, loadavg5, loadavg15 expressions)

    cpus - Returns an array of objects containing information about each CPU/core installed (exposed some data with cpusmodel and cpusnum expressions, get a string representation using cpusString )

    networkInterfaces - Get a list of network interfaces; returns an object (exposed with networkInterfacesString, get a string representation)

    Enjoy playing and testing,

    Cheers!

  • Nice plugin!

    One of the most fun an entertaining demos I've seen in a long time!

  • Good news; i sorted the loading time, it loads instantly now!

    Problem was in the index.html, i edited line 59 as follows:

         <script src='jquery-1.7.1.min.js'>\x3C/script>

    C2 was actually trying to get jquery form ajax.googleapis.com, once you say to construct to look for jquery locally everything is much, much smoother!

  • Thanks, you all made this place so nice, i feel i need to return something, and i really like node.js so this is really fun. And nights are calm, quiet and good for some hanging around with good ole' notepad++!

    Also good news; i sorted the loading time, it loads instantly now!

    Problem was in the index.html, i edited line 59 as follows:

         <script src='jquery-1.7.1.min.js'>\x3C/script>

    C2 was actually trying to get jquery form ajax.googleapis.com, once you say to construct to look for jquery locally everything is much, much smoother!

    Also, standby, i will release plugin to access to node.js OS module soon! (1-2hrs)