<bdo id='7OnTb'></bdo><ul id='7OnTb'></ul>
  • <small id='7OnTb'></small><noframes id='7OnTb'>

    <legend id='7OnTb'><style id='7OnTb'><dir id='7OnTb'><q id='7OnTb'></q></dir></style></legend>

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

        iOS 图形问题

        时间:2024-04-14
          <bdo id='rgQiR'></bdo><ul id='rgQiR'></ul>
          • <small id='rgQiR'></small><noframes id='rgQiR'>

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

            • <legend id='rgQiR'><style id='rgQiR'><dir id='rgQiR'><q id='rgQiR'></q></dir></style></legend>

                  本文介绍了iOS 图形问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  所以我正在创建一个横向滚动射击游戏,但偶尔会遇到一些图形问题.我遇到了这条出现的神秘线.正如您在下图中看到的那样,它出现在一些但不是所有的精灵上.我该如何解决这个问题?这是我的还是艺术家的错误?

                  so I am creating a side scrolling shooter game but am having an issue with some of the graphics occasionally. I'm running into this mysterious line that appears. As you can see on the image below it appears on some but not all the sprites. How can I go about fixing this? Is this mine or the artists mistake?

                  我正在使用 Cocos2d 开发并使用 CCSpriteBatchNode,我的精灵表是 .png,不确定信息是否相关,只是想我会留下尽可能多的信息.

                  I am developing with Cocos2d and using a CCSpriteBatchNode and my sprite sheet is a .png, not sure if the information is relevant just thought I'd leave as much info possible.

                  有什么想法吗???

                  推荐答案

                  我也在我的一个 cocos2D 游戏中观察到了同样的事情.我通过做两件事解决了这个问题.

                  I also observed the same thing in one of my cocos2D games. I fixed this problem by doing 2 things.

                  一个:
                  在 ccConfig.h 中定义这个

                  One:
                  In ccConfig.h define this

                  #ifndef CC_FIX_ARTIFACTS_BY_STRECHING_TEXEL
                  #define CC_FIX_ARTIFACTS_BY_STRECHING_TEXEL 1
                  #endif
                  

                  第二个:

                  检查你的 spriteSheet,在 sprite Spacing 中使用 2 个像素的间隙.(我用过Zwoptex) 有一个选项.

                  Check your spriteSheet, use 2 pixel gap in sprite Spacing.(I used Zwoptex) there's an option.

                  我相信第一个肯定能解决你的问题..快乐编码.

                  I believe first one should surely solve your problem.. Happy Coding.

                  这篇关于iOS 图形问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:当我转换为视网膜显示时,瓷砖地图的位置错误 下一篇:在cocos2d中检测精灵上的透明部分?

                  相关文章

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

                    <bdo id='hBhye'></bdo><ul id='hBhye'></ul>

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

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