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

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

        <bdo id='FUIdk'></bdo><ul id='FUIdk'></ul>
    2. <tfoot id='FUIdk'></tfoot>

        突出显示朗读文本(在 iPhone 的故事书类型应用程序中)

        时间:2024-08-12
          <tbody id='wujKd'></tbody>

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

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

            <legend id='wujKd'><style id='wujKd'><dir id='wujKd'><q id='wujKd'></q></dir></style></legend>

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

                  本文介绍了突出显示朗读文本(在 iPhone 的故事书类型应用程序中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I love this feature (well, my son loves it), and I would like to implement it in a kid's book app I am doing for iPhone, but I'm clueless where to begin. I'm using Cocos2d for all the animated sprite/transition stuff, but I'm not sure how to approach highlighting text as it is narrated.

                  Example: "Jack and Jill, drank their fill, and were too drunk to go for water." As the text is narrated (.mp3 plays on each page), the text would be highlighted. I considered investigating Core animation, but I"m more familiar with Cocs2d at this point (tenuously at best).

                  If someone has a clue, I'd really appreciate it.

                  Brendang

                  解决方案

                  Use the UIStringDrawing methods to determine the rect needed for the highlight, and then position a semitransparent UIView (or whatever cocos2d uses) under your text view. Synchronize with your audio via NSTimer

                  这篇关于突出显示朗读文本(在 iPhone 的故事书类型应用程序中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Cocos2D + 仅禁用 Retina iPad 图形 下一篇:恢复游戏 cocos2d

                  相关文章

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

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

                  1. <tfoot id='Kayao'></tfoot>

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