Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Codexer

Pages: [1]
1
Support / Mobile Camera Settings
« on: July 19, 2013, 05:32:54 am »
Forgive me if this is a stupid question, but I've been mucking around with the stable release and the beta and I can't seem to work out how is best to do it.

I am developing primarily for iOS devices (iPhone 4/5) the difference in their resolution is in the width. I've read this thread: http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=239.0

Which basically states, to adjust New Ortho Size: NewResolutionHeight / OldResolutionHeight * currentOrthoSize

Is it best to design the game around the iPhone 5 resolution (1136x640), then on start up, do what was suggested and adjust the camera? How does this work with the "new" camera in beta, and is this still the best way to develop for iPhone?

Or is there a way of simply "removing" 136 pixels on the right of the camera when an iPhone 4 is used? Are the "override" settings intended for this? So a resolution of the iPhone 4 could be set as one?

Thanks

Pages: [1]