Quark Interactive Designer
Page 5

Now that we have a path, we need to have an object that can follow that path. Follow the steps below.

X-Ray Magazine v5n2 Quark Interactive Designer Drop Cap1Draw a small picture box and import a graphic as in figure 10. In my example, I'm sending my goldfish for a swim.

X-Ray Magazine v5n2 Quark Interactive Designer Figure 10

Figure 10 Where I have placed my goldfish, draw a yellow box that will follow the path.

X-Ray Magazine v5n2 Quark Interactive Designer Drop Cap2Select that object and name it in the interactive palette, use the settings shown in figure 11.

  • Object Name: TheTraveler. 
  • Object Type: Animation. (We are classifying this as a special class of object.)
  • Display as: The animation type is item on a path. (Remember, we already made the path.)
  • Path:  Choose ThePath.
  • Options: Not only should the yellow circle follow the path, it should loop back and forth over the path.
  • Speed: I like 300 pixels per second for this one.
  • Event Sound: None.
  • Choose a start point and direction.

X-Ray Magazine v5n2 Quark Interactive Designer Figure 11

Figure 11 In the object tab of the interactive palette, set up the yellow circle as shown.

Finally, since now we have our path and our animation object, we tell QuID when to run the animation.

X-Ray Magazine v5n2 Quark Interactive Designer Drop Cap1Select TheTraveler in the left-side panel.

 

X-Ray Magazine v5n2 Quark Interactive Designer Drop Cap2Switch to interactive (palette) > event (tab).

 

X-Ray Magazine v5n2 Quark Interactive Designer Drop Cap3Set the options as in figure 12 (see next page).

 

  • User Event: Click Down.
  • Event Sound: None.
  • Action: Animation > Play.
  • Animation: TheTraveler.

X-Ray Magazine v5n2 Quark Interactive Designer Figure 12

Figure 12 Now that we have an animation, we have to specify when to kick it off.

Feel free to preview your work. Just to be sure, let's quickly recap what we did. First, we created a path. Next we named it and identified it as a basic, hidden object. Then we created our moving object, named it, and identified it as an animation. Finally, we identified an event so that the animation knew when to trigger.

Things to Explore:
So if I click on the object called TheTraveler, then TheTraveler moves
around on the path. See if you can figure out how to click on Object2
to send The Traveler on its path.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | PDF Version

X-Ray Magazine
X-Ray Magazine Logo
If you enjoy our articles, click here to subscribe.
AddThis Social Bookmark Button
 
Free JavaScripts provided by The JavaScript Source