我正在使用 Java Swing 框架开发游戏.有谁知道基于 Swing 的好框架?我主要关心重绘的性能.
I'm developing game using Java Swing framework. Does anyone know good framework based on Swing? Mostly I care about performance of redrawing.
Swing 适合简单的游戏,但如果你真的关心重绘的性能,你可能应该看看其中一个基于 OpenGL 的框架.例子:
Swing is fine for simple games, but if you really care about performance of redrawing, you should probably take a look at one of the frameworks based on OpenGL. Examples:
特别是,如果您想做更复杂的效果(例如大量颜色、阴影、透明效果),那么您可能需要 OpenGL.
In particular, if you want to do more complex effects (lots of colours, shading, transparency effects for example) then you will probably need OpenGL.
这篇关于基于 Java Swing 的游戏框架.有什么建议吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!