Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

C# .NET .dll with RGSS

Hello, I'm new here and I've been trying to get a .dll made in C# to export functions into RGSS.
However, I'm fairly certain by this point that RGSS does not run .NET dlls normally, so I would like to know if anyone knows how to make it do that?
 
Yeah, I've noticed that. But the functions I need are C# specific. I know there is a way to do this, (Mr.Mo even suggested a C# DLL for Netplay in the Developer Documentation.) I just need to know how to do it.

(Woops, this is Programming_Elf, Accidently posted with my brothers account.)
 

poccil

Sponsor

Since Ruby can call only C functions, the only way I can think of is to build a kind of C-callable "bridge" that invokes the managed functions in the C# library.  Use Web search keywords like "C-callable .NET bridge" or "calling managed methods from unmanaged code" or similar keywords.
 
Not to be annoying or nothing but... This will be way too much work. Well... You should use another engine, maybe... C# is a rich language, and i´m sure you won´t run out of options :)

IronRuby is out there too, not to mention Ruby.NET (but it´s not as stable as IronRuby from what i heard). Why not use it instead of RGSS? Or do you only want RGSS because of the RMXP editor?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top