Digging into the Microphone in Flash Player 10.1
One of the big (well, maybe it wasn’t all that big, but it was interesting) announcements of the 10.1 Flash Player was its ability to access detailed sound data from the microphone in the same way you can access mp3 data now. Until now, microphone access has been limited to volume. With the 10.1 player […]
Game Timer Download
Just playing around with an idea for a game timer and thought I’d share the results for anyone who might need something similar. Basically, this is just an ‘odometer’ style scrolling number thing that counts down from a specified number of seconds to 0. It only allows 2 digits, meaning you can only count down […]
Quick QuickBox2D Tip – Runtime Skinning
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 […]
Heads Will Roll
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. [kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://blog.onebyonedesign.com/wp-content/uploads/2009/12/heads.swf” width=”500″ height=̶
Spirography
My wife mentioned something about Spirographs yesterday, so I thought “hey – why not make one in actionscript”. Two seconds of googling found the formulas I was looking for (as well as a nifty java example), and about 10 minutes of coding had something up and running in Flash. Play around with the sliders and […]
Real Drawing to Augmented Reality
Augmented reality may prove to just be a flash in the pan trend in the Flash world, but let’s face it – it’s fun. So, that in mind, here’s a little something I was just fiddling around with: a small app that takes an actual drawing (as in pen and paper – you know – […]
3D Scanner (Kinda Sorta)
When I saw a tweet from @drwoohoo with a link pointing to this page on how to build a 3d scanner, my first reaction was to jump up and ask the guys here at work where our projector was. Well, as it turns out, unfortunately, our projector has been either misappropriated or misplaced. Not to […]
A Little Metaball Action
And now for something completely different… The other day, for reasons I can’t even explain to myself, I googled for metaball examples. No real need, I just rather like the way they look, all blobby and stuff. Well, one of the first things to come up was this nifty example in Java by Gordon Williams. […]
PV3D Image Extrusion
You know, you’d think with all the 3D crap I’ve been playing with lately that I actually like the stuff. I’m really not that into 3D work in Flash. I just had to try out Augmented reality when it first came around and seemed to get sucked into it all. I guess it really is […]
Away3D + QuickBox2D (Finally)
I’ll be the first to admit, I’m no 3D programmer – but whenever I needed it in Flash, I just used Papervision3D. It seems the default standard these days and the amount of available information, documentation, and tutorials seems endless. For quite some time though, I’ve been wanting to try out Away3D. The folks who […]
Gone Bowling
Just finished work on a simple little bowling game using the JiglibFlash physics engine and Papervision3D. It’s not a fully functional game as there are no frames or score keeping, but it was made as an example file for a tutorial so was deliberately kept simple. To play, first click on the little green rectangle […]
Flocking (Steering Behaviour) in 3D
So I just got my grubby little paws on Keith Peters’ latest book, “Advanced Actionscript 3.0 Animation”. I couldn’t even get past chapter 2 before I had to try out some stuff on my own. Chapter 2 is all about steering behaviours for AI animated movement. If you’re not familiar with the concept of steering behaviours, […]
JiblibFlash + Augmented Reality (Take Three)
Well here’s one more take. Now there’s two levels – you’ll bounce back and forth between them as you get through each maze. I made everything a bit smaller which improves cpu usage and also makes it easier to see. Also (hopefully) fixed it so that it will be viewable on Macs (Don’t know why […]
Jiglibflash + Augmented Reality (Take Two)
Finally had a bit of time to play some more with this combination of the jiglibflash physics engine and augmented reality and thought it was time to post. Use this marker to check out the example below. You can work the ball through the maze by actually tilting the marker paper around. It can be […]
Jiglib + Augmented Reality : Playing with Balls
So I was playing around with the JiglibFlash Physics engine in augmented reality the other day and thought to myself, “Self, wouldn’t it be just the bees knees if you could actually control the movements of your little 3D world items by just moving around the Augmented Reality marker paper thing you’re holding in your […]
Save/Retrieve ByteArrays to/from Database via AMFPHP
Probably old hat to many folks, but I had to do a bit of googling yesterday to figure this one out and thought I’d write it down lest I forget it all again. The first gotcha to watch out for (the one that got me, anyway), is making sure that AMFPHP is encoding in AMF3. […]
Quick Morse Code Generator
In honor of Samuel Morse’s birthday, thought I’d throw out this quick little “tool”. Now, back to work… package com.onebyonedesign.extras { import flash.utils.Dictionary; /** * Converts strings of letters and numbers to Morse code. * @author Devon O. Wolfgang */ public class Morse { private var _morseDict:Dictionary = new Dictionary(); pu
JG Ballard in Augmented Reality
Well, I figured it was high time to jump on board the augmented reality train. All the examples I’ve seen have just been amazing and I had to find out for myself just how difficult it was. Turns out, it’s remarkably simple. For the subject matter, I turned to the recently deceased J. G. Ballard. […]
Social Bookmarking from Flash or Flex
Seems one of the things I’m asked to do fairly often is provide links to the social apps that all the kids are crazy about these days. Tired of constantly having to rewrite script or look up an api call, I figured I’d sit down and begin accumulating all the basic calls in one handy […]
CSS Background-Color && Flash TextFields
So, the other day I needed to add a background color to a TextField in Flash. I don’t mean a rectangular area of color such as the backgroundColor property of a TextField would produce, but irregularly sized rectangles that varied by the width of each line of text in the dynamic TextField. Basically, I needed […]