How do I stop the camera object on mobile from being blue

Get help using Construct 2

Post » Fri Oct 31, 2014 3:41 am

For some reason the camera object on mobile is taking inverted (blue) pictures.on desktop it works fine tho. I have a samsung galaxy 3. On iphone its not eaven asking for the camera permison it just won't work.
You do not have the required permissions to view the files attached to this post.
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Fri Oct 31, 2014 2:39 pm

I'm checking what is causing this i honestly have no idea. This is using the basic camera object provided by C2.
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Sat Nov 01, 2014 5:26 am

Hmm really no one has an idea why this happens? @ashley ... anyone?
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Mon Nov 03, 2014 10:33 pm

Here's some extra information that might help.
I'm adding a stripped down version of the project.
It does however use some plugins:
including the spriter plugin (which I'm using for the animations)
Thanx for the suggestions @Kyatric now hopefully you can take a look at it.
You do not have the required permissions to view the files attached to this post.
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Tue Nov 04, 2014 5:28 pm

@Ashley , @Kyatric

I Still have no answers from the rest of community due to the speciffic nature of the issue. Either way here's an Update - on the blue face issue

I decided to test out the demo provided by c2 (which in essence is the same code I'm using for my project)

The results in android galaxy s3
default browser - it doesn't work
chrome for android - blue face inversion issue
firefox for android - camera and snapshot is as it should be.
----
desktop(PC) - works as intended.
-----
on mac - works on chrome not on safari
-----
on iphone - doesn't work at all - firefox doesn't seem to exist for some reason.

Clearly there's an issue here.

Note the default c2 project is exported as html5 and ran streight from google drive here
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Tue Nov 04, 2014 5:54 pm

It's probably a bug in Chrome or the device's camera driver. It's the same C2 code running on all those platforms so that wouldn't explain the difference. I'd recommend reporting it to Google.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Tue Nov 04, 2014 6:12 pm

Ashley wrote:It's probably a bug in Chrome or the device's camera driver. It's the same C2 code running on all those platforms so that wouldn't explain the difference. I'd recommend reporting it to Google.


Thank you for the reply. I just send the ma bug report in regards of the inverted image colors. Hopefully they'll have an answer other than "we don't now".

This however doesn't answer why it is not showing at all on iphone browsers. The idea of the project being html5 and not a separate app is to make it as available as possible to the public. It's a "for fun" personalized-postcard style project. This project may even be usefull for other implementations such as having characters with the player's face.

Any ideas are welcome thank you for your great work and paying attention @Ashley
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796

Post » Tue Nov 04, 2014 6:44 pm

Ragevortex wrote:This however doesn't answer why it is not showing at all on iphone browsers.


According to CanIUse, webcam/getUserMedia API is not supported in Safari/iOS browsers.
So as long as Apple does not implement support in those browsers, nothing to be done.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Tue Nov 04, 2014 6:58 pm

Kyatric wrote:
Ragevortex wrote:This however doesn't answer why it is not showing at all on iphone browsers.


According to CanIUse, webcam/getUserMedia API is not supported in Safari/iOS browsers.
So as long as Apple does not implement support in those browsers, nothing to be done.


Thanks @Kyatric for the quick answer... that is rather sad though. For all the apple boasting they're still behind. I guess they are still preety overpriced paperweights for now... sad though.

This does however answer that part of the question. Thank you very much mon.
Freefall Bird
B
47
S
9
G
5
Posts: 280
Reputation: 5,796


Return to How do I....?

Who is online

Users browsing this forum: DharmaOne, namaewayukidesu, nirwan1911, Yahoo [Bot] and 7 guests