Hey there ;)
I try to make a custom windowframe for nw.js
This is a slim version of the project: https://dl.dropboxusercontent.com/u/110 ... indow.capx
You can drag the window with the orange titelbar (there is no os windowframe on export), but sometime, especially when there is more stuff in the layout, the dragfunction totally freaks out.
Is there a better solution or a plugin, that tracks the desktop coordinates of the mouse and not only of the canvas?
you already tracking the window position on the screen its working fine for me
Ok, i found the problem and a solution. The thing is, that "Every Tick" changes like changing the text in a textbox every tick, make the tracking function freak out. So i wrote a little function, that pauses the game while draging the window.
I will make a tutorial soon on how to make a custom Window Frame with NW.js
Develop games in your browser. Powerful, performant & highly capable.
ah good then i did not try it with objects inside maybe that's whylooking forward to see the tut