Right sorted both issues and will document in case anyone else has similar challenges
The first regarding the perceived lack of accelerometer movement on device was because I was working out the bounding area (so main actor couldn’t go above or below the scree boundary) which was hard coded to an iphone resolution i.e. 300 and setting to this if ever higher. Because I was also testing on the iPhone 4 with a much greater resolution the start in the middle was already at 300 so was getting into a loop of never moving. So a change to display.contentHeight resolved this issue. This is particularly important when supporting multiple devices / resolutions
The content scaling issue was a newbie error on my part. I thought this was going into the build,settings file and had misread some instructions somewhere and that it had to go into the config.lua file. Also important was the ensure that I specified the main .default resolution (height and width in portrait) so it knows what it is scaling from. As a result the config.lua file had to look like this:
[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “zoomEven”,
fps = 60,
},
}[/lua]
Worth reading the runtime configuration api (http://developer.anscamobile.com/content/configuring-projects#Runtime_Configuration:_config.lua) page a couple of times for it all to sink in. Also make sure you follow this:
**The basic idea behind dynamic content scaling is that you can tell Corona that your content was originally authored for a particular screen size. Then you can choose how your app should be scaled if it runs on a device whose physical screen size is different from the original.
Note
If you are building an application to run on a single device then it is not necessary to specify any content height, width, or scaling options.
If your application does support running on devices with different screen dimensions, the width and height MUST be the value of the target device in portrait orientation. These values are not dependent on the orientation mode of your application. If your app runs in landscape mode, you still set these values to the portrait width and height. Use the “orientation” setting in the build.settings file to define the orientation modes supported by the application.**
Hope this helps someone [import]uid: 103970 topic_id: 19582 reply_id: 75848[/import]