godot icon indicating copy to clipboard operation
godot copied to clipboard

Not fullscreen on iOS device.

Open dbsGen opened this issue 11 years ago • 5 comments

I plan to port my game to iOS. But I am in trouble. On iphone the screen size allways 360x480 no matter what device(iPhone5, iPhone6,iPhone6Plus) used.

screen shot

dbsGen avatar Jan 12 '15 07:01 dbsGen

have you tried to enable

stretch_mode, stretch_aspect and fullscreen

under display in the project settings?

the-mech avatar Jan 17 '15 17:01 the-mech

@the-mech I tried it, and same problem. I think there is something wrong when compile, because I print the screen size in app_delegate.h -appfinishedLunch.

I have no idea about what make this. I try to drag all code to xcode and compile it via xcode.

dbsGen avatar Jan 20 '15 05:01 dbsGen

Are you using an actual device, or a simulator? What is the actual resolutions of the devices? What options are you using on engine.cfg? I can't reproduce on iPad3 or iPad Air.

On Tue, Jan 20, 2015 at 6:43 AM, Gen [email protected] wrote:

@the-mech https://github.com/the-mech I tried it. I think there is something wrong when compile, because I print the screen size in app_delegate.h -appfinishedLunch.

I have no idea about what make this. I try to drag all code to xcode and compile it via xcode.

— Reply to this email directly or view it on GitHub https://github.com/okamstudio/godot/issues/1187#issuecomment-70607421.

punto- avatar Jan 20 '15 11:01 punto-

Also, did you put splash images for your phone's resolution on the xcode project? Sometimes if you don't put the correct splash image it doesn't report the right screen size to the app (but it's never 460x480 for me)

On Tue, Jan 20, 2015 at 12:22 PM, Ariel Manzur [email protected] wrote:

Are you using an actual device, or a simulator? What is the actual resolutions of the devices? What options are you using on engine.cfg? I can't reproduce on iPad3 or iPad Air.

On Tue, Jan 20, 2015 at 6:43 AM, Gen [email protected] wrote:

@the-mech https://github.com/the-mech I tried it. I think there is something wrong when compile, because I print the screen size in app_delegate.h -appfinishedLunch.

I have no idea about what make this. I try to drag all code to xcode and compile it via xcode.

— Reply to this email directly or view it on GitHub https://github.com/okamstudio/godot/issues/1187#issuecomment-70607421.

punto- avatar Jan 20 '15 11:01 punto-

@punto- Thank you very much. By adding a splash, it work fine for me. You make my day. Close this issue.

dbsGen avatar Jan 20 '15 15:01 dbsGen