August 30, 2002   Tip of the Week Mailing List
The Tip

You probably already know that you can use the "¬" (Alt + Enter) character to get Authorware to treat more than one line of code as if it were a single line of code. I learned a neat application of this trick from watching Chris Swenson's TAW I presentation on Lists.

Use the line breaks created with "¬" to organize your code into "thoughts" and make it more readable. For instance, you might use:

Box(1,

DisplayLeft@"Some Icon", ¬
DisplayTop@"Some Icon", ¬
DisplayLeft@"Some Icon" + DisplayWidth@"Some Icon", ¬
DisplayTop@"Some Icon" + DisplayWidth@"Some Icon")

Note that you can't skip a line, but this is a limitation of the tag that gave me the indent.

By setting up your code this way, not only do you make it easy to see the pen size, left, top, width, and height of the box at a glance, you also make it easier to edit any one of these parameters without disturbing the surrounding code.

 
Did you know?

You can change the branching on Response icons without opening the Response Properties dialogue. Press Control while clicking the branch indicator at the bottom of the Response. Each click will change to a different branching option available for that response. Cycle through until you see the one you want.

 

Playin' Hooky

There will be no Tip of the Week next week because I'll be at The Alternative Authorware Conference. If you're planning to be there too, I look forward to seeing you there!


Nowhere Road

This week, I was looking for websites with ideas for games in Authorware. One site that was recommended by several people was Lloyd Reiber's Gallery of Neat Stuff. I spent quite a bit of time poking around the gallery and the rest of the site. This is a very interesting resource, especially if you are at all interested in instructional design.



  http://www.Authorware-Amy.com