[英]Python GUI Toolkit for Text-Based Game?
Quick to learn is pretty important, but I need just some basic GUI tools, for Ubuntu OS but would be nice to have multi-OS compatibility. 快速学习是非常重要的,但我只需要一些基本的GUI工具,对于Ubuntu操作系统,但很高兴有多操作系统兼容性。 Any suggestions?
有什么建议么?
The basic dynamics of the intended game just include a text input and some set reaction 预期游戏的基本动态只包括文本输入和一些集合反应
frames. 帧。
Thanks in advance. 提前致谢。
如果你使用Ren'Py而不是自己动手,你可以给游戏带来更多的味道。
Do you mean with text-based menus and graphics as well? 你的意思是基于文本的菜单和图形吗?
curses is included in the standard Python distribution. curses包含在标准Python发行版中。
http://en.wikipedia.org/wiki/Ncurses http://docs.python.org/library/curses.html http://en.wikipedia.org/wiki/Ncurses http://docs.python.org/library/curses.html
But perhaps that is too text-based? 但也许是过于基于文本的?
For basic toolkit, I think tkinter which comes with python is okay. 对于基本工具包,我认为python附带的tkinter是可以的。 If you want to have graphical toolkit with more functionality, I would suggest you to take a look at wxpython which is cross-platform compatible.
如果你想拥有更多功能的图形工具包,我建议你看一下跨平台兼容的wxpython。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.