Login
Search
Categories
Vote!
Loading ...Twitter
Archives
- September 2011 (1)
- August 2011 (2)
- July 2011 (7)
- June 2011 (6)
- May 2011 (4)
- April 2011 (8)
- March 2011 (7)
- February 2011 (4)
- January 2011 (5)
- December 2010 (5)
- November 2010 (3)
- October 2010 (6)
- September 2010 (9)
- August 2010 (3)
- July 2010 (2)
- May 2010 (1)
- April 2010 (4)
- February 2010 (1)
- November 2009 (1)
- October 2009 (2)
- August 2009 (3)
- July 2009 (4)
- June 2009 (1)
- March 2009 (1)
- January 2009 (1)
- December 2008 (1)
- November 2008 (1)
- October 2008 (1)
- September 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
- April 2008 (1)
- March 2008 (1)
- February 2008 (1)
- January 2008 (2)
- December 2007 (1)
- November 2007 (2)
- October 2007 (1)
- September 2007 (4)
- August 2007 (4)
- July 2007 (4)
- June 2007 (5)
- May 2007 (4)
- October 1982 (1)
Category Archive: Toys
Subcategories: No categories
Planet Burster
Planet Burster! Defend your planet form spontaneously appearing planets. This is another Flash experiment for the mobile platform. This time it’s to test the touch functionality of the phone and how to detect and use touch events.
If you have an Android phone with flash installed you should be able to play with this little toy by simply navigating to the following link using your phone’s web browser:
http://www.lostvectors.com/mobile/test6/
Note: this toy also works with the desktop because it detects whether or not to use touch inputs or mouse.
How to play:
Press or click anywhere on the screen, drag, then release. The velocity is fixed, so the dragging only effects the angle (the length of the drag line does not matter, except that you might find it easier to aim the longer the line is).
Technical Features:
Random Planet Generator: I used a set of layered clips to accomplish this effect. Layers: Ocean, Continents, Clouds, Polar Caps, Shading. The ocean, continents, and clouds have random color transformations and filters applied to get the random colors. I manually drew a set of continents in a long strip and then offset the strip and mask it using a circle outline of the planet (same for the polar caps and clouds). Just a few simple tricks and I get some pretty cool looking random planets. Some of the random planets look weird but occasionally they are very interestingly color coordinated.
Planet Burst Effect: This was also a major technical milestone that I’ve been working on in a different project that I integrated into this demo. I was inspired by the Tron Movie character death effects: how they broke up into a bunch of cubes. After studying and experimenting with the Bitmap, BitmapData and Matrix classes I was able to achieve cool burst effect. Many developers before me have already figured this stuff (the Bitmap and BitmapData classes have been out for some time now), but it was cool to finally get around to playing with these classes.
Screen Layout Autosize: If you rotate your phone the screen will automatically adjust. This toy will work on any screen size (it is not biased towards a particular phone).
Jack-o-Lantern Maker
Here’s a draft version of a Jack-o-Lantern Maker I made. I’m still adding to it. I will be adding more shapes soon. Stay tuned. Let me know what you think in the comments.
Controls:
Click and drag an item from the right side to the left side of the screen.
Click on a mode button along the bottom to change the mouse tool mode. To use a tool, click on the tool button then click on the piece you want to manipulate with that tool.
Tool modes (from left to right):
1. Drag Piece (click-hold-release)
2. Rotate Piece (click-hold-release)
3. Scale Piece (click-hold-release)
4. Flip Horizontal (click to toggle)
5. Flip Vertical (click to toggle)
6. Delete (click to delete)
Independence Day
Happy Fourth of July! Enjoy fireworks responsibly. Try out my safe alternative by clicking on my new fireworks toy!

