• <tfoot id='v9P1Z'></tfoot>

        <bdo id='v9P1Z'></bdo><ul id='v9P1Z'></ul>
      <legend id='v9P1Z'><style id='v9P1Z'><dir id='v9P1Z'><q id='v9P1Z'></q></dir></style></legend>

      <small id='v9P1Z'></small><noframes id='v9P1Z'>

        <i id='v9P1Z'><tr id='v9P1Z'><dt id='v9P1Z'><q id='v9P1Z'><span id='v9P1Z'><b id='v9P1Z'><form id='v9P1Z'><ins id='v9P1Z'></ins><ul id='v9P1Z'></ul><sub id='v9P1Z'></sub></form><legend id='v9P1Z'></legend><bdo id='v9P1Z'><pre id='v9P1Z'><center id='v9P1Z'></center></pre></bdo></b><th id='v9P1Z'></th></span></q></dt></tr></i><div id='v9P1Z'><tfoot id='v9P1Z'></tfoot><dl id='v9P1Z'><fieldset id='v9P1Z'></fieldset></dl></div>

        如何在 spritebuilder-Cocos2d 3.2 中添加单独的 iPad 和 iPhone 图像

        时间:2024-08-12
            <bdo id='tM0sd'></bdo><ul id='tM0sd'></ul>
            <tfoot id='tM0sd'></tfoot>
              <tbody id='tM0sd'></tbody>
            <legend id='tM0sd'><style id='tM0sd'><dir id='tM0sd'><q id='tM0sd'></q></dir></style></legend>
            <i id='tM0sd'><tr id='tM0sd'><dt id='tM0sd'><q id='tM0sd'><span id='tM0sd'><b id='tM0sd'><form id='tM0sd'><ins id='tM0sd'></ins><ul id='tM0sd'></ul><sub id='tM0sd'></sub></form><legend id='tM0sd'></legend><bdo id='tM0sd'><pre id='tM0sd'><center id='tM0sd'></center></pre></bdo></b><th id='tM0sd'></th></span></q></dt></tr></i><div id='tM0sd'><tfoot id='tM0sd'></tfoot><dl id='tM0sd'><fieldset id='tM0sd'></fieldset></dl></div>

            1. <small id='tM0sd'></small><noframes id='tM0sd'>

                • 本文介绍了如何在 spritebuilder-Cocos2d 3.2 中添加单独的 iPad 和 iPhone 图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我喜欢 Spritebuilder 采用视网膜 iPad 图像并自动制作缩小的 iPhone 图像.

                  I love that Spritebuilder takes the retina iPad image and automatically makes the scaled down iPhone images.

                  我制作一张图片(ipad 视网膜),然后 spritebuilder 自动制作 iPhone:

                  I make one image (ipad retina), And spritebuilder makes the iPhone ones automatically:

                  但对于某些按钮/精灵,我想自己制作 iPad 和 iPhone 图像.如何为可在 Spritebuilder UI 中使用的图像添加自定义 iPhone 和 iPad 版本?

                  But for certain buttons/sprites, I wanted to make both the iPad and iPhone images myself. How do I add custom iPhone AND iPad versions for an image that can be used in the Spritebuilder UI?

                  例如.为 iPad(视网膜)使用一张图片,但为 iPhone 使用另一张图片.

                  Eg. Use one image for iPad (retina), But use another one for iPhone.

                  另外,如何在我的 Spritebuilder XCode 项目中添加外部 spritesheet 之类的东西?(添加 -hd 或 -ipadhd 后缀不再起作用,它总是选择没有后缀的那个)-我听说这与资源电话"有关?

                  Also, how do I add something like an external spritesheet into my Spritebuilder XCode project? (Adding the -hd or -ipadhd suffix no longer works, it just always chooses the one with no suffix) -I heard is has something to do with 'resources-phone'?

                  推荐答案

                  如果您在 SB 中选择一个图像,您可以在文件视图的上半部分看到它的预览图像.图片下方是 4 个标记为 auto 的较小按钮,每个平台(手机、phonehd、平板电脑、tablethd)一个.

                  If you select an image in SB you can see its preview image in the top half of the file view. Below the image are 4 smaller buttons labelled auto, one for each platform (phone, phonehd, tablet, tablethd).

                  例如,选择您的 ipad 图像,然后将另一个图像拖放到该图像的手机和 phonehd auto 按钮.这样,当应用在手机或 phonehd 设备上运行时,它们会覆盖原始图像.

                  For instance, select your ipad image, then drag and drop another image to that image's phone and phonehd auto buttons. That way they override the original image when the app is run on a phone or phonehd device.

                  这篇关于如何在 spritebuilder-Cocos2d 3.2 中添加单独的 iPad 和 iPhone 图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:从 iPhone &amp; 中的类类型(+)方法访问对象Cocos2d? 下一篇:显示 CGRect 边框的简单方法?

                  相关文章

                    <bdo id='7iku5'></bdo><ul id='7iku5'></ul>

                  1. <legend id='7iku5'><style id='7iku5'><dir id='7iku5'><q id='7iku5'></q></dir></style></legend>

                    <i id='7iku5'><tr id='7iku5'><dt id='7iku5'><q id='7iku5'><span id='7iku5'><b id='7iku5'><form id='7iku5'><ins id='7iku5'></ins><ul id='7iku5'></ul><sub id='7iku5'></sub></form><legend id='7iku5'></legend><bdo id='7iku5'><pre id='7iku5'><center id='7iku5'></center></pre></bdo></b><th id='7iku5'></th></span></q></dt></tr></i><div id='7iku5'><tfoot id='7iku5'></tfoot><dl id='7iku5'><fieldset id='7iku5'></fieldset></dl></div>
                  2. <small id='7iku5'></small><noframes id='7iku5'>

                  3. <tfoot id='7iku5'></tfoot>