4
\$\begingroup\$

I'm looking into Scala game development, and wondering if there are any game frameworks oriented towards it, rather than Java.

Java has Slick2D and LWJGL, but they do not take advantage of Scala features.

\$\endgroup\$
6
  • 2
    \$\begingroup\$ code.google.com/p/scage Google is your friend you know \$\endgroup\$
    – Sidar
    Sep 21, 2012 at 22:45
  • \$\begingroup\$ Note: If you'd like to downvote it would be great if you left a comment detailing why you did it \$\endgroup\$
    – mpnk121
    Sep 23, 2012 at 8:22
  • \$\begingroup\$ ^Lack of research is why I would downvote. \$\endgroup\$
    – Amplify91
    Oct 22, 2012 at 18:56
  • \$\begingroup\$ stackoverflow.com/questions/1048801/… \$\endgroup\$ Oct 23, 2012 at 3:23
  • \$\begingroup\$ That question linked question was asked in June of 09 ... over 3 years ago. \$\endgroup\$
    – Michael
    Oct 23, 2012 at 12:05

3 Answers 3

3
\$\begingroup\$

There isn't much in the way of game specific frameworks/engines. What does exist is largely immature though can help provide a higher level of abstraction for rendering:

  • Sgine - http://www.sgine.org - This one has been undergoing a rewrite for a long period of time, I woulnd't count on this one for anything practical anytime soon. I looked at this early on in creating my game, and while it looked extremely productive for tiny projects, I decided not to use it after finding too many core problems in my mind to justify it's use in anything substantial.
  • Simplex3D - http://code.google.com/p/simplex3d - Provides math, data binding and rendering libraries, I haven't used this one, but it looks solid for what it provides.
  • Scage - https://github.com/dunnololda/scage - 2D only, I have little familiarity with this project, it seems tailored to small projects, the network api looks neat though.

I've built an engine directly on top of LWJGL over the past year. In retrospect it seems to have been a good idea. I honestly can't imagine using anything but Scala at this point (though except maybe Rust one day in the far future). I simply couldn't stand to use something as unproductive as Java or C++ again.

Not that it's a great measure of size, but my game including the engine/framework is approx 440 scala classes.

A side note: The game libraries suffer from similar problems to Scala libraries as a whole, especially in their (and in some way Scala's) relative immaturity, they're all written in their own interpretation of how Scala code should be written (something which is very diverse amongst scala libraries).

\$\endgroup\$
2
\$\begingroup\$

I do not know what specific features of scala you'd like to see in a game lib. My gut-feel says it is better to use a well known and fully functional java engine than a new scala one. Using java libs out of the box is one of the "specific features" of scala ;-).

A while back, I wrote a small game in Scala using the GTGE. I can really recommend it. The scala source code is on launchpad if you'd like to take a look before using it.

\$\endgroup\$
0
\$\begingroup\$

The best way to keep up with this now will be to peruse (and update) the awesome list on ScalaGameDev. The site also aims to host discussion related to Scala game development using (currently) gitter, though this was just created..

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .