In my nwjs app, I load a _launch.js file from an HTML file:  <html> <body> <script type="text/javascript" src="_launch.js"></script> </body> </html>   And in my _launch.js file, I fire up the the No...
Having recently switched to three.js as my renderer, I am now wanting to set up a system for mapping textures. However, I'm not too sure on what the best practice for this is. Here is my use case   I have levels made of a lot of box geometries I...
I am trying to use execFile and log the stdOut that gives the percentage done on the task, but the callback function:  var child = require('child_process');  child.execFile("path/to/the/file", options, function (error, stdout, stderr)...
When I build my app, 'fs' module doesn't work. So, it must write file, but when I start my app nothing happens. But if I start my app with:  $ /path/to/app nw   It works correctly. What's wrong?   Some code, where I use fs:  function...
I am currently working on a JavaScript(pure js) based game. The game contains 5 large sprite sheets(e.g. 2861 × 768 and 4096 × 4864). When the game starts, all 5 sprite sheets are preloaded to canvas elements. Three of those 5 sprites represent tog...
I’m developing simple node-webkit application for Windows (Vista, 7, …) and I need to use some WinAPI functions, specifically, RegisterHotKey and SendInput, to bind system-wide hotkeys and make keystrokes based on that. There’s no such API supp...
I'm trying to create a draggable iframe in my app. When the iframe is focused, all mouse events are triggered within the inner window object.   I can't listen to those events within the iframe and trigger them myself, because it can be blocke...
I'm getting the following error in my simple example using node-webkit:  Uncaught AssertionError: path must be a string   index.html       //base.js  require(["test"], function(test) {     test.init(); });  //test.js  define(function(){...
We're developing an app based on Chrome Apps with NWJS 0.13.0 Alpha version, because lower versions don't support Chrome Apps. We need version 13 so we can use Serial Ports.  However in Windows or Ubuntu, when pressing right clic it showed a...
I'm trying to do something I thought would be simple. I'm using nwjs (Formerly called Node-Webkit) which if you don't know basically means I'm developing a desktop app using Chromium & Node where the DOM is in the same scope as No...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.