5/01/10 - Updated the screen shot and attachment with an improved version.
5/02/10 - Updated again with a few minor bug fixes and features. See my next posts for details.
Hello. I've been messing a bit with Construct for the past few weeks, and I was happy to see that Construct supported Python scripting. I've always wanted to learn Python, but never had a compelling reason to do so until now, so I've spent the last couple of weeks learning Python.
I must say, I really like this language. It's been ages since I've programmed anything, and I've never used object-oriented programming, but I've found it quite easy to learn Python and OOP so far. My previous programming experience is quite dusty (from Commodore Amiga era) in ASM, Basic, C, and ARexx.
I've had a hard time figuring out how to use Construct objects from Python scripts, so I had an idea for getting some info on them. I created a simple interactive shell from which I could query object attributes and methods, and also interact with Construct objects step-by-step. It's also o.k. for just messing around with Python interactively, but not quite as nicely as Python's own IDLE shell.
Anyway, I thought I'd post this in the event that it may be helpful to one of the other Python users some time. Here's a screen shot that shows a sample of usage:
I've found the dir() and help() commands quite helpful, and if you re-size/move things a bit, you can plop Construct objects in there and play with them through Python, too. It's not as useful as it could be as a plugin of some sort, maybe, but it's helpful as a simple tool. Usage is pretty straightforward, I think.
Cap is attached for download.