Flash Game development Play puppy

Source: Internet
Author: User
Tags time limit

Game interface:

Figure 1

Game Overview:

In flash games, playing puppies (mice, etc.) is a relatively basic game. If you are interested in Flash game design friends, want to learn how to use Flash to make a game of friends, you can learn the production of this game well. Because the game is used in a number of basic, fundamental and commonly used ActionScript scripting language. In addition, we can learn from the Flash game planning, design to the completion of some concepts, methods and skills and other knowledge.

Game principle:

First of all, the game through StartDrag (), Mouse.hide () to change the hidden original mouse, the original mouse replaced by a kitchen knife, so cut up to be enjoyable: Using Math.ramdon () and mask technology allows puppies to randomly draw the current hole. The final score is displayed in an input text box, as shown in Figure 1.

Game Play Method:

The game is very simple to play, I believe most readers should know. is to move the mouse first to the puppy's head, and then the left mouse button, hit the puppy on the score, otherwise it is divided into 0. The significance of playing this game is to see who can in a certain time limit, get the most scores, to test who mind the most block, who operates the most flexible mouse.

Game definition:

Before you design a game, there are a number of questions to consider, the formation of the game environment, the creation of rules, and how to write the code for the game. But luckily, the game of playing the puppy (mouse, etc.) is not defined as complicated.

1. Game environment. The first thing to consider is what kind of environment the game is in. This is the key part of implementing a simple sequential game. In this game, a random way to let the puppy appear, which ensures that the game can play. For the game, the play is very important, there is no play game is not a player to play the second time.

2. Control method. How the player controls the role in the game, whether the operation is convenient or not determines the game's play. We can set up a lot of behavioral methods to control the movement of the protagonist of the game. In this game, the main is to allow the player to control the mouse freely.

3. The game is over. One of the hardest things in the game is to decide whether the game is over or not. When the game is running for a while, the game stops and displays the player's final score in the dynamic text.

Game production:

Open Flash MX, set the scene size to 400pxx360px, the background color is #006699, frame frequency is 15fps. In the game before the production, in order to let everyone have a sense of the whole, and in the future design to do know, so the author in the game design before making people see the main scene of the game between the middle and frame structure relationship. As shown in Figure 2.

Figure 2

Figure 1

Source file Download: Click here to enter the download page

Game Overview:

In flash games, playing puppies (mice, etc.) is a relatively basic game. If you are interested in Flash game design friends, want to learn how to use Flash to make a game of friends, you can learn the production of this game well. Because the game is used in a number of basic, fundamental and commonly used ActionScript scripting language. In addition, we can learn from the Flash game planning, design to the completion of some concepts, methods and skills and other knowledge.

Game principle:

First of all, the game through StartDrag (), Mouse.hide () to change the hidden original mouse, the original mouse replaced by a kitchen knife, so cut up to be enjoyable: Using Math.ramdon () and mask technology allows puppies to randomly draw the current hole. The final score is displayed in an input text box, as shown in Figure 1.

Game Play Method:

The game is very simple to play, I believe most readers should know. is to move the mouse first to the puppy's head, and then the left mouse button, hit the puppy on the score, otherwise it is divided into 0. The significance of playing this game is to see who can in a certain time limit, get the most scores, to test who mind the most block, who operates the most flexible mouse.

Game definition:

Before you design a game, there are a number of questions to consider, the formation of the game environment, the creation of rules, and how to write the code for the game. But luckily, the game of playing the puppy (mouse, etc.) is not defined as complicated.

1. Game environment. The first thing to consider is what kind of environment the game is in. This is the key part of implementing a simple sequential game. In this game, a random way to let the puppy appear, which ensures that the game can play. For the game, the play is very important, there is no play game is not a player to play the second time.

2. Control method. How the player controls the role in the game, whether the operation is convenient or not determines the game's play. We can set up a lot of behavioral methods to control the movement of the protagonist of the game. In this game, the main is to allow the player to control the mouse freely.

3. The game is over. One of the hardest things in the game is to decide whether the game is over or not. When the game is running for a while, the game stops and displays the player's final score in the dynamic text.

Game production:

Open Flash MX, set the scene size to 400pxx360px, the background color is #006699, frame frequency is 15fps. In the game before the production, in order to let everyone have a sense of the whole, and in the future design to do know, so the author in the game design before making people see the main scene of the game between the middle and frame structure relationship. As shown in Figure 2.

Figure 2

Original address: http://soft.zol.com.cn/41/419500.html Hint: Try "←→" can be quickly page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.