本来只想简单的借用一下Torchlight的背包UI资源,不过发现背包的UI是动态打开或关闭的. 就想尝试一下把整个效果弄出来.经过一番折腾, 总算实现了.

 

整个过程主要包含几个技术点:
1. To create a render to texture window with CEGUI.
   This allows us to create a second Viewport which can be rendered directly into a CEGUI widget

2. Animation blending using one entity with 2 animations from 2 separate skeleton files

3. Create RenderTargetListener for Updating UI screen position before render

 

实现Torchlight(火炬之光)的背包UI效果实现Torchlight(火炬之光)的背包UI效果

 



相关文章:

  • 2021-07-14
  • 2022-12-23
  • 2021-05-25
  • 2021-11-14
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
相关资源
相似解决方案