本文介绍了Scala中有游戏引擎吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有任何用Scala编写的游戏引擎或可以从Scala轻松访问的游戏引擎?
I wonder if there are any game engine written in Scala or easily accesible from Scala?
推荐答案
由于易于Java集成,因此所有Java游戏引擎都易于访问.有几种(没有任何排序方式):
All the Java gaming engines are easily accessible due to easy Java integration. There are several (not sorted in any way):
- http://www.jmonkeyengine.com/
- http://www.13thmonkey.org/~boris/jgame/
- https://jge.dev.java.net/
- http://www.lwjgl.org/
- https://sourceforge.net/projects/tjger/
- http://www.jmonkeyengine.com/
- http://www.13thmonkey.org/~boris/jgame/
- https://jge.dev.java.net/
- http://www.lwjgl.org/
- https://sourceforge.net/projects/tjger/
用不到50分钟的时间用Java编程语言编写3D游戏,同样适用.
Scala具有良好的Java集成 ointerop应该很容易.正如mcherm所指出的,对于 lwjgl已经完成.要获得良好的Scala感觉,您可以添加一些隐式转换.
As Scala has a nice Java integration the ointerop should be easy. As mcherm pointed out, for lwjgl this has already been done. To have the nice Scala feel you could add some implicit conversions.
这篇关于Scala中有游戏引擎吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!