First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Oscar Gálvez

First of all, we’re 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 don’t 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: 4.93 Votes: 61
» Author
I like to make any kind of games.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.