This page is no longer maintained — Please continue to the home page at www.scala-lang.org

jMonkeyEngine (jME) with Scala

No replies
Sylvain HENRY
Joined: 2009-05-28,
User offline. Last seen 42 years 45 weeks ago.

Hi,

jMonkeyEngine (http://jmonkeyengine.com/) is a Java game engine. If some
of you would like to try the new 3.0 version (nightly) with Scala+SBT,
you may want to clone: https://github.com/hsyl20/SME

First run "install_jME.sh" to download the last jME snapshot and some
data required for the tutorial. The SBT config file is set to find
downloaded native libraries. Then using SBT, you can try any beginners
tutorial
(http://jmonkeyengine.org/wiki/doku.php/jme3#tutorials_for_beginners). I
literally translated all of them in Scala (hence the fields set to
"null"...):

sbt> run-hello-collision

(or any run-hello-*)

Note that it has only been tested on Linux. On Windows you would have to
perform what the script file does manually. I don't know for MacOS.

Cheers
Sylvain

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland