Not sure If its related to my other bug report. - https://www.scirra.com/forum/r200-load-image-from-url-or-nwjs-bug_t128154
This bug appears to be when using loops together with "Load image from Url"
Shows the code and a correct sized image and color of the image load.
Pressing "Test 1" button create a sprite and load the test image.
The image size is correct, however the color is changed for some reason.
Pressing "Test 5" button (Without restarting application, important as it gives different results)
Will create 5 images and load them, however the resize to fit image is ignored and the colors are still screwed up.
Restarting the app.
Pressing "Test 5" button.
Now a random object will resize correctly, while the other fails.
Doing this once more,
Now another object resize correctly.
Pressing "Test 5" again without restarting.
Now all the images fails. Same thing happens when pressing "Test 1"
Attach a Capx
Description of Capx
Create a sprite and load an image from disk
Steps to Reproduce Bug
Completely unreliable behaviour. Settings are ignored colors are changed.
Colors bug might be due to the image being PNG. And the gray in the original image is wrongfully seen as opacity when loaded from URL.
That it worked as described.
Above testing was done in NWjs.
Testing in Chrome and IE fails to load the image all together. And give different errors.
Chrome: Pressing "Test 1"
Chrome: Pressing "Test 5"
Operating System and Service Pack
Construct 2 Version ID