PDA

View Full Version : Pong game tutorial



wildteen88
May 18th, 2005, 12:09 PM
Hi all! I have just recently read the pong tutorial in the actionscript section. I would like to thank the the person or person's that developed the tutorial as it was written well.

Now my question is this, I have modified the game slightly so I have got a start and restart page, the start page is just to start of the game and a few instructions and the 2nd frame which is the restart page will have "Game over" and then a restart button, which I have done.

The problem is this I have added this snippit: gotoAndStop(2) code to the end of the endGame() function. So now when the player runs out of lives or finishes the game, the game over screen will appear.

But it isn't displaying correctly, as it shows the Game Over screen but it has all the bricks over the top of it. How would I stop it from doing this.

Thanx for helping.

wildteen88
May 20th, 2005, 07:52 AM
Does any one know? why or have any suggestions, it would be nice to get some feedback on my problem. 23 views, okay 5 the views is me viewing the post, so 18 views and no replies.

Does anyone know how I could get in contact by PMing or emailing the author of the pong game of my problem thanx.

The tutorial I'm refering to is this:
http://www.kirupa.com/developer/actionscript/pongout.htm

Thanx, sorry if I sound impatient or rude but I don't like it when no one seems to want to reply to any of my posts.

Cybernoid
May 20th, 2005, 08:37 AM
You need to remove the tiles with removeMovieClip("movie_clip_name"); Just check what's the name of the movieclip holding the tiles and remove them from the stage.

wildteen88
May 20th, 2005, 12:51 PM
Thank you, Cybernoid for your help, I swear I must of used removeMovieClip() function, unless I may have mistyped it.

Thanx again.