..Something.

by bradsedito
♥0 | Line 13 | Modified 2012-06-05 22:45:49 | MIT License
play

ActionScript3 source code

/**
 * Copyright bradsedito ( http://wonderfl.net/user/bradsedito )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/z1ot
 */






package 
{
    import flash.display.*
    import flash.events.*
    import flash.geom.*
    import flash.ui.*
    
    
    public class FlashTest extends Sprite 
    {    
        
     
     
        public function FlashTest() 
        {
            // ENTRY POINT:
            /*
            
            Let's create real, true, logical non-cookie cutter raw-dog gravity math.
            Okay.
            
            What *is* gravity?
                [ F=mg ], or, 
                Force = mass*gravity, where gravity (g) is the acceleration (a) of gravity directed downwards.
            What is acceleration?
                F=ma, or, a=F/m
            Okay, so F=mg, and F=ma, wtf?
                If F equals both, we can set them equal to eachother:
                [ mg=ma ]
                ..and if gravity (g) is the accel (a) downwards, then we can say:
                [ F=m(F/m) ]
               ...and so on.
               
            So we can see we need 3 variables for force and vectors;
               var _gravity:Number
               var _mass:Number
               var _accel:Number
               var _F:Number 
                
                
            
            There's 3 dimensions, XYZ.
            
            
            */
            
        }
    
    
    }
}