3 ms·
I used to code in Ruby for indie games (well, RPG Maker). For me the reason is several things: 1. Its performance meant that it would never survive against Jav
by runeblaze 2y ago
I used to code in Ruby for indie games (well, RPG Maker). For me the reason is several things:
1. Its performance meant that it would never survive against Java/C# for AA/AAA games, not to speak of C++
2. Lack of libraries. Last time I tried no physics engine worked with Ruby 2.3, and ouch that made my game or many games impossible
3. No significant advantage over Python, especially given that for indie games Python had the popularity advantage, the numpy/numba/Pillow/easier to write high performance code advantage. Bitmap manipulation in Python using even numpy is much easier than whatever I can do in Ruby.
4. OOP is not actually that important especially for the market Ruby can break into. DragonRuby is in the right step, but look at pico8, love2d, or even Unity3D -- there is not a lot of inheritance going on. Simplicity is good.
Of course the above factors play into each other.