Problem Description
After exporting project to NW.JS or html5, pixelate effect is broken. In preview mode it's working correctly but after export, sprite becomes pixelated even before effect amount/value is increased.
Attach a Capx
h*t*t*p*s://www.dropbox.com/s/sqxfif4lwhgvs35/pixelate_effect_problem_after_export_r227.capx?dl=0
Description of Capx
Contains a sprite with pixelate effect attach to it. Use X key to increase amount of pixelate effect. Use Z key to decrease the same value.
Steps to Reproduce Bug
- export to NW.JS
- go to folder created during previous step
- launch nw.exe
- press x key to increase pixelate effect value
- press z key to decrease pixelate effect value
Observed Result
On start of layout in NW.JS, sprite is already pixelated even before pixelate effect value is increased. To me it looks like pixelate effect value is at least doubled on start of layout.
first state In preview (pixelate effect value is 1):
h*t*t*p*s://dl.dropboxusercontent.com/u/43020976/C2%20pics/pixelate/pixelate%20first%20state%20in%20preview.jpg
second state In preview (pixelate effect value increased a bit:
h*t*t*p*s://dl.dropboxusercontent.com/u/43020976/C2%20pics/pixelate/pixelate%20second%20state%20in%20preview.jpg
last state In preview (pixelate effect value is maxed out to the cap):
h*t*t*p*s://dl.dropboxusercontent.com/u/43020976/C2%20pics/pixelate/pixelate%20last%20state%20in%20preview.jpg
Below are the results after exporting:
First state (pixelate effect value is 1):
h*t*t*p*s://dl.dropboxusercontent.com/u/43020976/C2%20pics/pixelate/pixelate%20first%20state%20after%20export.jpg
Last state (pixelate effect value is maxed out to the cap):
h*t*t*p*s://dl.dropboxusercontent.com/u/43020976/C2%20pics/pixelate/pixelate%20last%20state%20after%20export.jpg
Expected Result
Pixelate effect not to be applied to the sprite on start of layout.
Affected Browsers
- Chrome: (YES)
- FireFox: (untested)
- Internet Explorer: (untested)
- NW.JS (YES)
Operating System and Service Pack
Windows 7 Professional SP1 32-bit running through vmware Fusion 5.0.5 (1945692) on Mac OS X 10.9.5.
Construct 2 Version ID
r227 32-bit