I agree w/Irv. I often use the score so that I can 'see' the sequencing of the Lingo execution.
The sprites are just spread out ... they usually don't do much without Lingo. -Buzz At 7:43 PM -0700 10/17/01, Irv Kalb wrote: >As Kerry said, I can assure you that a frame script of: > >on exitFrame me > go to the frame >end > >will keep the playhead on one frame. That is a basic element of >most Lingo-based Director programs. > >As far as one frame vs using the score goes, it is really a matter >of style - and a matter of the type of application. Some >programmers (like Kerry and Tab) tend to use only one frame. Others >(like me) tend to take advantage of the score for laying out >different "scenes". > >In my current educational project, I have ten modules each with over >1000 frames. This is a college course, and each "page" is starts >with a marker in the score, and while there are common elements on >each "page", this allows the "content" people on this project to lay >out anything they wish on each page. > >The general approach is that at each "page", the program sits with >the standard "go to the frame" script as above. Then, in response >to clicking on buttons on each page, the program moves to different >markers (pages), or moves between movies. > >A game program might not have a concept of a "page" like this. If a >game has a standard background, and items only move around on that >background (think of chess or checkers), then it would make sense >that you only need a one frame movie to represent it. (Although, >one might want to have a different section of the score for intro, >rules, high scores, etc.) > >And as far as OOP (object oriented programming) goes, I really don't >think that Score vs 1 frame makes much difference. I am probably >one of the most OOP guys around, but as I said, I make extensive use >of the score. I think these are "orthogonal" issues. > >Irv > >At 8:57 PM -0400 10/17/01, Genevieve Young wrote: >>>A frame script like this: >>> >>>on exitFrame >>> go the frame >>>end >>> >>>will hold keep your screen static except for things you change with other >>>Lingo--mouseOver stuff and the like. >>> >>>Most of my programs, in fact, tend to be a single frame with that frame >>>script. Everything else--moving sprites, playing sounds, whatever--is done >>>with code. >> >>I used the frame script command but it didn't work - the movie >>jumped straight to the next frame automatically. It just continued >>forward. >> >>In fact, somehow, the movie continues playing. And the lingo >>commands are not executed properly. >> >>Also, there are so many scenes in a movie - do you just combine >>everything in a single frame? >>How do I do that? >> >>I learnt that single frames are normally meant for game applications. >>Do you mean this? [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!]
