Graphical issues when exporting to NW.js

Bugs will be moved here once resolved.

Post » Fri Dec 09, 2016 7:16 am

Problem Description
My game is rendered with linear sampling in the construct 2 preview, everything appears as it should be. When exported to NW.js some (seemingly) random sprites appear blurry.
In the construct 2 preview (left) vs In the NW.js exported project (right)

Attach a Capx
Capx: ... 37ZMa?dl=0
Exported project: ... BPdia?dl=0
I added my exported project so you could see if when you export it, it has the same results, maybe its a problem with the capx.

Description of Capx
A 2D platform shooter game.

Steps to Reproduce Bug
Export project to NW.js (png compression setting don't affect results.)
Blurriness can be seen in some particular sprites.

Observed Result
When previewing the project in construct 2 everything appears as it should. When the project is exported in NW.js (trying different png compression's doesn't change anything.) some sprites are blurry while some remain sharp as they should. The whole sprite isn't affected, it may only be some frames in the animation (firing the minigun weapon shows this as the first 'charge' frame in the animation is blurry and the second frame is sharp.) In the game you can alter the zoom level by holding down shift and scrolling, for some reason when at the highest level of zoom the blurry sprites are rendered as they should be, but i dont know why.

Expected Result
All sprites should look as they do in the construct 2 preview.

Affected Browsers
Works fine in all browsers, blurriness appears when exported to NW.js

Operating System and Service Pack
Windows 10 home 64-bit

Construct 2 Version ID
release 239 (64-bit)
I think this bug may be part of this release as this problem didn't arise until i updated the game to this release. (I think)
Posts: 55
Reputation: 912

Post » Wed Dec 21, 2016 1:46 pm

The .capx uses a third-party addon 'Trace' so closing, please see the bug report requirements. It is always useful if you can produce a minimal .capx with nothing else in it other than demonstrating the issue.
Scirra Founder
Posts: 25,198
Reputation: 200,337

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests