Scripts, Tools & Methods Developed at Hook
42 Posts since November, 2009
AS3: Download Library Download Full Example Download Documentation AS2: This version is a bit crippled due to the fact that we can’t get a direct stack trace from the Error class. For A specific list of missing features, please see the bottom of this post: Download AS2 Library Download AS2 Full Example Ok, I’ll be [...]
Kutout is an as3 (Actionscript 3) open-source library and sample application for image extraction and object extraction from images in Flash. The methodology behind the approach was taken from the java implementation of a pre-existing open-source solution called SIOX (Simple Interactive Object Extraction).
Different Approaches to Simulate Motion Blur in Flash A better title for this set of experiments would be “The art of making things smudgy in Flash”. Since that is basically what we are doing here. The retina works a bit like the film in a traditional camera. Light energy comes in, stimulates part of the [...]
Recently, I was having a weird issue with shading flickering while working on a project with Away3D. I wanted to use basic lighting with the WhiteShadingBitmapMaterial class.
In my last post I went over basic velocity-less integration and constraint systems to create some simple and easy inverse kinematic dynamics. Before moving on to more complicated fair like rigid bodies and particle systems from that groundwork, I wanted to try and apply those basic principles to something a little more tangible. After all, [...]
Have you ever looked at yourself in the mirror and said that Flash Player 9′s 3D options are just as great as those available in Flash Player 10? No. That’s because you would never do that. Never.
In the world of Flash Player 9, you aren’t given too many 3D options. Papervision and Away3D. Those two seem to be the most stable and full-featured. How do you rotate an object to a particular rotation over time? When integrated with a physics engine (I was using JigLib), this isn’t so simple. Both engines have a great lookAt() method that will rotate your object in a particular direction, however I wanted to do this gradually, not instantaneously.
If you’ve ever worked on any client projects requiring ‘realistic’ or ‘real-world’ physics, you’ve probably found that their idea of realistic differs wildly from the physics resultant from the Big Bang. Likewise with games, its often enough and even better to convey the feel of physics rather than running a precise simulation. After all, you [...]