Tuesday, December 13, 2005

[Experiment] Pong, bouncy area.

It's really been so long since i've posted any tutorial, been busy lately, but still i've been experimenting with various scripts, and gladly that i finally understood little bits of it.

Below is one of the script i want to share, although it's not optimized and finished yet, it simulates a pong game,where you can set the boundaries and let it bang on the wall, but one thing, i've yet to discover, to make the ball has a velocity and slows down on every hit on the wall.


[Download FLA]

*Update 20th December 2005, improved the engine, with the ball that has speed, but it's still far buggy than complete. Because if you try to release the ball with a faster speed, it'll run away from the stage. Lol.

No comments: