I wonder if there are any game engine written in Scala or easily accesible from Scala?
If you can write Scala, you can make games. Indigo is powered by Scala. js, and builds with sbt & Mill.
Here Are Some Of The Best Open Source Game Engine. 1. Godot: Released with a mission to offer a fully integrated game development environment, Godot is considered to be one of the most powerful 2D and 3D cross-platform game engine. It is also an open source platform under the MIT License.
The free game engines that use C++ are: CryEngine, Esenthel, G3D Innovation Engine, Godot, idTech, Irrlicht, Leadwerks, Limon Engine, Lumberyard, Lumix Engine, OGRE, Panda 3D, PhyreEngine, Source Engine (free if your game is free), Torque 3D, Toy Engine, Unigine, Unreal Engine, and Urho3D.
C++ is the most popular language for creating game engines—the development environments where game programmers create and host their interactive worlds. Game engines provide the technology for every aspect of a game, from graphics, physics, and sound to the behavior of AI-powered game bots.
All the Java gaming engines are easily accessible due to easy Java integration. There are several (not sorted in any way):
A good presentation how to start coding a game in Java is Write a 3-D Game in the Java Programming Language in Less Than 50 Minutes that applies as well.
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.
I am currently working on a 3d engine in Scala: http://www.sgine.org
It still has a long way to go before it's a competitor to the major Java engines out there, but good progress is being made and more help is always appreciated. :)
Here is an example of someone using a library like LWJGL from Scala. That seems like your best plan -- integrate with a good Java library. The integration betweeen Scala and Java is quite strong: in order to use such a library you need to integrate in "both directions": call Java code from your Scala (to do things like drawing to the screen) and also implement Java interfaces from your Scala code (to do things like responding to events). Fortunately, Scala makes it quite easy to do both.
ScalaBox2D
It's probably not a full fledged game engine though. (I dunno I have never written large games).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With