[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

[Virtools] More on Scripting (Was Competition)



Title: More on Scripting (Was Competition)

Hmmm, I suspect that some of my comments apply only to Version 2.  To be honest, I have been working with Virtools for quite a while now on Version 2 so my memories of 1.0.1 are a little sketchy.

In Dev 2 you can easily select a region via CTRL-left mouse button then drag over the region.  You can copy, paste, move, cut, etc.. Plus, all those connecting lines automatically path find and connect for you so you don't have to do any of that manually any more (if set to do so in the General Preferences).

I need to double check on Behavior Graphs but I don't think that their version is dynamically checked when the file is loaded so if you do find a bug or error then you would have to update them manually.  Again, with planning and a little (lot of?) luck, this can be relatively straightforward or, at times, very annoying.

On shortcuts, well, I tend to stay away from them because of the design approach that I use.  For maximum reuse, I try hard to use messages that I define instead.  That way, I don't have to deal with that issue - but at the cost of a single frame delay and associated processing overhead.

Generally, I don't end up "re-dropping all my scripts" because I save them with my object.  Once I am happy with the object then I save it with the scripts.  If I need more of the objects, I drag in more of them.  If I need the scripts to work on other objects, well I just copy the script in the level manager to the new object.

In my experience, planning and testing were the the key to success.  That, and a lot of practice - I look back at some of my scripts from a couple of years ago and I just shake my head and wonder how I could have thought that my approach was reasonable.

I do agree with you that visual programming can never be quite as flexible as coding - one can simply never anticipate everything.  That is why I write my own BBs - so I can't disagree ;-)  However, once you reach critical mass in the BG department - look out!

Here is an example that I use in my classes.  Visualize this scenario - you have a level with a character running around in it (a "Place" in Dev).  You are actively controlling your character.  Now, *while your level is still running* you drop a new Place into 3D Layout, grab the Translate tool and move the new Place such that it abuts the original Place.  You go back to controlling your character and run from the old Place to the new Place and just keep right on going.... no stopping to compile your code, your level, nothing ==> just keep on running!

I, at least, think that is very cool.

Your consistency issues have been largely addressed in Version 2.  I say largely because I have seen posts of reports that I haven't been able to duplicate but that *may* still be outstanding - I just don't know.

I don't know whether you are using Version 2 or not.  By your comments, I suspect that the answer is no.  If you haven't upgraded, all I can say is that Version 2 is a very significant upgrade - it almost seems like a new application to me at times.  If you can afford it, I believe that the upgrade is worth every penny.

Disclaimer: I was part of the Beta Test group and I did help write and edit the new User Guide so my opinion is probably biased.

I'm having fun with this discussion - is anybody else?

David Callele



Follow-Ups: