Game Development Community

Anyone do a plus (both iPhone and iPad) game release yet?

by Joe Williams · in iTorque 2D · 01/25/2011 (9:49 pm) · 5 replies

The next game I'm working on is intended to be a plus release, meaning you buy it on iPhone or iPad and you get the other version automatically. Has anyone had any experience making such a game? My understanding is that you create a single app that recognizes the device that is running it and it displays/runs accordingly. Any insight anyone has would be most appreciated. Is it as simple as making 480x320 scenes and 1024x768 scenes and loading the appropriate scenes for the device?

#1
01/26/2011 (8:02 am)
@Joe - I highly recommend you have separate assets depending on the device. Use the higher resolution versions for the iPad bundle.
#2
01/26/2011 (6:04 pm)
That's what I'd like to do, since it would make each version smaller. But is that how Apple handles those kinds of apps? I've done QA for plus apps and they were a single app file that launched one way on an iPad and another way on an iPhone. Can you submit a plus app to Apple that is two separate app files, one for each device?
#3
01/27/2011 (5:35 pm)
I wrote my game as an universal app. I posted source code in the resource section. Also posted info how to load different sized images for iphone vs ipad.
#4
01/28/2011 (1:14 am)
We are about to update Invaders World Tour as a universal app - I followed Dean's excellent set of resources and highly recommend them.

With regards to graphics we ship:

- standard (480x320)
- retina (960 x 640)
- iPad (1024 x 768)

all in the same app bundle.

To keep things simple we follow Apple's advice for naming the assets and we added own own for iPad

e.g.

missile.png
missile@2x.png (retina)
missile@3x.png (iPad)

We use the same datablocks for the three versions and very large constants file that works out sizing, source rectangles, velocities, font sizing etc based on the resolution type. It all works extremely well and we have had no issues.
#5
01/29/2011 (3:25 pm)
Thanks Dean and Scott. I'll check out the code in the resources section and see if I can figure this out.