游戏图形界面框架 [英] Game GUI framework

查看:27
本文介绍了游戏图形界面框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在重新设计游戏的用户界面(即OpenLieroX).我正在寻找一个可以轻松创建 GUI 的库/框架.具体来说,这些是我的要求:

I am currently in the process of re-touching the user interface of a game (OpenLieroX namely). I am looking for a library/framework that would allow an easy GUI creation. To be concrete, these are my requirements:

  • 开源 - 游戏是 LGPL,遇到许可问题是我们最不想关心的事情:)
  • 跨平台 - 至少 Linux/Unix、Mac OS X 和 Windows 2k+ 是必须的,但越多越好.
  • 稳定和成熟 - 我不想使用一个会在一个月内消亡的项目
  • 快速且轻量级(编译后小于 15 mb) - 毕竟是一款游戏
  • C++ 接口 - 游戏是用 C++ 编写的
  • 易于使用 - 教程和良好的文档是一大优势
  • 易于调整 - 更改小部件的外观应该很容易
  • 一种易于使用的样式语言 - 一种简单的语言,设计师可以使用它来为游戏创建吸引人的皮肤
  • 添加自定义小部件的简单方法 - 我需要将视口、角色皮肤等添加到界面并按照我的方式呈现它们
  • 支持离屏渲染(进入缓冲区)
  • Open source - the game is LGPL and running into license issues is the last thing we want to care about :)
  • Cross platform - at least Linux/Unix, Mac OS X and Windows 2k+ are a must but more is better.
  • Stable and mature - I would prefer not using a project that will die in a month
  • Fast and lightweight (less than 15 mb compiled) - it's for a game after all
  • C++ interface - the game is written in C++
  • Easy to use - tutorials and a good documentation are a big plus
  • Easily adjustable - it should be easy to change the appearance of widgets
  • An easy to use styling language - a simple language that designers can use to create appealing skins for the game
  • An easy way to add custom widgets - I need to add viewports, character skins etc. to the interface and render them my way
  • Support for off-screen rendering (into a buffer)

我已经尝试过这些库:

  • Webkit(各种端口) - 它很酷,但并不是真正为游戏 GUI 设计的.无法使用自定义绘图(视口等)添加自定义元素.
  • Enlightenment - 很酷的库,但过于以 Linux 为中心.尤其是Windows端口不完整.
  • Qt - 很棒,但离屏渲染不属于它的优势,主要是它太大了
  • GTK - 与 Qt 完全相同的问题,Mac OS X 支持不佳
  • Webkit (various ports) - it's cool but not really made for game GUIs. Impossible to add custom elements with custom drawing (viewports etc.).
  • Enlightenment - cool libraries but too Linux centric. Especially the Windows port is incomplete.
  • Qt - great but offscreen rendering doesn't belong to its strenghts and mainly it's too big for the purpose
  • GTK - quite the same problems as with Qt, poor Mac OS X support

如果有人知道可以满足这些需求的框架,我将不胜感激.感谢您的投入.

I would highly appreciate if anyone knows a framework that could fit these needs. Thanks for your input.

推荐答案

你有没有看过CrazyEddie 的游戏 GUI 系统?我很确定它满足大部分您的要求.

Have you had a look at Crazy Eddie's GUI System for Games? I'm pretty sure it meets most of your requirements.

这篇关于游戏图形界面框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆