So I see that unity has the support for c#, JS and Boo.
I could learn one of these but I would like to make a 'compiler' or something similar that would let me write ruby code and either output JS code or make a layer that could be read by the Unity compiler.
Is this even a possibility. Im willing to invest many hours in this and have a fair bit of experience.
Vim, Emacs or Sublime are all good enough to write code, just have some good plugins that support Ruby, and you're set. If you really feel you need an IDE, which may be the case if you are coming from a static language, you can't go wrong with RubyMine.
Don't expect to write highly-performant, professional, commercial, 3D games with Ruby, but Ruby is a great language to use when learning game development concepts. Gosu is the most popular (and actively maintained) library for writing 2D games in Ruby.
Unity allows you to import and assemble assets, write code to interact with your objects, create or import animations for use with an advanced animation system, and much more.
Create in Unity without code It's true that most of the interactive content you create in Unity relies on text-based programming. Unity supports the C# programming language, and there are two main areas that need to be understood: logic and syntax.
If your question is actually "how do I compile Ruby to JavaScript" then that's easier to answer:
Opal: Ruby to JavaScript compiler
However, you're going to be mucher better off learning one of the supported languages. It's very hard to debug "your" code when what's running is a paraphrasing of the code in another language.
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