[AS 3] Squishing Effect
1 comment so farSo Gahlord from over at www.n0d3.org has been wanting to see a squishing effect applied on an object (ball) upon a collision (right wall). Below is a simple animation to demonstrate. The effect can be influenced by changing the objects mass as it calculates the spring distance.
Squishing effect:
Here is [...]
[AS 3] Keyboard Events with Acceleration
No commentsHere is just a simple interactive animation. You can control the wheel with your left and right keys. When the object is off the screen, it will wrap around to the other side. You can view the project here in a new window, click the flash movie to activate.I created a new wheel class that [...]
[AS 3] Bouncing Balls with Collision Detection within Bounds
4 comments so farSo, just playing around for now. Here is just some code where you can hardcode in the number of balls to animate within the stage area. You can also change the bounding area, with a few more variables, so the balls will be contained. This may serve as a little groundwork for a simple interactive [...]