rendering issue on safari

Discussion and feedback on Construct 2

Post » Mon Apr 08, 2013 7:22 am

safari on mac is not rendering some of the images. All the other browsers are working fine. This is only happening on safari and firefox on mac. I checked the error log, no errors.
When I enabled WebGL on safari, it works fine on mac.

1) First, I tried with four layers with images on each layer.
2) only top layer images are displayed.
3) I merged all the layers, making only one.
4) Now, only one image (and its instances) are not being displayed.

can't figure out exactly what is happening. Can some one tell me how to debug this issue.

Thanks,
B
5
S
1
Posts: 6
Reputation: 687

Post » Mon Apr 08, 2013 3:10 pm

Can you share your .capx and a link to the exported version of your game? Are you sure you're not exhausting the device's memory with too many images?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,508

Post » Tue Apr 09, 2013 7:50 am

I finally figured it out. I debugged by trial and error. I took out all the images and start adding them one by one.
I found that for one image the blend mode is "source in". When i set it to
normal, the rendering is just fine.
Its weird though, it did not have any issues with chrome and firefox. The only problem was on mac/safari.

I would leave it up to you to figure out, what is the reasonable explanation for this behavior.
Anyways, I really appreciate your response.
Right now, I am debugging another issue, which is I dont hear the sounds on ipad/safari. However, the sounds are all working fine on safari/mac, chrome, firefox. I had both .ogg and .m4a files for the sounds. I will debug more, please let me know how to debug many of the issues like that. At this point, all I need is a very good way to debug.(I dont see any errors in the browser logs/inspector/firebug etc.,)
B
5
S
1
Posts: 6
Reputation: 687


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests