Pixelate effect broken after export

Bugs will be moved here once resolved.

Post » Mon Jun 27, 2016 5:24 am

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
B
16
S
2
Posts: 60
Reputation: 984

Post » Mon Jul 11, 2016 2:00 pm

Ah, I think the spritesheeting on export changes the way the effect works. Should be fixed in the next build.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Tue Jul 12, 2016 5:38 am

Nice! Thank you ^^
B
16
S
2
Posts: 60
Reputation: 984


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests