Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to move the windows when mouse button is down anywhere in the canvas. I got x & y cordinates with Touch.AbsoluteX+NWjs.WindowX but, when the window is too large, flickering appears. Is there another way to get x & y screen coordinates?
Not sure it will work but what about setting touch x.y to a var when start touching, then while touching calculate the position by distance from the start point to the current touch (inside the canvas)?
Develop games in your browser. Powerful, performant & highly capable.
No. The problem seems to be that there is a retard when the algorithm is trying to detect the window position. The result is an erroneous movement when the window is dragged. I think that getting the X and Y coordinates with javascript or something, could give better ressults.