LogoLogo
  • Home
  • Projects
  • About
  • Contact

Quick QuickBox2D Tip – Runtime Skinning

by Devon O.· December 31, 2009· in Actionscript· 5 comments
Been playing around a quite a bit with QuickBox2D lately (check out my last post for one example), and have been loving it. One of the coolest features I’ve found so far is being able to easily skin QuickObjects by just specifying a DisplayObject class as the skin property of the QuickObject’s params object. The one drawback to this feature is that the you can’t simply use a Sprite or MovieClip instance as the skin – you have to use the actual class. The bad part of this is that you’re limited at runtime to what you can use as a skin. Say for example you want to let your users draw their own boxes or you want to use a webcam shot as I did in my little game. Well, though this may be obvious to most folks, the quick tip is this: The skin of a QuickObject can be referenced with the userData property. To create a custom skin at runtime, all you have to do is add a child to the current skin of the QuickObject instance with: someQO.userData.addChild(someDisplayObject); One gotcha to watch out for is that by default, the skin is scaled to the dimensions of the […]
Read More

Heads Will Roll

by Devon O.· December 29, 2009· in Actionscript, Flash· 8 comments tags: 2d physics, physics, quickbox2d
A little year end 2D physics fun. Just allow web cam access and use your arrow keys to balance heads on a platter. Kinda like being King Herod without all the mess.
Read More

Christmas Ought 9

by Devon O.· December 25, 2009· in Life· 2 comments tags: christmas
A little offtopic, but I thought I’d spread a little season cheer around with some Christmas photos taken by my wife… Merry Christmas All!
Read More
Devon O. Wolfgang

AIR | Unity3D | AR/VR

Unity Certified Developer

Technical Reviewer of “The Essential Guide to Flash CS4 AIR Development” and “Starling Game Development Essentials”

Reviewer of “The Starling Handbook”

Unity Engineer at Touch Press.

Categories
  • Actionscript (95)
  • AIR (16)
  • Flash (99)
  • Games (7)
  • Liberty (13)
  • Life (53)
  • Shaders (20)
  • Unity3D (21)
Recent Comments
  • MainDepth on Unity Ripple or Shock Wave Effect
  • Devon O. on Unity Ripple or Shock Wave Effect
  • Feral_Pug on Unity Ripple or Shock Wave Effect
  • bavvireal on Unity3D Endless Runner Part I – Curved Worlds
  • Danielius Vargonas on Custom Post Processing with the LWRP
Archives
  • December 2020 (1)
  • December 2019 (1)
  • September 2019 (1)
  • February 2019 (2)
  • December 2018 (1)
  • July 2018 (1)
  • June 2018 (1)
  • May 2018 (2)
  • January 2018 (1)
  • December 2017 (2)
  • October 2017 (1)
  • September 2017 (2)
  • January 2017 (1)
  • July 2016 (1)
  • December 2015 (2)
  • March 2015 (1)
  • September 2014 (1)
  • January 2014 (1)
  • August 2013 (1)
  • July 2013 (1)
  • May 2013 (1)
  • March 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • September 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (1)
  • December 2011 (2)
  • October 2011 (3)
  • September 2011 (1)
  • August 2011 (1)
  • July 2011 (1)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (1)
  • February 2011 (1)
  • January 2011 (2)
  • December 2010 (3)
  • October 2010 (5)
  • September 2010 (1)
  • July 2010 (2)
  • May 2010 (5)
  • April 2010 (2)
  • March 2010 (7)
  • February 2010 (5)
  • January 2010 (5)
  • December 2009 (3)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)
  • June 2009 (2)
  • May 2009 (6)
  • April 2009 (4)
  • March 2009 (2)
  • February 2009 (4)
  • January 2009 (1)
  • December 2008 (5)
  • November 2008 (2)
  • September 2008 (1)
  • August 2008 (6)
  • July 2008 (6)
  • June 2008 (9)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (4)
  • February 2008 (9)
  • January 2008 (7)
  • December 2007 (6)
Copyright © 2021 Devon O. Wolfgang