Sign in to follow this  
Aidamina

Scripting noob

Recommended Posts

I am working on a game engine and i would like to fully integrate scripting into my engine. I've been looking at Python and decided this is going to be my scripting language for the engine. My engine is using a lot of classes and user classes, but i can't seem to find a way to link a class with Python other then create a PyObject for every function in a class. I think there should be easier ways of doing this. Anyone got suggestions / links to tutorials / code snippets... I tried google but i didnt really know what to search for Greetz Aidamina

Share this post


Link to post
Share on other sites
I recommend SWIG.
I have found it the easiest way, plus it can turn your libraries to other languages if you change your mind in the middle way.
Only minus is that you have to learn a bit of swig's interface language(though very little of it).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this