- Tweet

Categories
Recent Posts
Popular Posts
Box 2D 2.1a Cannon Game – Part 3. The complete game source 19 comment(s)
Making An AS3 Game in Box2D Flash – version 2.1a – Hello World Box2D 14 comment(s)
Super-fast scrolling of huge Bitmaps 14 comment(s)
Making A Like-Gate For A Facebook Fan Page 11 comment(s)
Making An AS3 Game in Box2D Flash – version 2.1a – Part 2. Ball Cannon Game 9 comment(s)
Blogroll
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- August 2009
- June 2009
- May 2009
- February 2009
- January 2008
Popular tpics
3D 8-bit achievements actionscript advergame android as3 away3d Billiard Physics bitmap collision bitmapdata bitmap effects Blender Box2D client work collision detection cuepoints design patterns easter eggs entertainment Flare3D flash games flv game Games konami code macgruber MD2 mochi mochiads movie games movies OOP pandorum particles puzzle games SAT Separating Axis Theorum shooting games Stage3d state machine Tutorials vector2D vectors video games
Tag Archives: actionscript
10 Ways to Write Awful Code in AS3.
“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.“ - Martin Golding Sometimes people ask me, “Zach? My code is too easy to read and maintain. Nobody appreciates … Continue reading
Posted in Opinion, Tutorials
Tagged actionscript, as3, bad code, best practices, humor, top 10
7 Comments
Flipping A BitmapData Image
Here’s a handy code snippet for flipping the pixels of a bitmapdata, and ending up with a new bitmap data that is the mirror image of the original. function flipBitmapData(original:BitmapData, axis:String = "x"):BitmapData { var flipped:BitmapData = new BitmapData(original.width, original.height, … Continue reading