Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Back camera flips horizontally when restart button is pressed

edited September 2013 in Bugs Posts: 34

Here is some code to illustrate the problem.

function draw()
    sprite(CAMERA, WIDTH/2, HEIGHT/2)
end

When the project is started the image of the back camera is normal, but when the restart button is pressed the back camera image then flips horizontally. This problem does not happen when the front camera is used, since the image is always reversed (mirror image).

Comments

  • edited September 2013 Posts: 1,595

    I think Simeon added code to flip the camera image from being reversed, maybe it isn't resetting to this? I was messing about with the camera yesterday and I found it easier to load a new camera function every time

Sign In or Register to comment.