yes - more or less - and without worrying about the "textbook" on such as RAD, Waterfall, V-models - the way I work with any programming task is:
- understand the basic need (e.g. I need to make a shape explode)
- look in more detail at the requirements / constraints of the "need" and of the "environment" in which the need has to be provided (e.g. fills / 2d / ... / gravity / friction / ...)
- analyse the problem into steps (e.g. break into fragments, preserve fills, handle edge strokes, what governs fragment flight path, how do you know when to stop? ...)
- design the solution with the development environment in mind - see below about "libraries" - (e.g. select the shape, overlay with triangular grid, ... )
- write and test the code in outline (i.e. ignore detail -- such as actually changing edge fill) (sometimes not even in the final environment - e.g. if it's a mostly algorithmic problem then I'll do the try out in a spreadsheet; if it's the "explode" problem then animate a fragment path by hand to see what looks right)
- this usually shows up analysis and design problems (e.g. the idea behind breaking the shape is good but it takes the program an unacceptably long run time; should the initial explosion duration be fixed or user-selectable, ...)
-iterate...
Obviously, the more of the "design-code-test-iterate process" that you can do by way of "thought experiment" the faster the total process - so, again for example, if you know that the software library doesn't have a set of routines to do -whatever- then you know you'll need to write them from scratch or do something different (e.g. as AS provides template particles in the library you can decide to use them or not; but if it didn't and you had to build everything from scratch you'd have to design and build a "particles" system or think up another way to skin the proverbial cat). So it helps if you have a list of "what the system willl give you" to hand (or in your head)...
Scripting in AS uses: the base LUA language; the LUA function library (e.g. maths / trig functions); the AS function library.
The AS library comes in three main parts:
> functions and values are available for a layer, a bone, etc.
> important data structures and types such as Vectors, 2D points, colours, etc.
> things needed to build the user interface and for translating mouse clicks into "drawn lines" etc ..
(see
viewtopic.php?t=13513 and
viewtopic.php?t=1031)
whew -- sorry that's turned into a long post...
... but scripting is really not that hard. Imagine you had to explain how to draw and animate a walk cycle to someone who was just starting out ..