Scala中有游戏引擎吗?

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/

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.