Placing Platforms

I am creating a game which requires a ball moving on top of platforms. What is the best way to place the platforms, should I use a pixel x and y value to place it? If I do that, the game could not work on the iPad 2 and the new iPad because the screen resolutions are different. Would it be better to use x and y values for the iPad 2’s screen resolution and then use @2x platforms so it would look the same on the new iPad? Ideas? [import]uid: 82872 topic_id: 28225 reply_id: 328225[/import]

Hi there,
It’s as simple as setting up dynamic scaling. :slight_smile:

This link should outline the core principles, but dig around the forums and you’ll find several developers who have their own “best solution” and practices.

http://www.coronalabs.com/blog/2010/11/20/content-scaling-made-easy/

EDIT: perhaps I missed your point, which is not about setting up scaling, but instead about how to place the platforms. Using scaling plus x and y values should work, since the scaling will make those values relative to the screen, not an absolute pixel value across all resolutions.

Regards,
Brent [import]uid: 9747 topic_id: 28225 reply_id: 114016[/import]