Python Scripting tutorials

For questions about using Classic.

Post » Sat Aug 06, 2016 7:13 am

I've looked at python scripting in Construct Engineering but usually the event system had a much easier way of doing python scripting was redundant in some situations...and the ones that were useful were too complicated for me...

can someone whip up a quick example that's fairly simple but can NOT be done using the event system? 2-3 examples would be nice actually :D
Posts: 72
Reputation: 4,875

Post » Mon Aug 08, 2016 1:59 am

It's probably too broad a request. You can do anything that you can with normal python. If you want to interface with Construct objects then it's mostly straightforward, although there are many gotchas since the way events work are very different to python. Do a forum search for python and you'll get a lot of info. Only search for posts by me and that narrows it down a bit to more relevant info.

There are also things you can't access from python, but it all depends on what you want to do.

Generally events are a better way to write stuff. Python is more reusable but it's main use is to interface with third party libraries.
Posts: 5,489
Reputation: 81,541

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests