English 中文(简体)
co2diphone游戏转向ipad
原标题:cocos2d iphone game move to ipad

i want to make my game universal. but when i try it on ipad, my background layer only covers 1/4 of the screen, but the sprites can go the entire screen. also the sizes of sprites are too small, didn t scale up. when i see the apple doc, it says i have to "if else" to detect device every time use coordinate. but there are just so much code to be modified. so is there any way to solve this? like just change in one place?

最佳回答

When you make your game universal, You have to rename your resources to support the ipad size.. meaning : sprite-ipad.png

在你们选择普遍适用时,不可能扩大规模。 你们可以redo。

由于 co2d汽车在安装不同装置时处理rite的坐标,因此它应当全靠该装置。

If you do not wish to redo the images, you can just choose to build for iphone.. It would be able to scale up when the player downloads it on the ipad..

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签