Visual multimedia software main call program design

zhaozj2021-02-08  285

Visual multimedia software main call program design

Cai Jing Wuhan Jiaotong University of Traffic University

A larger software system is usually divided into several modules and then integrates from external calls through the primary call. Use some call functions directly, you can make a very simple call program, but you can't achieve vivid, interesting, image effect, but these features should be necessary. Authorware is a widely used multimedia software creation tool. This article describes how to make full use of Authorware's animation and interactive function to design more convincing programs than simple text or graphics.

1. The idea of ​​the main adjustment program

Assume that the multimedia learning software for a course is designed with Authorware, which includes the study of the top ten units, and its main adjustment interface is shown in Figure 1.

First, a whole map in Figure 1 is divided into ten parts, and the positional state of each part reflects the learning call of one unit. After the system is running, if a part image is dispersed, it means that the unit corresponding to the image has not been learned; if it is still the original position of the map, the unit has been completed; if the image is dispersed The part has returned to the original position of the middle map, and it means that this study completed the study of the unit.

When the system is initially run, the interface of Figure 1 shows that the ten image of the split map is scattered, moving to the corresponding unit directory, and the main adjustment interface changes to Figure 2. Note The initial use of this learning system, each unit has not been learned.

If a unit's learning is completed, the corresponding part of the image will automatically return to the original location in the map. It is assumed that the first, fourth, seventh, and tenth units have now been completed, and the main adjustment interface changes into the style of Figure 3. And even if you re-enter the system next time, the main adjustment interface still presents the style of Figure 3, only the image corresponding to the unit that does not learn, this time it is dispersed to the corresponding unit directory, has already learned The image corresponding to the unit will not move so that it is easy to learn what content learned, which content has not been learned. When all content is completed, the scattered map is re-forming a complete graph, returning to the main adjustment interface of Figure 1.

2. Main adjustment program

According to the previous concept, the program flow of the main adjustment program is shown in Figure 4. From the function, it is mainly including four parts, namely, page layout, graphic dispersion, program call, and graphical aggregation.

The following is a brief introduction to the design process of this program.

1. Setting up the background: Drag a [display] icon to the process line, name "Background", double-click open, introduce the basemap, this picture shows the background of the entire program running, as shown in Figure 1.

2. Arranged Desktop Button: Drag a [Mapping] icon to the process line, named "Button", introduced to the button style that needs to be arranged on the desktop in its inner layer.

3. Split Graph: Drag an [Mapping] icon to the process line, name "part", introduced in its inner layer by adding a set of [display] icons to each part of the segmentation.

At this point, the work is completed.

4. Drag a [calculation] design icon to the process line, name "Read Text", double-click to open, join the corresponding code, see Figure 5. It is used to read the external storage file Save.txt, and the form is shown in Figure 6. From the first to tenth units, each unit is occupied, and the Save1 ~ Save10 is = 0 or = 1 Save whether each unit is learned. After the information, the initial value is 0, and it is not learned. The corresponding variable of the system is assigned to the corresponding variable of the system based on the relevant information of the external storage file, so as to determine which portion of the image needs to be dispersed so as to determine whether or not the aggregation of the image is required at the end of each unit. When the variable Save11 ~ Save 101 records the last entering the system, that is, the information from the first to tenth units before this study, for example, if Save21 = 1, the second unit has been learned. 5. Drag an [Mapping] icon to the process line. Named "MOVE1", which scattered the corresponding image portion of the unlocked unit according to the state of the corresponding variable representative of each unit learning. In its inner layer, each learning unit is added to a [calculation] icon (see Figure 7), and a [mobile] icon (set reference to Figure 8). The value of the corresponding variable representative of this unit learning is 1 in the [calculation] icon. If it is 1, it means that the unit has been completed, and its corresponding image section does not need to do any movement, and thus turns the implementation of the corresponding judgment of the corresponding judgment; if it is not 1, it means that the unit has not been learned yet. , [Move] is performed in order, and the image portion of the unit is partially dispersed;

At this point, the graphical dispersion is completed.

6. Place an [Interaction] button on the process line, named "Interaction". Place a series of [map] design icons on the right side of "Interaction". Complete the response to the desktop settings set in the second step "Button" icon to achieve calls to each unit learning content. [Response Type] can be set to [Hot Sot] or other suitable way. In the mapping icon in each learning unit, you can set the new desktop button to display the style, and through a [calculation] icon, use the jumpfilereturn () function to jump to the file corresponding to the corresponding learning unit to perform the function of calling the divider. .

When the user exits the execution of the file, that is, when the learning of each unit returns to the primary call, you must experience a [calculation] icon, complete the job, the code, see Figure 9, if the unit is completed, read The external storage file save.txt, and modify the corresponding information corresponding to this unit, for example, if the second unit is completed, the second line of the file save.txt is modified to "Save2 = 1", and then write the corresponding information back to the file. Save.txt, final call function quit (0) Returns the primary call.

At this point, the operation of the program call is completed.

7. Drag a [Operation] design icon to the process line. Name "2read text", double-click open, join the corresponding code, see Figure 10. Re-read the external storage file Save.txt, assign the system according to the corresponding variable of the system based on the current information of each line, because the user's learning may continue to occur new changes, may be some of the process 6 possible to the external storage file save.txt The information is changed, and the variables Save1 to Save 10 records the current learning information from the first to tenth units, and the following programs need to be dynamically adjusted according to the new information, and will be dynamically adjusted at any time to polymerize the corresponding part of the learned part.

8. Drag an [Mapping] icon to the process line. Name "MOVE2", which acts in the corresponding image of this learning according to the corresponding variable representative of each unit learning. Each learning unit is added to each learning unit (see Figure 11), and a [mobile] icon (see Figure 8). In the [calculation] icon, it is judged whether or not "Save11" has been "Save11" and whether it is "Save1" two marker variables. If Save11 = 1 indicates that the unit has been learned before, it will not be dispersed in the process of the system into graphic dispersion, because only the image portion of the unlocked unit will be dispersed, so it is not aggregated. If Save1 <> 1 means that the unit has not been learned, it is not used to polymerize, so the above two cases do not need to be aggregated, that is, without performing [Mobile], simply rotate the next unit Judgment icon. At this point, the graphical polymerization is completed.

9. Drag a [calculation] design icon to the process line. Named "end", double-click to open, add the following code: goto (iconid @ "interaction"), its role is to return to the interactive response icon, waiting for the user to make new learning options.

The design of the main adjustment program is also completed.

转载请注明原文地址:https://www.9cbs.com/read-1507.html

New Post(0)