Using IronPython as a scripting language for monogame

Started by
1 comment, last by hawkeye_de 9 years, 10 months ago
I'm currently developing a roguelike with monogame/C# and have the idea to use IronPython as the language to control the low-level behavior of all artificats (NPCs, items...) in the game.
So that would mean that with xml data files the stuff is heavily moddable and could also speed up my core development.
I'm unsure if this would be a wise decision since I have not found how cross-platform compliant the usage of IronPython is. I've seen various examples that it works on Windows but what is with other OS?
The alternative, which I see is to use C# as a built in scripting languge...the drawback is it is more verbose.
Any comments/suggestions?
Thanks.
Advertisement

If you're using it as a scripting system internal to your game, then it will run on just fine on any desktop OS. If the scripts need to interact with the OS (opening files, etc.) then there are a few issues on non-Windows systems, but nothing major.

Non-desktop OSes (iOS, Android, WinPhone, Win8) are not yet supported. Getting the core to work on them wouldn't be that hard (except iOS, which doesn't allow runtime code generation), it just takes time.

Ok, thx^^

I think, then I look more into C# scripting...with Roselyn it seems to be pretty easy

This topic is closed to new replies.

Advertisement