Error in "Content Scaling Made Easy" blog?

Like many of you, I’ve read the “Content Scaling Made Easy” blog several times. But I was never able to quite get things working they way I thought they should, specifically with regard to the “magic size” of 570 x 380.

Well today I finally got things working - by calculating the magic size myself, and creating assets at that resolution. But my calculations came up with 570 x 360, instead of “x 380”

(Actually, I use 512 x 324, and then scale up 111.4% - so that my full-screen images fit on a 512x512 sheet)

My calculation is thus: iPad has the widest screen - at 768 x 1024. Scaling up a 320 x 480 section to fill the screen top-to-bottom means increasing dimensions by (32/15), or 2.1333. This creates a 682.666 x 1024 screen space, so we have 85.333 pixels of deadspace, split between the left and right evenly. If we invert the scaling, (85.3333 / (32/15) ) = 40. So we need our original image to have 40 pixels of buffer along x. 320 + 40 == 360 NOT 380.

If everyone agrees, I would love to see that blog tutorial fixed. [import]uid: 65996 topic_id: 16579 reply_id: 316579[/import]