Need help - my app is flipped upside down on iPad. How to fix it?

I have a presentation at school for my game tomorrow. I appreciate your help?

I downloaded my app to an iPad. When I click on my app, it is upside down.

How to fix it and make it launch correctly?  

Kal

What happens if you just flip your iPad?  Is your game now right-side up?

If not, then please post your config.lua file and build.settings file.

  • Andrew

check orientation settings in build.settings file

Dear Andrew,

When I flip my iPad, it is fine. This happens on old iPad; but new iPads it works.

if you don’t mind let me ask you another audio question if you can help. I have this code

– at the start of my cod I have the following

local loseAudio, winSong

– in main I have the following:

loseAudio = audio.loadStream(“loseSound.wav”)

– in a function I have

wonSong = audio.play(wonAudio, { channel = 1, loops = -1})

– when a button is touched I have this code

audio.stop(1)

wonSong = nil

The code works; however, when I keep playing the game the sound  disappears and I had to quit the simulator and restart the simulator again and run my application.

Any thoughts of what I should do? Thanks.

Kal. 

Thanks.

What happens if you just flip your iPad?  Is your game now right-side up?

If not, then please post your config.lua file and build.settings file.

  • Andrew

check orientation settings in build.settings file

Dear Andrew,

When I flip my iPad, it is fine. This happens on old iPad; but new iPads it works.

if you don’t mind let me ask you another audio question if you can help. I have this code

– at the start of my cod I have the following

local loseAudio, winSong

– in main I have the following:

loseAudio = audio.loadStream(“loseSound.wav”)

– in a function I have

wonSong = audio.play(wonAudio, { channel = 1, loops = -1})

– when a button is touched I have this code

audio.stop(1)

wonSong = nil

The code works; however, when I keep playing the game the sound  disappears and I had to quit the simulator and restart the simulator again and run my application.

Any thoughts of what I should do? Thanks.

Kal. 

Thanks.