on 1/25/01 6:56 PM, Nigel at [EMAIL PROTECTED] wrote:

> I have just started programming in Lingo. I am having trouble managing my
> project since this is not Java or C++ and I can't organise my code "nicely"
> into well defined autonomous objects (I tried using parent scripts, and then
> treating each sprite as an object but these ideas were inelegant). Can anybody
> point me to some place where they have tips on managing and organizing a
> director program, and in particular the lingo scripts. The place where I am at
> has  non-programmers, so I am pretty much on my own here.
> 
> The director movie that I am writing is for a CD-ROM, with video, interactive
> games, text picture etc. I am using Lingo for just about everything, and find
> that I hate opening the script window because of the big mess waiting for me
> when I open it.

You are right: managing Lingo scripts (and other Director cast members) is a
slight shock from those used to managing C++ & Java (me being one of them).

Sometimes, the key is just to set things up so that you can find them
easily. I can only speak for my own personal experiences in that I know that
if I have to leave something for any longer than three days, I will be
totally lost if I don't make it easy for myself.

For large projects, I always try to keep my assets separated into different
casts usually based on different functionality. For example, I will put a
set of navigation routines (and supporting graphics) in one cast, screen
output routines in another cast, data in another cast, etc... This helps a
lot especially when things go awry (and they usually do).

As for your organizing scripts into parent scripts, only do this if you are
intending to use that parent script as an object. Parent scripts in Lingo
are akin to Classes in C++ and Java. Again, from person experience, I am
finding greater usefulness in behaviours. These days, I only use parent
scripts for intangible objects.

That's my loonie's worth... hope it helps.

jord
-- 
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
---------------------------------
Tel:  (519) 837-1879
Cel:  (519) 760-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www. interactivityunlimited.com
AIM: j1chilcott

Let us push your buttons


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to