Intuitive programming for multiple devices.
I have two versions of my app... one for iPhones and one for iPad. This really is only because of a few elements that are so out of place on the screen of the iPad, mostly menu items and buttons. So the other day I tried to program those element's x and y coordinates to place themselves in relation to the screen, using the "device" or "screen size" input. It seems that "Screen" is really just the dimensions of your project, and the "device" inputs were bringing back crazy numbers that aren't anywhere close the dimensions of the display, so I was having to multiply the returned numbers by factors like 1.44, and this didn't even place them correctly on other devices. I would love to have one app for all devices, does anyone know how code these elements to automatically place themselves correctly no matter what device it's appearing on?
Thanks!
Comments
The holy grail of app development, in ANY development environment.
But search for "universal build" here in the forums and you will find good pointers.
Or try out the new "stretch" feature.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com