-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Problem Description
When you export a pixel based game using say - the retro template, if you ever use a 9 patch object, it becomes blurry featuring AA and other artefacting.
This is almost identical to a bug I reported a while back: https://www.scirra.com/forum/viewtopic.php?f=152&t=100468
That bug was fixed, but seemingly it is still an issue for CocoonJS.
Images:
http://sean-noonan.com/development/dev_noonanrun/construct_ios_fukt_1.png
http://sean-noonan.com/development/dev_noonanrun/construct_ios_fukt_2.png
http://sean-noonan.com/development/dev_noonanrun/construct_ios_fukt_3.png
Capx
https://dl.dropboxusercontent.com/u/7282045/9patch_iOS_export.capx
Description of Capx
Just export the project to CocoonJS or Ejecta and run on an iOS device
Steps to Reproduce Bug
Export the project using CocoonJS
Deploy it to the CocoonJS app on an iOS device via iTunes
Run it!
Observed Result
9 Patch looks blurry
Expected Result
9 Patch has the same sharpness as the tiled and sprite objects
A side effect of this is that the WebGL effect "replace color" doesn't work on 9 patch objects on iOS
When using a 9patch the WebGL effect, doesn't seem to replace every colour, it just changes some of them - whereas this is totally fine in a browser or using phonegap.