Retro Display(LCD显示屏)
<p>[toc]</p>
<table>
<thead>
<tr>
<th>作者</th>
<th>QFord</th>
</tr>
</thead>
<tbody>
<tr>
<td>创建日期</td>
<td>2024-12-16</td>
</tr>
<tr>
<td>更新日期</td>
<td>2024-12-25</td>
</tr>
<tr>
<td>版本</td>
<td>V1.0.2</td>
</tr>
</tbody>
</table>
<h1>插件简介</h1>
<ul>
<li>详见 [Retro Display ](<a href="https://www.fab.com/zh-cn/listings/1f605b31-d6a0-448f-9aa3-d71d1fb1c608">https://www.fab.com/zh-cn/listings/1f605b31-d6a0-448f-9aa3-d71d1fb1c608</a> "Retro Display ") 的描述</li>
<li>视频演示[UE 5 - Retro Display - Marketplace Asset](<a href="https://www.youtube.com/watch?v=Oo8RSJ0r-BM">https://www.youtube.com/watch?v=Oo8RSJ0r-BM</a> "UE 5 - Retro Display - Marketplace Asset")</li>
</ul>
<h1>工程目录</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=eba0e3765f32ec0aa7482efcf79bfa85&amp;file=file.png" alt="" />
>注意:根据项目规范,我们封装此插件为VLabRetroDisplay。
PS:原作者并未按照插件的格式提供,仅提供蓝图的方式访问功能。
我们会根据需求来决定是否提供C++版本。</p>
<h1>测试场景和器材</h1>
<p>测试场景:Level_AllElements_Physics
测试器材:BP_TiaoYaQiElement</p>
<h1>插件用法</h1>
<h2>0. 设置蓝图引用</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=a28d13623b64c5035ba871269a3fe7f7&amp;file=file.png" alt="" /></p>
<h2>1. 调整位置和尺寸</h2>
<p>将蓝图NewRetroDisplay_BP放置在器材合适的节点下,然后调整<strong>液晶屏</strong>的位置和尺寸
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=ae1a1e03b36122182b205973318a9b24&amp;file=file.png" alt="" />
> 液晶屏的数字对齐是靠右的,如果有其他固定区域要显示其他符号,可以将液晶屏显示区域按需要调整下,然后背景缺口的地方自行补齐。</p>
<h2>2. 调整背景色</h2>
<p>需要运行时更改(截图为调试用的编辑器中修改,观察颜色是否合适)
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=b91ea9a13eea79818c83172f50504cc4&amp;file=file.png" alt="" /></p>
<h2>3. 调整符号色</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=ced475c4d3064d869b9fddaa3e0de101&amp;file=file.png" alt="" /></p>
<h2>4. 关闭动画</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=90c56628db445469b01ef1c93321c553&amp;file=file.png" alt="" />
> 有些是需要动画的,比如秒表,这块看需求。插件已经内置了几种常用的动画,详细
可以看<strong>RetroDisplay_Map</strong>关卡。</p>
<h2>5. 动态设置值</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=4f780a93c50037cf9b925b305b286790&amp;file=file.png" alt="" /></p>
<h2>6. 案例效果</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=44e7e746249fd977de4e422dba8320f3&amp;file=file.png" alt="" />
> 液晶屏的位置可以根据需要自行调整</p>
<h2>7. 液晶屏风格</h2>
<p>如果需要更多风格或者符号的液晶屏,需要美术生产更多的字体贴图资源,如下图所示:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=d778f3bf8cd903702a8d8e429d36ffcb&amp;file=file.png" alt="" /></p>
<h2>已知问题</h2>
<ul>
<li>
<p>Font Type = VFD系列类型的,小数点【.】会错误显示为8,是此插件的Bug(可使用LCD类型)。
> 可反馈https://discord.gg/zQPRfBe 作者进行处理,此问题原因是字体类型VFD7系列的未正常识别.符号,就会默认采用8.作为显示。</p>
</li>
<li>在QA测试机器上(低配机器),播放闪烁动画的时候,可能出现贴图数字模糊的情况</li>
</ul>
<h1>附录</h1>
<ul>
<li>[LCD显示-插件调研](<a href="https://www.showdoc.com.cn/virtualLabUnreal/11558448475915803">https://www.showdoc.com.cn/virtualLabUnreal/11558448475915803</a> "LCD显示-插件调研")</li>
<li>[LCD显示(数字UI)-需求](<a href="https://www.showdoc.com.cn/virtualLabUnreal/11558448681149216">https://www.showdoc.com.cn/virtualLabUnreal/11558448681149216</a> "LCD显示(数字UI)-需求")</li>
</ul>