If you are looking for software to use, go to Huajun Software Park! software release AI product list

How to make a color matching game in flash8-How to make a color matching game in flash8

Author: Neal Date: 2022-04-26

flash8
flash8-v8.0 latest version

Flash software Storage: 128MB Time: 2020-11-03

Software introduction: The latest version of flash8 is a professional and practical flash animation production tool. The official version of flash8 is powerful and can help users create...

Download now

I think many friends are curious about how to make a color matching game in flash8? Then the editor will bring you a tutorial on how to make a color matching game in flash8. Friends who are interested should come and take a look.

Open the flash8 software on your computer and create a new Flash document.


Use the rectangle tool to draw five squares of different colors, as shown in the picture


Convert these rectangles into movie clips respectively. The specific operation is to right-click and select Convert to Component or use the shortcut key f8. Note that the registration point must be in the center.



                                                                        Set the instance names of these 5 components respectively to p0-p4, from left to right.


​ ​ Continue to use the Ellipse Tool to draw five circles, as shown in the picture, the colors correspond to the rectangles.


It is also necessary to convert the five circles into video clips. Note that the registration point must be in the center.



​​Set the instance names of these 5 components respectively, m0-m4, from left to right


Make two buttons, as shown in the picture


​​Set the instance names of the two buttons respectively btn_submit, btn_reset



Finally, place a dynamic text on the stage and set the instance name to txt



​​Add the code as shown in the picture to the frame of the timeline



After running, you can drag the circle to the square position. If everything is in the correct position, click OK and it will show that the answer is correct.


The above is the tutorial for making a color matching game in flash8 brought by the editor. I hope it can help everyone.

Related articles