[r200] Another "Load image from URL" bug

Bugs will be moved here once resolved.

Post » Mon Apr 13, 2015 5:56 am

Problem Description
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"

Image
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.
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)
Image
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.
Image
Now a random object will resize correctly, while the other fails.

Doing this once more,
Image
Now another object resize correctly.

Pressing "Test 5" again without restarting.
Image
Now all the images fails. Same thing happens when pressing "Test 1"

Attach a Capx
https://dl.dropboxusercontent.com/u/109921357/Load%20from%20url%20bug/URL_bug.capx

Description of Capx
Create a sprite and load an image from disk

Steps to Reproduce Bug
See above.

Observed Result
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.

Expected Result
That it worked as described.

Affected Browsers
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"
Image

Chrome: Pressing "Test 5"
Image

Operating System and Service Pack
Windows 7

Construct 2 Version ID
r200
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Tue Apr 14, 2015 1:53 pm

Thanks, should be fixed in the next beta.
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest