• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 23. Keyboard Control > Creating the Drawing Dot

Creating the Drawing Dot

The sketch toy graphic is already in place on the stage. You need to create the other part of the user interface: the dot that draws the lines on the screen.

1.
In the score, click frame 1 in channel 2. Open the tool palette (Windows Ctrl+7, Macintosh Command+7), select the Filled Rectangle tool, set the foreground color to black, and then draw a small square on the stage within the bounds of the gray drawing area.

This square—called the drawing dot—should be in channel 2, spanning frames 1 through 10. You can draw the dot any size because you're going to resize it in the next step. The sprite's duration isn't important either, since you're going to control it using Lingo and not the score. The 10-frame duration chosen for the sprites in this project is long enough for the cast member names to be readable in the score.

2.
With the sprite selected in the score, click the Property Inspector button on Director's toolbar or choose Modify > Sprite > Properties.

The Property Inspector window opens with the Sprite tab selected.

3.
Use the List View Mode button to set the Property Inspector to graphic view; then set both the Height and Width fields to 3.

You now have a drawing dot that is 3-pixels square. This is the tool that the user will move to draw lines on the screen.


Figure .


4.
Save your work.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint