Question

I am not familiar with what C# can do, especially in the context of a Xbox 360 game, but is it possible to execute Python scripts from within an Xbox 360 Indie game?

I've read several times that you'd want to write the game graphics and logic in a quicker language like C#, and then use Python as a scripting language for fast iteration. Is this sort of thing possible for development on the Xbox 360 platform?

Was it helpful?

Solution

You should be able to use IronPython to use Python from .NET, and it integrates with other .NET languages (including C#) nicely. However, the Xbox 360 uses .NET Compact Framework, which IronPython doesn't seem to support at the moment, and it seems non-trivial to implement. So unfortunately, at the moment, it doesn't seem that there's any way to use Python on the Xbox 360, at least not without getting a full Xbox Live Arcade license, instead of targeting XBLIG, which lets you use native code as well as the .NET Compact Framework (the .NET CF is your only option for XBLIG titles).

OTHER TIPS

Well although C++ is the language of choice for gaming industry, I have seen really good games written in C# using the XNA framework. In terms of your scripting question, I believe Blizzard uses Lua for UI in games like WoW. But going back to your question it's possible to have Python integrated to C#, there is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework called IronPython.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top