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

本来只想简单的借用一下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效果

 



你可能感兴趣的:(UI)