导航

Some thoughs about in-game GUI system

Posted on 2006-02-24 01:43  chenlee  阅读(279)  评论(0)    收藏  举报
1. GUI coordinate class: 同时支持虚拟坐标和屏幕坐标
2. 用名字引用widget和事件,尽量避免直接操作widget类
3. 分离的window border和client area(两个widget,有父子关系)
4. 要支持全3D的操作界面
5. 渲染优化系统:
    - 使用visibility query?
    - use statick vb/ib, only update dirty/modified widgets.
6. control的属性:
    - bounding box
    - transparent or opaque