• Advertisement
Sign in to follow this  

Scripting noob

This topic is 4553 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Guest Anonymous Poster
Easiest way : Boost

Share this post


Link to post
Share on other sites
Boost is an usefull comment.

It has functions for using Python.

Swig(.org) is also something that can help you.

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
Sign in to follow this  

  • Advertisement