First of all, were going to draw the room:
-Draw two lines, each from corner to corner and intersect them in the center, like an X.
-Draw a horizontal line in the lower part of the room at 312 pixels from the _y origin an another on the 90.
-Now, draw a vertical line in the 122 and 427 pixels from the _x origin.
-Paint it like you want.
Now, we are going to draw the a ball of 60 pixels of width and height. Draw a the shadow of the ball, of 80 pixels of width and height. Draw the one that is going to be your pointer or cursor.
Now, make this three objects a movie clip each one.
Name the objects with the following distances:
The ball: ball
The shadow: shadow
The cursor: mmouse.
Create three dynamic text boxes. Name the first mscorei, the second scorei and the third secsi.(I had other variables with the same name so I added an i to the end of each one.) You will have to import two sounds; One for the hit of the ball in the ground and walls, and other for the goal sound (If you dont want to, delete all the sound actions in the actionscripting I will write later ). Now in the linkage options of each sound on the library name the first hit, and the other one, goal.
| » Level Intermediate |
|
Added: 2003-06-02 Rating: 5 Votes: 60 |
| » Author |
| I like to make any kind of games. |
| » Download |
| Download the files used in this tutorial. |
| Download (878 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!