<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5675860421138536792</id><updated>2011-10-01T13:30:43.640-04:00</updated><title type='text'>It Doesn't Have to DO Anything...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>71</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-8310432717409835336</id><published>2011-04-27T22:52:00.000-04:00</published><updated>2011-04-27T22:52:37.267-04:00</updated><title type='text'>Redirect!</title><content type='html'>Hi everybody! While I've really enjoyed my time here on Blogger, I've been really thinking about moving on over to WordPress. Also, it's become very apparent that a 100% Flash site is NOT the way to go, and so &lt;a href="http://www.coreyscallahan.com/"&gt;www.coreyscallahan.com&lt;/a&gt; has been merged into what this blog was.&lt;br /&gt;&lt;br /&gt;In short, the new &lt;i&gt;It Doesn't Have to DO Anything &lt;/i&gt;will still be the place I post new, random Flash doodles, but you'll also find a highlight reel of sorts showcasing my favorite entries from this blog, as well as a few other projects I've done.&lt;br /&gt;&lt;br /&gt;So enjoy the new and improved site! And so long, Blogger!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-8310432717409835336?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/8310432717409835336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/04/redirect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8310432717409835336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8310432717409835336'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/04/redirect.html' title='Redirect!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4498009909171097476</id><published>2011-04-20T22:48:00.002-04:00</published><updated>2011-04-20T23:29:40.531-04:00</updated><title type='text'>Zounds!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.coreyscallahan.com/blogStorage/SoundRing/soundRing_01.swf" type="application/x-shockwave-flash" width="300"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.coreyscallahan.com/blogStorage/SoundRing/soundRing.html"&gt;Large version (recommended).&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This here's my step into the wonderful world of sound visualizations! What you're seeing is basically the raw data of an .mp3 file. You've probably seen waveforms like this:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.syncsonics.com/blog/wp-content/uploads/2007/09/waveform.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="198" src="http://www.syncsonics.com/blog/wp-content/uploads/2007/09/waveform.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;This is using the exact same type of data. Basically, each little "slice" of the waveform is a value between 1 and -1. That value is then amplified (if we didn't, the visualization would just look like a little cluster in the center of the screen) and then positioned based on the sin and cos of that value. Imagine a sound wave like the above, but curled around into a circle - that's what this is!&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I'm also using the &lt;a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html"&gt;BitmapData&lt;/a&gt; object in Flash, which is a very nifty tool to check out. With it, many advanced effects can be created (such as the more detailed glow seen above). Anywho, hope you enjoy!&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;By the way, my song choice in this was something I dwelled on for a bit. Certain sounds show up much better in the visualization. Specifically, simple songs with long, constant tones, seem to show very cool geometric patterns. Louder, multi-layered songs tend to cause such complex waveforms that the visualization winds up looking like static. I'm particularly happy with the 6th song above ("Don't Let Us Get Sick" by Warren Zevon).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4498009909171097476?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4498009909171097476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/04/zounds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4498009909171097476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4498009909171097476'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/04/zounds.html' title='Zounds!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3192907987573100910</id><published>2011-03-30T22:57:00.001-04:00</published><updated>2011-03-30T22:58:54.781-04:00</updated><title type='text'>Twinkle</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="304" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/twinkle.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/twinklingLights.html"&gt;Large version.&lt;/a&gt; (note that this is the same size but it will load in its own window)&lt;br /&gt;&lt;br /&gt;Nope, I don't really know what this is either. I've just been sorta "doodling" out little things in Flash lately. This was going to be a checkerboard style grid of blocks that would grow and shrink randomly. I finished that up, but felt I'd push it in a slightly...blurrier direction. Not that the first thing didn't look cool, but I think this result is more indicative of what the program wanted to be in the first place.&lt;br /&gt;&lt;br /&gt;Also note that the colorization is random every time (though one checkerboard grid will always be a shade of blue - I'm not sure why I chose to do that, but I think it has something to do with wanting SOME standardization to it).&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3192907987573100910?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3192907987573100910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/03/twinkle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3192907987573100910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3192907987573100910'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/03/twinkle.html' title='Twinkle'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3116548779419768737</id><published>2011-03-21T22:03:00.000-04:00</published><updated>2011-03-21T22:03:20.789-04:00</updated><title type='text'>Scraps</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/fallingBoxes.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/fallingBoxes.html"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sometimes I randomly poke around on my external drives and find little scrap bits of projects I started and never finished. Or maybe they were just little bits that I didn't find interesting enough to post up on the blog. This was one of those measly little bits that caught my eye the other day. I spent a little time polishing it up - it's still nothing mind-shattering, but hey...it's something! It's &lt;i&gt;GOOD&lt;/i&gt; to create!&lt;br /&gt;&lt;br /&gt;Anywho, stick around and watch it - it will clear itself once the boxes reach the top. Oh, and if you're lucky, you may even be greeted by a special someone! OOH! Marvelous!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3116548779419768737?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3116548779419768737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/03/scraps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3116548779419768737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3116548779419768737'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/03/scraps.html' title='Scraps'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4314910204352009839</id><published>2011-02-26T15:46:00.004-05:00</published><updated>2011-02-27T19:13:24.289-05:00</updated><title type='text'>Ohhhhh...shiny and glowy!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="400" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/flintFlurry02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/flintFlurry02.html"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Mmm...delicious delicious &lt;a href="http://flintparticles.org/"&gt;Flint Particle System&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4314910204352009839?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4314910204352009839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/02/ohhhhhshiny-and-glowy.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4314910204352009839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4314910204352009839'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/02/ohhhhhshiny-and-glowy.html' title='Ohhhhh...shiny and glowy!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-27879299983135041</id><published>2011-01-03T23:53:00.000-05:00</published><updated>2011-01-03T23:53:15.323-05:00</updated><title type='text'>Quivering Lines</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/quiveringLines.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/quiveringLines.html"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Another end of break, random Flash doodle.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-27879299983135041?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/27879299983135041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/01/quivering-lines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/27879299983135041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/27879299983135041'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/01/quivering-lines.html' title='Quivering Lines'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6312215625807880668</id><published>2011-01-02T18:49:00.002-05:00</published><updated>2011-01-02T18:50:40.711-05:00</updated><title type='text'>Glowy!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/randomLines_externalAS.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/glowBars.html"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The blog lives yet! I suppose. Well, this does a whole lotta nuffin', but I think it looks pretty nifty.&lt;br /&gt;&lt;br /&gt;Click anywhere in the .swf to swap out a new random set of glowing bars.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6312215625807880668?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6312215625807880668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/01/glowy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6312215625807880668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6312215625807880668'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2011/01/glowy.html' title='Glowy!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4481853421139017246</id><published>2010-11-09T22:27:00.005-05:00</published><updated>2010-11-09T22:58:23.596-05:00</updated><title type='text'>It's Alive!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/eco.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/eco.html" target="_blank"&gt;Large version (opens in a new window)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's alive! The blog, that is. After a long absence from the blogosphere (Ooh, how Web 2.0 of me!), the urge to program a wonderful little "do nothing" has overcome me. So here you have the very earliest skeleton of a virtual ecosystem. It's not much yet; mainly just little digital Roombas sucking up bits of "food" in order to survive. &lt;br /&gt;&lt;br /&gt;At this point, we've got some slight randomization of body size (which determines how fast energy depletes), random move speed and turn times, and random lines of sight. I'm really hoping this turns into a fun little thriving ecosystem with births, species shifting, and a rudimentary idea of how natural selection works. That little countdown on each green harvester is how much energy it has left. The food replenishes itself every couple of seconds and it provides a random amount of energy to the harvesters based on size. You can click the blue "Add Harvester" button to throw another random harvester into the mix.&lt;br /&gt;&lt;br /&gt;Inspiration came from a few things, but foremost in my mind is Larry Marder's &lt;a href="http://larrymarder.blogspot.com/"&gt;"Beanworld"&lt;/a&gt;, with its simple yet charming circle of life. Well, here's hoping this little nugget turns into something fun to watch!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4481853421139017246?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4481853421139017246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/11/its-alive.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4481853421139017246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4481853421139017246'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/11/its-alive.html' title='It&apos;s Alive!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4835374957426732969</id><published>2010-06-17T21:23:00.003-04:00</published><updated>2010-06-17T21:29:02.622-04:00</updated><title type='text'>More Doodling...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/doodles/pixelBuster.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.coreyscallahan.com/blogStorage/doodles/pixelBust.html"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hrm...&lt;br /&gt;&lt;br /&gt;EDIT: How interesting! Originally the boxes were getting stuck halfway down the screen. They are meant to check if they're at the stage's height (though I did account for the height of the box). In this case, the stage is 600 px high. But the embedded .swf is resized to 400 x 300. The .swf seems to have gotten its bounds set as 400 x 300, but still saw half the .swf height as...300!? Bizarre! Easily fixed with hardcoding the y&gt;600, though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4835374957426732969?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4835374957426732969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/more-doodling.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4835374957426732969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4835374957426732969'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/more-doodling.html' title='More Doodling...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6392643598731161262</id><published>2010-06-15T15:47:00.000-04:00</published><updated>2010-06-15T15:47:08.879-04:00</updated><title type='text'>Sometimes...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/doodles/rotatingPetals.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.coreyscallahan.com/blogStorage/doodles/petalDoodle.html"&gt;Large version.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6392643598731161262?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6392643598731161262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/sometimes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6392643598731161262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6392643598731161262'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/sometimes.html' title='Sometimes...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2889460655012811174</id><published>2010-06-13T15:53:00.000-04:00</published><updated>2010-06-13T15:53:12.945-04:00</updated><title type='text'>Alternate Tribes</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/scraps/tribes/tribesLoaderAlt.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/scraps/tribes/tribesAlt.html"&gt;Full version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's an alternate version of the Tribes piece. Different music, the tribe members now smile as they play louder, and an issue was fixed where if you grabbed a tribe member when it was in the center, it was possible to have him get "stuck" on your cursor. This was due to the fact that a shrinking tribe member could potentially get away from your mouse cursor. No contact with the cursor means no mouse release!&lt;br /&gt;&lt;br /&gt;On a side note, I'm more than happy to make more alternate versions if people have suggestions or want to submit 8-16 track compositions (in .wav format if you please).&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;“What should young people do with their lives today? Many things, obviously. But the most daring thing is to create stable communities in which the terrible disease of loneliness can be cured.” - Kurt Vonnegut&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2889460655012811174?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2889460655012811174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/alternate-tribes.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2889460655012811174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2889460655012811174'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/alternate-tribes.html' title='Alternate Tribes'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5135457638365692569</id><published>2010-06-12T18:20:00.001-04:00</published><updated>2010-06-12T18:20:36.529-04:00</updated><title type='text'>Tribes</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/scraps/tribes/tribesLoader.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/scraps/tribes/tribes.html"&gt;Full version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, I've been tweaking and tweaking this thing. Here's my first acceptable version of it. This is essentially a little piece influenced by some recent conversations I've had about music and and culture differences. The original idea was to have 4 "tribes" each playing a very definite style of music. On their own, they sound wonderful - but even as each tribe intermingles with other tribes, the music STILL sounds good! Now unfortunately, I'm at the mercy of Apple's built-in GarageBand loops as my own musical skills are, while existant, not up-to-par for a project like this. However, I do plan on revisiting this and tweaking the music. For now, though, enjoy the festive sounds of Latin Music!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5135457638365692569?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5135457638365692569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/tribes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5135457638365692569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5135457638365692569'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/tribes.html' title='Tribes'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4993481258489097575</id><published>2010-06-04T22:03:00.002-04:00</published><updated>2010-06-04T22:06:22.572-04:00</updated><title type='text'>Faux-3D Wire Sculptures</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/morphCurve3D.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/morphCurve3D.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;CLICK FOR A NEW CONFIGURATION&lt;br /&gt;&lt;br /&gt;Okay, I'm revisiting the curves again. Through a bit of an accident, I managed to create a faux-3D effect using some trig. What's going on is similar to the last curves expriment, only this time we're not randomizing the movement. Also, we're only moving points on the X-axis. Those points are moved by a sin of a steadily increasing number (.01 - interestingly, .1 created jittering line segments and .001 caused the figure to warp on the X-axis).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So WHY does it look 3D? I believe it has something to do with the sine wave having a pretty up close and personal relationship with the circle. &lt;a href="http://en.wikipedia.org/wiki/File:ComplexSinInATimeAxe.gif"&gt;Check this out&lt;/a&gt; for a graphic that illustrates this in 3D.&lt;br /&gt;&lt;br /&gt;I also slapped on a minimal drop shadow to give the lines some depth.&lt;br /&gt;&lt;br /&gt;Overall, I'm happy with this little mistake!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4993481258489097575?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4993481258489097575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/faux-3d-wire-sculptures.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4993481258489097575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4993481258489097575'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/faux-3d-wire-sculptures.html' title='Faux-3D Wire Sculptures'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3732719674628333508</id><published>2010-06-03T15:05:00.001-04:00</published><updated>2010-06-03T15:08:53.918-04:00</updated><title type='text'>Saxomophoooooone....saxomophooooone...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/soundThing.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/soundThing.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've been playing with the microphone. This is the "rough" version of what I want to do, and I expect the final to be quite different. So, enjoy! Make sure you have your microphone on - Otherwise, this would be rather boring...&lt;br /&gt;&lt;br /&gt;What we're doing here is having Flash interface with a microphone connected to the computer - it listens at the framerate (in this case, 31 frames per second) for external sounds. If it detects anything, it reads back a value greater than 0. By the way, -1 seems to be an inactive microphone, 0 is detecting no sound, and 1-100 is the sound level detected.&lt;br /&gt;&lt;br /&gt;Every frame, if we DO hear a sound, a circle is added to the stage which fades at a rapid rate, leaving a glowing impression on a BitmapData field. Adding a little more to it, louder sounds (which return larger activityLevel values) will generate larger circles. If the sound is over 1, we also swap out the color of the glows.&lt;br /&gt;&lt;br /&gt;So enjoy! Remember - turn your mic on!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3732719674628333508?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3732719674628333508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/saxomophoooooonesaxomophooooone.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3732719674628333508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3732719674628333508'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/06/saxomophoooooonesaxomophooooone.html' title='Saxomophoooooone....saxomophooooone...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2296857610507898410</id><published>2010-05-31T18:59:00.000-04:00</published><updated>2010-05-31T18:59:38.539-04:00</updated><title type='text'>can't let that glow go</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/rings.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;I am absolutely falling in love with the BitmapData glow! &lt;br /&gt;&lt;br /&gt;If the above is running a little slow, check out the large version in its own window &lt;a href="http://www.coreyscallahan.com/scraps/glowRings/rings.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;Download the .swf itself &lt;a href="http://coreyscallahan.com/blogStorage/rings.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If interactivity is more your thing, check out the clickable version &lt;a href="http://www.coreyscallahan.com/scraps/glowRings/rings_interactive.html"&gt;here&lt;/a&gt;. The standalone .swf is &lt;a href="http://www.coreyscallahan.com/scraps/glowRings/rings_interactive.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The reason I'm offering so many options is that yes, these ARE a little intensive on your computer. But when they flow smoothly, boy are they fun to watch...at least, I think so! Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2296857610507898410?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2296857610507898410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/cant-let-that-glow-go.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2296857610507898410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2296857610507898410'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/cant-let-that-glow-go.html' title='can&apos;t let that glow go'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-8789766243126689550</id><published>2010-05-29T17:29:00.001-04:00</published><updated>2010-05-30T15:15:18.340-04:00</updated><title type='text'>I've been playing with curves...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/morphCurve_acidV.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Specifically, I've been playing with how to animate curves and keep them random but smooth. This here's my second version. The original is below. A little less trippy...or at least a different trippy.&lt;br /&gt;&lt;br /&gt;OH, by the way. Click the above to change the color of the glow. Some glows are more powerful than others, so if you don't see much of a glow...click!&lt;br /&gt;&lt;br /&gt;&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/morphCurve.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;The bulk of this is done by connecting an array of points with Flash's curveTo function and then then slightly changing the curve values every frame. The top was made with a BitmapData field over the top to give that glow effect (&lt;a href="http://coreydoesnothing.blogspot.com/2010/05/sparklies.html"&gt;see 2 posts ago&lt;/a&gt;). As for the non-glowing version, I simply told the curves to fill in with a color. Since the points are intersecting all sorts of wobbly angles, you'll have some "negative" areas that won't be filled in, generating a nifty little checkerboard effect.&lt;br /&gt;&lt;br /&gt;UPDATE: Looking at this little project the day after the fact reminds me why I love doing this so much. I put a VERY slight offset in the curve points that are randomized. The curves work wonderfully to show how a small change can have a large impact. If the initial offset was too large, you'd see the curves jitter as they scramble to their new random point. With no offset, the curves would essentially loop indefinitely in the same pattern (I'm using sin to loop). This tiny tiny offset adds upon itself, so once through the sin period, it has altered ever so slightly. Given that there are....I think 50? points on each glob of curves, that winds making a whole new pattern EVERY time it cycles through! The odds of getting the same exact curve are next to nothing! Add to that the fact that there are really 3 individual continuous curve globs and you really won't see the same thing twice...fun!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-8789766243126689550?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/8789766243126689550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/ive-been-playing-with-curves.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8789766243126689550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8789766243126689550'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/ive-been-playing-with-curves.html' title='I&apos;ve been playing with curves...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7677749085128599405</id><published>2010-05-28T13:04:00.000-04:00</published><updated>2010-05-28T13:04:34.542-04:00</updated><title type='text'>Perlin Noise</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/perlinNoiseExp.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Okay, so messing about with BitmapData inevitably led to learning about Perlin Noise. Named for Ken Perlin, a VFX fellow, it is used to procedurally generate textures in an organic way. I'm still trying to wrap my head around how exactly to use it, but the above is my first baby step into transforming a Perlin field...next step is to apply that field to something else!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7677749085128599405?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7677749085128599405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/perlin-noise.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7677749085128599405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7677749085128599405'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/perlin-noise.html' title='Perlin Noise'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4360587516177360769</id><published>2010-05-27T15:12:00.000-04:00</published><updated>2010-05-27T15:12:06.520-04:00</updated><title type='text'>Sparklies!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/bitmapExperiment.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;No large version.&lt;br /&gt;&lt;br /&gt;Okay, so thanks to &lt;a href="http://theflashblog.com/?p=134"&gt;this&lt;/a&gt;, I feel I've gained a little knowledge in the world of the BitmapData class in Flash. And good god...if you want some absolutely stunning effects, learn more about it! What we've got here is essentially a Bitmap (literally a...map of bits...) that is showing off its pixel data (naughty!). Since this data is now available to us, we can manipulate it however we'd like. In this case, we're putting a little glow and blur filters on it. HOWEVER...the Bitmap that we've drawn on the stage is a solid rectangle. So why does that glow appear inside this rectangle? &lt;br /&gt;&lt;br /&gt;Enter the "draw" method of the BitmapData. See those little flickery particles? Those act as "holes" in the BitmapData. Every frame, Flash is redrawing that initial rectangle and taking a peek at what it looks like. If we have one of our particles over the rectangle, that rectangle isn't visible where the particle exists. So, as far as Flash is concerned there's nothing there. So we get a hole...a hole that can have a blur and glow filter applied to it! Nifty!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4360587516177360769?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4360587516177360769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/sparklies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4360587516177360769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4360587516177360769'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/sparklies.html' title='Sparklies!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5525542180990829727</id><published>2010-05-25T22:09:00.002-04:00</published><updated>2010-05-25T22:12:21.693-04:00</updated><title type='text'>It's almost like a fortune cookie...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/effinTwitter.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.coreyscallahan.com/portProjects/twitScrolls/twitScrolls.html"&gt;Large version - highly recommended.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Whee! Twitter API AWAY! I've spent a little while now trying to get an understanding of the Twitter API and integrating it with Flash. Turns out there are some nice resources out there on how to get it running, but the thing that gave me the most difficulty was learning how to deal with the incoming data (which is in the form of an Atom feed with the Search API).&lt;br /&gt;&lt;br /&gt;So...enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5525542180990829727?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5525542180990829727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/its-almost-like-fortune-cookie.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5525542180990829727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5525542180990829727'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/its-almost-like-fortune-cookie.html' title='It&apos;s almost like a fortune cookie...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2748372287938184277</id><published>2010-05-21T15:28:00.000-04:00</published><updated>2010-05-21T15:28:28.195-04:00</updated><title type='text'>Remember Populous?</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/isoDrag.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/isoDrag.swf"&gt;Large.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Man, Populous was fun...&lt;br /&gt;&lt;br /&gt;Anywho, what we have here is a fun little world-building tool in an &lt;a href="http://en.wikipedia.org/wiki/Isometric_projection"&gt;isometric view&lt;/a&gt;. Simply grab your parcel of land, and drag up and down to bring it up or down. While that panel is highlighted, use keys 1-8 on your keyboard to swap out different types of land.&lt;br /&gt;&lt;br /&gt;The wonderful thing about this, is how easy it is to change. I went with a Green Hill Zone from Sonic the Hedgehog for the design...because...well, it lent itself to it, I guess. Or maybe &lt;a href="http://www.mobygames.com/game/genesis/sonic-3d-blast/screenshots/gameShotId,33540/"&gt;Sonic 3D Blast&lt;/a&gt; really got wedged deep into my brain.&lt;br /&gt;&lt;br /&gt;Anyway, changing. If you want more land types, it's easy! I just need to draw it in an isometric view. No programming changes or anything. We could even adapt the programming to use multiple tilesets (say we allow the number keys to now change the FAMILY of tile, and repeated presses will cycle through different panels of that family).&lt;br /&gt;&lt;br /&gt;So, have fun. Build things!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2748372287938184277?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2748372287938184277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/remember-populous.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2748372287938184277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2748372287938184277'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/remember-populous.html' title='Remember Populous?'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6134840540261579976</id><published>2010-05-18T21:45:00.001-04:00</published><updated>2010-05-18T21:48:27.420-04:00</updated><title type='text'>Glowy Things</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/powerBall.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/powerBall.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's another "gotta make something" post. I'm actually pretty happy with the ethereal feel of it. Sort of ghostly, but not necessarily spooky. There are two elements at play here.&lt;br /&gt;&lt;br /&gt;1). Glow Filter. I talked about filters in the last post. This is just adding a glow filter via actionscript. I'm adjusting the strength of the glow with the second important element of this .swf.&lt;br /&gt;&lt;br /&gt;2). We're using TRIGONOMETRY again! Now, there are several ways to get the pulsing glow effect, but I thought about it...and...the &lt;a href="http://en.wikipedia.org/wiki/Sine_wave"&gt;sine wave&lt;/a&gt; came to my aid! If you're familiar with the sine wave, you know that it oscillates from a crest to a trough and continues this (think of a REALLY sloppy sideways "S" - that's pretty much a sine wave). Each of these full runs is called a period. So we have a curve that goes from n to 0 to -n and back to 0. Handy for a repetitive movement! I'm essentially feeding sin an increasing number (representing the x axis - in other words, we're moving RIGHT along the wave) and it's spitting back a stream of numbers that go uuuuuuup and back doooooooown and back uuuuuuup until we all vomit, we're so dang full of numbers! Er. Or something. So our glow strength is going from 10 to -10 and back again. Since a negative strength on a glow makes the glow invisible...well...we don't see it.&lt;br /&gt;&lt;br /&gt;OH, almost forgot two little things. The spat out number (the ups and downs) are amplified by 10 to get a strong glow effect. We're upping the amplitude of the sine wave! Joy of joys! The other little thing...when the glow is negative, I'm having some fun making the origin points of the glows jump around randomly in the dark. Creepy little buggers!&lt;br /&gt;&lt;br /&gt;NOTE: One last thing, I swear. As each origin point is created, it also randomizes the QUALITY of the glow. That's why you sometimes see nice round glows, and other times you'll see more squared off glows. In this case, I wouldn't say there's a difference in quality. Just different effects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6134840540261579976?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6134840540261579976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/glowy-things.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6134840540261579976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6134840540261579976'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/glowy-things.html' title='Glowy Things'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-8445461859295891880</id><published>2010-05-17T15:43:00.000-04:00</published><updated>2010-05-17T15:43:10.668-04:00</updated><title type='text'>Playing with Light</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/lightSource.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/lightSource.swf"&gt;Large.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You probably know how nifty Flash's built-in filters are. Dropshadows, glows, bevels, oh my! BUT, rather than activating these filters with the properties panel in Flash, why not take a peek under the hood and tweak them?&lt;br /&gt;&lt;br /&gt;That's exactly what's going on up there. You see, each of those above green shapes is constantly redrawing its shadow relative to the yellow light source. It's actually a pretty easy technique to use, and it's a handy tool for faking light sources in your games and animations.&lt;br /&gt;&lt;br /&gt;To actually use a filter in Flash, you'll first need to import it (&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;import flash.filters.*&lt;/span&gt;&lt;/span&gt; where &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*&lt;/span&gt;&lt;/span&gt; is a wildcard OR the name of the specific filter you want). From there, you can just set up a var placeholder for the filter. Something like:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;var myFilter;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then we'll set that "myFilter" to a the filter we want. So...&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;myFilter = new DropShadowFilter(1,45,0,1,4,4,1,1,false,false,false);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What's up with all those numbers after the DropShadowFilter? Well, those are what we call arguments, and those are the specific parameters of the dropshadow. Flash has a nice built-in assistance tool that will fill you in on what each is. The ones I specifically messed with for the above .swf are the first two (1 and 45, the distance of the shadow and angle of the shadow, respectively). &lt;br /&gt;&lt;br /&gt;Now at this point, it's important to note that the myFilter = new DropShadowFilter line is in the ENTER_FRAME of my movie clip - things will be changing, and I want to check for those changes every frame.&lt;br /&gt;&lt;br /&gt;Let's take a look at MY version of the above line...&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;myFilter = new DropShadowFilter(distance*.05,newAngle,0,1,4,4,1,1,false,false,false);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The difference, of course, are the first two values. Those don't mean much without the backing code, so...&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;diffX = x - LightSource.main.newLight.x;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;diffY = y - LightSource.main.newLight.y;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;var distance = Math.sqrt(diffX * diffX + diffY * diffY);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;newAngle = Math.atan2(diffY,diffX) * 180 / Math.PI;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;What's going on? Well, we're first figuring the distance between the green object and the light source (subtract the light source's position from the green object's position for both axes). With our good buddy Pythagoras, we know the distance between two points is equal to the square root of the difference on each axis squared. Uh...C = the square root of A^2+B^2. Trust me.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;So there's the distance of the dropshadow! Note that I multiplied it by .05. That's because I wanted to keep the shadow from getting too crazy long.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Now the meat - the ANGLE - of the dropshadow. The line starting with newAngle is where the magic happens. Using some trigonometric witchcraft known as the arctangent, Flash can calculate the angle between two objects. We just need the difference in positions (already got that, remember? diffX and diffY). And since Flash sees fit to deal with trig in radians, but rotation in DEGREES, we need to convert it. Easily done. Just multiply by 180/pi. Huzzah! Trig!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-8445461859295891880?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/8445461859295891880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/playing-with-light.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8445461859295891880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8445461859295891880'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/playing-with-light.html' title='Playing with Light'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4269975801136486089</id><published>2010-05-15T21:10:00.002-04:00</published><updated>2010-05-15T21:11:29.166-04:00</updated><title type='text'>Rainbow Rain</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/rainbowRain.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/rainbowRain.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm not really sure what's up with this one. I've been a little dry in the creative area lately, so I wanted to just make SOMETHING...so, enjoy Rainbow Rain!&lt;br /&gt;&lt;br /&gt;On a side note, &lt;a href="http://www.coreyscallahan.com"&gt;my homepage&lt;/a&gt; is now up and running! Let me know what you think.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4269975801136486089?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4269975801136486089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/rainbow-rain.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4269975801136486089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4269975801136486089'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/rainbow-rain.html' title='Rainbow Rain'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-169507179047983265</id><published>2010-05-03T21:43:00.004-04:00</published><updated>2010-05-03T22:21:30.655-04:00</updated><title type='text'>Hooray!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/smasher02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Large version &lt;a href="http://coreyscallahan.com/blogStorage/smasher02.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;And if you're interested, here's the project in &lt;a href="http://coreyscallahan.com/blogStorage/smasher02.air"&gt;AIR form&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Why is this post entitled "Hooray!"? Well, because every little box that goes across your screen is a potential party! Click at the right time to smash through the colored boxes. Now, you may notice your confetti enlarges based on how many boxes you take out in one swipe - more smashes at once equals more party! &lt;br /&gt;&lt;br /&gt;So...enjoy this! It's been sitting around my drive for a while in one form or another.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-169507179047983265?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/169507179047983265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/hooray.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/169507179047983265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/169507179047983265'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/05/hooray.html' title='Hooray!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2494144168993849904</id><published>2010-04-26T22:13:00.000-04:00</published><updated>2010-04-26T22:13:18.302-04:00</updated><title type='text'>Menu 2 - A little more useful!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="400" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/sliderMenuText.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Here's the second menu in &lt;a href="http://coreyscallahan.com/blogStorage/sliderMenuText.swf"&gt;large form&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This might have a little more purpose. Imagine a contractor wants to offer his or her services, but wants to give potential clients an estimate on the type of work he or she does. Bingo! Done! This would also be useful for just about any shop that sells a variety of items...or any site that wants to show options of any sort, for that matter. Heck, a character artist could show off their creations in a gallery format!&lt;br /&gt;&lt;br /&gt;Oh, and it's fairly dynamic - if you want to add another item, it's about a 30-second process (not counting whatever content you add to the panel at right). Yay expandability!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2494144168993849904?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2494144168993849904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/menu-2-little-more-useful.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2494144168993849904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2494144168993849904'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/menu-2-little-more-useful.html' title='Menu 2 - A little more useful!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2660527532367181207</id><published>2010-04-26T22:08:00.002-04:00</published><updated>2010-04-26T22:09:51.240-04:00</updated><title type='text'>Menus! Menus! God, how I love menus!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="133" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/sliderMenuColor.swf" type="application/x-shockwave-flash" width="367"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Large version &lt;a href="http://coreyscallahan.com/blogStorage/sliderMenuColor.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Here is the first of two little menus I whipped up. I realized that this "does nothing" stuff is a lot of fun, but creating something that serves a purpose has its place, too! And so, here you go...&lt;br /&gt;&lt;br /&gt;This one is a hypothetical color preview panel. It's not completely useful, but it would have its applications, I suppose. It needs just a few little extras to make it really useful. It wouldn't be a huge stretch to calculate the complementary color for the selected tile to show a little color palette. Anyway, enjoy! &lt;br /&gt;&lt;br /&gt;If you didn't figure it out, you can roll over the colors to see them in the large panel. Click the "More" button to slide in a random assortment of new colors!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2660527532367181207?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2660527532367181207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/menus-menus-god-how-i-love-menus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2660527532367181207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2660527532367181207'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/menus-menus-god-how-i-love-menus.html' title='Menus! Menus! God, how I love menus!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4664060162705124953</id><published>2010-04-10T10:44:00.000-04:00</published><updated>2010-04-10T10:44:48.886-04:00</updated><title type='text'>GloBounce</title><content type='html'>Hi there! Since I am delighting in being retarded and not being able to figure out the issue with embedding my .swf into a blog post, you can find the second iteration of the GloBounce &lt;a href="http://coreyscallahan.com/blogStorage/gloBounce.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you'd rather have a direct .swf download, you can find that &lt;a href="http://coreyscallahan.com/blogStorage/gloBounce02.swf"&gt;here&lt;/a&gt;. Make sure you open that in dedicated Flash player, not just a web browser.&lt;br /&gt;&lt;br /&gt;This isn't quite complete, and I may decide to go in a completely different direction with it. For now, though, you can influence the white bouncer's movement based on your mouse position. The bouncer only changes direction when he bounces, so you'll need to plan your movements! The further the mouse is from the bouncer at the time of the bounce, the higher the movement influence. You also control his bounce height this way.&lt;br /&gt;&lt;br /&gt;At any time in the air, you can click to initiate a mini-bounce. You can only do this 10 times in the air. Once you hit the floor, your jumps are replenished (man, I should put a meter in there...).&lt;br /&gt;&lt;br /&gt;Finally, the point of it - see those white circles? See how many of those you can smack before touching the floor! Some day, I might even have proper scoring in there!&lt;br /&gt;&lt;br /&gt;Hope you enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4664060162705124953?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4664060162705124953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/globounce.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4664060162705124953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4664060162705124953'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/globounce.html' title='GloBounce'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2175236300396407411</id><published>2010-04-08T22:40:00.001-04:00</published><updated>2010-04-08T22:41:23.526-04:00</updated><title type='text'>Bouncin' Along...</title><content type='html'>If you're interested in seeing the next little experiment in progress, check it out &lt;a href="http://coreyscallahan.com/blogStorage/gloBounce.swf"&gt;here&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;I'd recommend right-clicking and hitting "save as" to ensure that it displays in the proper bounds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2175236300396407411?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2175236300396407411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/bouncin-along_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2175236300396407411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2175236300396407411'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/04/bouncin-along_08.html' title='Bouncin&apos; Along...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6259863680642023248</id><published>2010-03-31T23:32:00.000-04:00</published><updated>2010-03-31T23:32:04.946-04:00</updated><title type='text'>Bonus Post! Collatz Conjecture</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/collatzTest.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;I definitely suggest you look at the &lt;a href="http://coreyscallahan.com/blogStorage/collatzTest.swf"&gt;large version&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Actionscript, of course, is a programming language. And one thing computers and programming languages do much more efficiently than humans is...well...compute! We can use this to our advantage and help display very complex math problems nearly instantly. Flash is a wonderful tool to use in eLearning in that the behind-the-scenes number crunching can easily be reflected graphically. &lt;br /&gt;&lt;br /&gt;In this case, I stumbled upon something called the Collatz Conjecture. It's a conjecture that basically says that if you start with an integer, you check to see if it's even or odd. If it's even, divide by 2. If it's odd, multiply it by 3 and add 1. Repeat that over and over, and you will ALWAYS wind up with a value of 1.&lt;br /&gt;&lt;br /&gt;With larger numbers, this process could take quite a while...so...enter Flash! Simply type in a number you want to check (I've limited it to 8 digits) and click "Go!" to quickly see the resulting path to 1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6259863680642023248?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6259863680642023248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/bonus-post-collatz-conjecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6259863680642023248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6259863680642023248'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/bonus-post-collatz-conjecture.html' title='Bonus Post! Collatz Conjecture'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5173611200362430245</id><published>2010-03-31T21:55:00.001-04:00</published><updated>2010-03-31T21:56:43.356-04:00</updated><title type='text'>Dynamically Shifting Menu UPDATED</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/photoGalleryUpdated.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/photoGalleryUpdated.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Okay, as promised...I've updated this. I was considering making the image loading dynamic, but I kept running into little pitfalls. Nothing a little more time couldn't have solved, but there are already plenty of fantastic external image loaders out there!&lt;br /&gt;&lt;br /&gt;Anywho, I've updated this into a photo gallery with a dynamically sized frame to house the images. To preserve the rounded corners' proportions, I enabled 9-slice scaling guides on the movie clip. If you're not aware of it, next time you create a movie clip, look for the little check box titled "Enable Guides for 9-Slice Scaling. When you go in to modify your movie clip, you'll see some dashed lines that are draggable. Whatever is inside of those guides will scale like you'd expect, but the four corners outside of the guides will NOT! Pretty fantastic when you're enlarging rounded curves, especially if the scaling is not proportionate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5173611200362430245?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5173611200362430245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/dynamically-shifting-menu-updated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5173611200362430245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5173611200362430245'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/dynamically-shifting-menu-updated.html' title='Dynamically Shifting Menu UPDATED'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-269360887718546076</id><published>2010-03-29T23:31:00.001-04:00</published><updated>2010-03-30T23:06:45.453-04:00</updated><title type='text'>Dynamically Shifting Menu</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/photoGallery.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/photoGallery.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the first of a two-stage little doodle I put together. At this point, it is just a grid of menu items that reacts to whatever button you've rolled over. It was a nice little exercise in two-dimensional arrays. Nothing too crazy, but pretty useful for adding a little life to an otherwise ordinary field of buttons. Keep in mind that you can adjust anything about these buttons with the same basic code. You can shift the alpha, the color overlays, size...whatever your little heart desires!&lt;br /&gt;&lt;br /&gt;The next step is to turn this into a dynamically loading photo gallery. Why? Why not?&lt;br /&gt;&lt;br /&gt;Stay tuned for part 2 in the coming days!&lt;br /&gt;&lt;br /&gt;EDIT: Fixed the little odd rollOver issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-269360887718546076?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/269360887718546076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/dynamically-shifting-menu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/269360887718546076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/269360887718546076'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/dynamically-shifting-menu.html' title='Dynamically Shifting Menu'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4494065318928736423</id><published>2010-03-28T17:14:00.000-04:00</published><updated>2010-03-28T17:14:22.945-04:00</updated><title type='text'>Coming Along...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/bubBomb_v13.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;It's been a little while! Here we have some progress on the BubBomb game shown in the past couple of posts.&lt;br /&gt;&lt;br /&gt;What's new?&lt;br /&gt;Well, there's a new scoring mechanism in place that allows for chaining of pops. In other words, if you pop captured enemies in rapid succession without firing off another bubble, your score stacks!&lt;br /&gt;You'll notice a few new visual features, such as a living background, start button, and score feedback messages.&lt;br /&gt;Powerups are in! Well...sort of. Every so often, you'll see a gold enemy. Pop them to release a powerup into the field. Capture and pop the powerup and you'll get....NOTHING! I've not actually put in powerups yet, just a placeholder item. So as of now, powerups don't do squat. Some potential ideas are modifying your bubbles' behavior or offering a bonus multiplier on your chain pops. Any other suggestions?&lt;br /&gt;&lt;br /&gt;Finally, and this is a minor fix, I had noticed an occasional bug that occurred when capturing an enemy too close to the edge of the stage. That seems to have been fixed, but be sure to let me know if it happens again!&lt;br /&gt;&lt;br /&gt;That's it for now. Keep it funky!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4494065318928736423?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4494065318928736423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/coming-along.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4494065318928736423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4494065318928736423'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/coming-along.html' title='Coming Along...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-258936901415131324</id><published>2010-03-15T22:36:00.000-04:00</published><updated>2010-03-15T22:36:19.473-04:00</updated><title type='text'>I'm starting to think I have a thing for bubbles...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/bubBomb02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/bubBomb02.swf"&gt;Large version here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Alright! As you saw from the last post, I've adapted the bubble catching turret game into another game style. Here you have a free-flying ship controlled with your mouse. Click and hold to drop off a bubble mine, and release to detonate it. Any enemy (represented by gray dots) caught in the expanding bubble will be considered "captured". Once you've got a nice run of them captured, ram them with your spiky body to pop them into oblivion!&lt;br /&gt;&lt;br /&gt;Be careful, though...you can catch yourself in your own bubbles! Make sure you're a safe distance away before you detonate or else you'll wind up losing precious seconds...&lt;br /&gt;&lt;br /&gt;Note that this is a work in progress, and due to that, we're in a sort of free play mode. You have unlimited ammo, no real goal, and no real way to lose. So have fun and get a feel for it! I plan to turn this into a full-fledged game with multiple enemy types (maybe some will require multiple hits before they're captured...), maybe some powerups, and who knows what else?&lt;br /&gt;&lt;br /&gt;Comments are always appreciated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-258936901415131324?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/258936901415131324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/im-starting-to-think-i-have-thing-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/258936901415131324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/258936901415131324'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/im-starting-to-think-i-have-thing-for.html' title='I&apos;m starting to think I have a thing for bubbles...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-9148916254680425183</id><published>2010-03-10T18:55:00.000-05:00</published><updated>2010-03-10T18:55:38.587-05:00</updated><title type='text'>Things are brewing...</title><content type='html'>Nope, I've not forgotten about the blog!&lt;br /&gt;&lt;br /&gt;For the longest time, I was having issues trying to decide what to work on. So, as I often do, I revisited my old experiments and projects. I've decided to update/reimagine something I created nearly a year ago. You can see a very very rough version of it &lt;a href="http://coreyscallahan.com/blogStorage/bubBomb01.swf"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Gameplay-wise, it will be quite different from the bubble turret I've been showing, but it will share some elements with it.&lt;br /&gt;&lt;br /&gt;Stay tuned! I hope to have a little more into it within the next couple of days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-9148916254680425183?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/9148916254680425183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/things-are-brewing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/9148916254680425183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/9148916254680425183'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/things-are-brewing.html' title='Things are brewing...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2199143437801055925</id><published>2010-03-02T22:38:00.001-05:00</published><updated>2010-03-02T22:39:06.593-05:00</updated><title type='text'>Bubbles, pt.2</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/bubbleTrap02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/bubbleTrap02.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, the bubble catching game has been updated a bit. What's new in this version?&lt;br /&gt;1) The enemy catching thing is pretty much completed. Now you can catch enemies in bubbles, and once they are caught, they can be successfully eliminated by hitting them with a regular bullet.&lt;br /&gt;2) Powerups! I have the powerup generation in overdrive right now, but you'll notice these black and white logos sliding by. Hit them with a bullet (NOT an exploding bubble!) to activate a powerup. There are 3 - larger bullets, tri-shot, and rapid fire.&lt;br /&gt;&lt;br /&gt;I think that's about it for now! Upcoming will be multiple enemy types, maybe alternate types of bullets, and...well...an objective! &lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2199143437801055925?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2199143437801055925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/bubbles-pt2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2199143437801055925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2199143437801055925'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/03/bubbles-pt2.html' title='Bubbles, pt.2'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7169385117871840853</id><published>2010-02-28T23:04:00.000-05:00</published><updated>2010-02-28T23:04:04.809-05:00</updated><title type='text'>Not much to say...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://coreyscallahan.com/blogStorage/growingBars01.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://coreyscallahan.com/blogStorage/growingBars01.swf"&gt;Large version here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Not really much to say here. Slider controls bpm, etc. etc.&lt;br /&gt;&lt;br /&gt;I don't know if the bpm is completely accurate.&lt;br /&gt;&lt;br /&gt;The plan is to use the growing bars in a better experiment. Soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7169385117871840853?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7169385117871840853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/not-much-to-say.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7169385117871840853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7169385117871840853'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/not-much-to-say.html' title='Not much to say...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4037352699587211773</id><published>2010-02-23T23:17:00.000-05:00</published><updated>2010-02-23T23:17:42.334-05:00</updated><title type='text'>Sorry for the Delay!</title><content type='html'>Hello, I've been taking it just a bit easy on the blog posts in preparation for setting up my &lt;a href="http://www.coreyscallahan.com"&gt;personal homepage&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It's nothing much now, but consider that domain PARKED!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4037352699587211773?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4037352699587211773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/sorry-for-delay.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4037352699587211773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4037352699587211773'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/sorry-for-delay.html' title='Sorry for the Delay!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7857662133091969040</id><published>2010-02-21T23:30:00.000-05:00</published><updated>2010-02-21T23:30:45.455-05:00</updated><title type='text'>Bubble Trappings (WIP)</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/bubbleTrap01.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/bubbleTrap01.swf"&gt;Large Version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Keep in mind, this is a WIP! I'm giving you guys a sneak-peek at a little game I've been whipping up. Here you can see the initial bubble cannon aiming, firing, and detonating. Hit tests are all in, and the next step is to make the trapped enemies catchable. There are some other things to do, but this should be wrapped up in the next few days!&lt;br /&gt;&lt;br /&gt;Let me know if you have any immediate observations or suggestions. Thanks for reading!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7857662133091969040?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7857662133091969040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/bubble-trappings-wip.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7857662133091969040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7857662133091969040'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/bubble-trappings-wip.html' title='Bubble Trappings (WIP)'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2325499554419755929</id><published>2010-02-20T18:53:00.000-05:00</published><updated>2010-02-20T18:53:29.363-05:00</updated><title type='text'>Wind Redux...Redux...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads01_as3.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads01_as3.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads_as3.zip"&gt;Source.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have decided to go back to an old project and rewrite it in AS3. I've probably not 100% optimized this to the point that it COULD be, but I just wanted to see how difficult it would be to convert something from AS2 to AS3. Turns out, not too hard! Though I do have to say that dealing with dynamic text is a bit more involved than in AS2. Gone are the days of just dropping in a dynamic text field and saying "go!". Ah well...&lt;br /&gt;&lt;br /&gt;I've not yet added the little tag that pops up the beads, but that probably wouldn't be too crazy to do. Just add a text field to the Bead class that ties in to the ID.&lt;br /&gt;&lt;br /&gt;I tried to add a blur filter to faster moving beads, and it was working well. HOWEVER, I ran into some really odd behavior when it came to blurred objects and rollOvers. If a blurred object was rolled over just on the edge, it would spaz out and jump between being considered rolled over, and being rolled out of. I'm not sure what the deal with that is! So...no blur! Of course, if we threw out the idea of rolling over, then we could dump the blur in. VERY easy and very nifty!&lt;br /&gt;&lt;br /&gt;I've provided the source at the request of &lt;a href="http://wordpress.mikeland.us/"&gt;mikeland.us&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2325499554419755929?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2325499554419755929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/wind-reduxredux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2325499554419755929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2325499554419755929'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/wind-reduxredux.html' title='Wind Redux...Redux...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-708238347019155030</id><published>2010-02-17T22:19:00.001-05:00</published><updated>2010-02-17T22:28:56.674-05:00</updated><title type='text'>I Feel I Have Arrived...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/bombDrop01.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/bombDrop01.swf"&gt;Large version here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Phew. I'm feeling pretty good. Why is that? Because the above is my first thing ActionScript 3 that I can say I'm pretty happy with! That's right! I have made great strides in AS3 tonight!&lt;br /&gt;&lt;br /&gt;I'm all giddy with the possibilities...&lt;br /&gt;&lt;br /&gt;As for the coding itself, there's nothing too awfully insane here. We've got a ship that follows the mouse cursor loosely; it does this by moving the distance between itself and the mouse times a fraction of the distance every frame. In other words, if it's 50 pixels from the mouse and we've moving with .5 drag, it will move 25 pixels, then 12.5 pixels, then 6.25 pixels, etc. etc. until it reaches 0.&lt;br /&gt;&lt;br /&gt;The bomb is simply a class that initializes with a movement speed on the y axis of -10. Instantly and in every frame, that movement speed increases by .5, giving the illusion of acceleration.&lt;br /&gt;&lt;br /&gt;Once the bomb hits, it is removed from the stage and replaced by a shape tweened circle. I manually animated the growth via timeline, but it would be very possible to do so with straight code. That little rainbow flourish you see as the explosion fades is just me playing with code tweens and the ColorTransform object. I simply tween the ColorTransform from a random color to another random color. &lt;br /&gt;&lt;br /&gt;There you have it! AS3...I'm warming up to you!&lt;br /&gt;&lt;br /&gt;PS:I found this &lt;a href="http://www.kongregate.com/games/Kongregate/shootorial-0"&gt;tutorial&lt;/a&gt; to be incredibly helpful in learning to get classes to speak to one another. Be sure to download the AS3 source code. Interestingly enough, I had my "a-ha moment" with the AS2 version of this tutorial...hmm...they must be doing something right!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-708238347019155030?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/708238347019155030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/i-feel-i-have-arrived.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/708238347019155030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/708238347019155030'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/i-feel-i-have-arrived.html' title='I Feel I Have Arrived...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6727906755292267034</id><published>2010-02-15T18:44:00.001-05:00</published><updated>2010-02-15T19:00:57.451-05:00</updated><title type='text'>8 Points</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/dotField.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/dotField.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is an offshoot of something I was trying to which was, actually, radically different. Originally, I meant to create grid of dots that would react to your mouse position. In a way of testing when a dot was near enough to the mouse cursor, I had a line tracing between the mouse and dot. Quickly moving around, I noticed you got some nifty little patterns going. &lt;br /&gt;&lt;br /&gt;And so, this was born. I had to drastically cut down the number of dots, as the original number (about 80, I think) caused a lot of slowdown.&lt;br /&gt;&lt;br /&gt;I could see a simpler version (say just 4 dots/lines) being a nifty little way to add a bit of interest to a simple menu.&lt;br /&gt;&lt;br /&gt;UPDATE: I noticed that eventually, this would get draggier and draggier...this was because I wasn't actually able to clear out an array that contained all of the lines. As a quick fix, I set the array to reset every 10 seconds, SO if you see all the lines suddenly blink out of existence, that's what you're seeing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6727906755292267034?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6727906755292267034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/8-points.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6727906755292267034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6727906755292267034'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/8-points.html' title='8 Points'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4696990886140074133</id><published>2010-02-14T23:14:00.000-05:00</published><updated>2010-02-14T23:14:29.470-05:00</updated><title type='text'>The Colors!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/expandingField.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/expandingField.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a result of me learning a bit about adjusting the color of a movie clip via actionscript. It was surprisingly very easy! Here's a quick trimmed down version of it. Keep in mind, this is contained within the onLoad function of a the colored panel's Class file.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;var colorful = new Color(this);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;var colorTransform = new Object();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;colorful.setRGB(0x003366);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;colorTransform = {ra:Math.random() * 100, rb:'0', ga:Math.random() * 100, gb:'0', ba:Math.random() * 100, bb:'0', aa:'100', ab:'100'};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;colorful.setTransform(colorTransform);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The first line sets up a Color object and assigns it "this", or whatever movie clip you want it to adhere to. After that, we create an Object called "colorTransform" which will contain all the information for the actual color transformation. That information includes, as you can see, a long list of parameters such as "ra" and "ba". It seems like a long list, but there are essentially two types of parameters that relate to the red channel, green channel, blue channel, and alpha channel. The three I'm dealing with here are the ra, ga, and ba parameters which is a number from -100 to 100 and controls the percentage of that parameter's color. So, something like ra:100, ga:50, and ba:50 would yield a pinkish color.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once we've set up what the colorTransform IS, we simply set it to our original Color object. Simple, eh? You can experiment a ton with it and even set up color tweens with this.&lt;br /&gt;&lt;br /&gt;Bonus! You can use this on photos, too! Just be sure to set the imported picture to be cached as a Bitmap and the above code will work on it.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4696990886140074133?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4696990886140074133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/colors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4696990886140074133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4696990886140074133'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/colors.html' title='The Colors!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-751097056614861275</id><published>2010-02-10T09:30:00.000-05:00</published><updated>2010-02-10T09:30:18.691-05:00</updated><title type='text'>Silver - the Musical</title><content type='html'>Hey everybody, I just finished up helping a buddy put together a &lt;a href="http://silverthemusical.com/"&gt;site for his upcoming project&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;It's called &lt;a href="http://silverthemusical.com/"&gt;Silver&lt;/a&gt;, a musical based on Robert Louis Stevenson's &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Treasure_Island"&gt;Treasure Island&lt;/a&gt;. &lt;/i&gt;Check it out!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-751097056614861275?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/751097056614861275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/silver-musical.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/751097056614861275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/751097056614861275'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/silver-musical.html' title='Silver - the Musical'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2116575408652229459</id><published>2010-02-07T12:36:00.001-05:00</published><updated>2010-02-07T12:40:33.491-05:00</updated><title type='text'>Bing!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/sorting01.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/sorting01.swf"&gt;Large version here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This little guy started out life as a simple sorting experiment. Originally, the falling discs would pass through the flashing white "sensor" and be sent to a different column based on their color and type. Once that was out of the way, I decided to add a few more things. For one thing, why not give the user some feedback when a disc leaves the stage? The version just prior to this one had no user interactivity; you just watched the discs falling and they'd "bing" as they left the stage. Due to the random nature of their spawning, it produced some nifty little melodies. Never anything TOO intricate (we are just dealing with 4 notes here...), but enough to be amusing.&lt;br /&gt;&lt;br /&gt;Though I was rather pleased with the non-interactive version, I wanted to let the user feel like they were having an effect on the little Bing World. So, I slapped in an Breakout-style paddle that let the user keep a disc from being instantly removed. Next came some wrestling in my mind. Do I want the user to just influence what happens? OR do I want the user to CREATE what happens? In other words, should sounds come only if a user does something, or should the sound ALWAYS happen - the user just redirects it? In the end, I decided to let the user create the sounds, so a disc won't bing unless it has been first been hit by the user's paddle.&lt;br /&gt;&lt;br /&gt;What do you think? Would you like to see sound happen even without user input? Or is it a better feeling knowing that, in a way, you created a quasi-composition?&lt;br /&gt;&lt;br /&gt;And another thing...are the sounds too annoying? If anybody has any ideas on different sounds, let me know (or better yet, send them to me in .mp3 format - if it's nifty enough, I'll put it up here!).&lt;br /&gt;&lt;br /&gt;Anywho, take care everybody. And enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2116575408652229459?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2116575408652229459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/bing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2116575408652229459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2116575408652229459'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/bing.html' title='Bing!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-1249481955268035206</id><published>2010-02-04T14:06:00.000-05:00</published><updated>2010-02-04T14:06:07.824-05:00</updated><title type='text'>Updated Embers</title><content type='html'>Hello, just letting you all know that the source code for an updated version of the previous Embers.swf is now available on &lt;a href="http://mymediahouse.com/"&gt;My Media House&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Enjoy! By the way, exporting as an .html and setting it as your desktop wallpaper gives a little life to your desktop. Just...be careful not to overdo it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-1249481955268035206?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/1249481955268035206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/updated-embers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1249481955268035206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1249481955268035206'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/updated-embers.html' title='Updated Embers'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-96942169675136125</id><published>2010-02-01T22:53:00.000-05:00</published><updated>2010-02-01T22:53:08.669-05:00</updated><title type='text'>Since the last one did too much...</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/Ember.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/Ember.swf"&gt;Large Version Recommended.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In a departure from the previous project, I whipped up something that's just fun to look at. When the .swf loads, you'll get 4 little orbs of light that fly around randomly, leaving a trail of glowing embers. You can hit one with your mouse to cause it to pause and grow a bit. Clicking will produce a brand new one.&lt;br /&gt;&lt;br /&gt;So nothing TOO crazy here, but each ember's flight path is based off its previous position. Every frame, the ember looks at its current move speed and then varies its vector by a small degree (between -.5 and .5, which when added 31 times per second really adds up!) In other words, you get generally smooth arcs instead of rapid sudden changes in movement. If you wanted to produce a slower, lazier arc, you'd just put a bit of a delay in the change in position. Maybe have it adjust its flight path every 15 frames instead of every single frame.&lt;br /&gt;&lt;br /&gt;So, enjoy and gaze a bit!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-96942169675136125?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/96942169675136125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/since-last-one-did-too-much.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/96942169675136125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/96942169675136125'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/02/since-last-one-did-too-much.html' title='Since the last one did too much...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3500075962387511802</id><published>2010-01-30T10:37:00.001-05:00</published><updated>2010-01-30T11:17:19.186-05:00</updated><title type='text'>Links</title><content type='html'>No real blog update at this moment, but I wanted to bring your attention to a new section to the right of the blog. I've added a spot reserved for links to other sites that are of interest to me. The first is a link to &lt;a href="http://www.mymediahouse.com/"&gt;My Media House&lt;/a&gt;, a site that's just getting revved up. Right now there's a nice batch of FREE stock files including a few photos and Flash files. Expect this site to grow in content in the near future! I plan to be contributing to this site often.&lt;br /&gt;&lt;br /&gt;Also added is a link to &lt;a href="http://www.o2ed.com/"&gt;Oxygen Education&lt;/a&gt;, my current place of employment. For those interested in how Flash is applicable to an educational setting, take a look! Or take a look if you just like really nifty-looking interactive programs based in Flash.&lt;br /&gt;&lt;br /&gt;Well that's it for the moment!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3500075962387511802?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3500075962387511802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3500075962387511802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3500075962387511802'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/links.html' title='Links'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-1304364699950758950</id><published>2010-01-27T23:06:00.002-05:00</published><updated>2010-01-28T08:53:20.929-05:00</updated><title type='text'>Wahoolazuma!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/Chips01.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Big version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/Chips01.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'd heavily recommend downloading the .swf and running it from your local machine, but through a web browser is fine, too.&lt;br /&gt;&lt;br /&gt;First off, let me say this game was inspired by &lt;a href="http://larrymarder.blogspot.com/"&gt;Larry Marder's Beanworld&lt;/a&gt;. If you've not checked it out, it's definitely a fun read! Equal parts quirk, wonderment, and charm, it makes a great gift for just about anybody!&lt;br /&gt;&lt;br /&gt;In Beanworld, the behaviors and lifestyle of the native beans are explored. Though it seems to be a pretty contained system that makes some sense, the nature of the beans is a simple one, often left to the imagination. In other words, a wonderful source of inspiration for fun little mini-games! &lt;br /&gt;&lt;br /&gt;In case you're wondering the story behind the above game...well...go read Beanworld yourself!&lt;br /&gt;&lt;br /&gt;By the way, this is a simple, rough version. If I were to create a game for anything other than my own personal learning experience, there are a few things I'd change. Any suggestions? I just might touch something up if you demand it!&lt;br /&gt;&lt;br /&gt;EDIT: So it seems you can't score any points UNTIL you get a multiplier. I'll fix that up...soonish.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-1304364699950758950?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/1304364699950758950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/wahoolazuma.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1304364699950758950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1304364699950758950'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/wahoolazuma.html' title='Wahoolazuma!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3947519488237216019</id><published>2010-01-23T15:29:00.000-05:00</published><updated>2010-01-23T15:29:59.946-05:00</updated><title type='text'>And I'm back...flowers in hand. Er...screen.</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/petalPath.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/petalPath.swf"&gt;Big 'un here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Yikes...it has been nearly a week since my last update! I can't let this happen again...&lt;br /&gt;&lt;br /&gt;Anyway, the above is the result of a quick little experiment. The instructions, should you want to know what you're doing &lt;i&gt;before&lt;/i&gt; you're doing it, are as follows:&lt;br /&gt;The white flower is considered the "active" flower.&lt;br /&gt;Click any segment of the active flower to spawn a new flower in that segment's direction.&lt;br /&gt;You can also use your arrow keys to spawn a new flower.&lt;br /&gt;Click the purple diamond to send out a tracer that traces the history of the buds.&lt;br /&gt;Click the purple circle to clear the field of flowers.&lt;br /&gt;The green slider lets you move the field around, so you can construct flowers even outside of the window!&lt;br /&gt;&lt;br /&gt;That's it for now! I've been touching up the slingshot, and I've also been putting together a couple of mini-games for work. If I can, I'll post those games so you can see what it is that I do.&lt;br /&gt;&lt;br /&gt;Speaking of work, we've just rolled out our new website! &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.o2ed.com"&gt;Take a look!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3947519488237216019?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3947519488237216019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/and-im-backflowers-in-hand-erscreen.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3947519488237216019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3947519488237216019'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/and-im-backflowers-in-hand-erscreen.html' title='And I&apos;m back...flowers in hand. Er...screen.'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6993238934004594630</id><published>2010-01-16T16:37:00.000-05:00</published><updated>2010-01-16T16:37:36.504-05:00</updated><title type='text'>Gotcha!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot03.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot03.swf"&gt;Large version&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I lied! Here's an update to the slingshot. I've got a decent idea of where I want this headed now, so I plan to get it polished up in the next few days!&lt;br /&gt;&lt;br /&gt;The biggest addition here is the addition of the capturing bubble that seeks out berries that have fallen. Once it "sees" one, it rushes to it and grabs it. With berry in tow, it returns it to the center of the screen, drops it off, and a new berry spawns. This will be a huge element in the final product.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6993238934004594630?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6993238934004594630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/gotcha.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6993238934004594630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6993238934004594630'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/gotcha.html' title='Gotcha!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2206221365816289231</id><published>2010-01-13T22:23:00.000-05:00</published><updated>2010-01-13T22:23:57.705-05:00</updated><title type='text'>Slingshot pt. 2</title><content type='html'>Well, today has been quite the day. Little annoyances have plagued me throughout the day. I'm sure we've all been assaulted by the terrible images coming in from Haiti. All of my little issues seem so small compared to what they are going through down there. I encourage you to send good thoughts (or better yet, a little spare cash) down south. Our local Fox affiliate has a nice collection of links you can find &lt;a href="http://www.fox59.com/news/featuredlinks/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Right-o, then.&lt;br /&gt;&lt;br /&gt;&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot02.swf"&gt;Large version.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see, I've made some progress in this slingshot app. I have an idea of what I plan to do with this, but it might not be fully realized for a short while yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2206221365816289231?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2206221365816289231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/slingshot-pt-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2206221365816289231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2206221365816289231'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/slingshot-pt-2.html' title='Slingshot pt. 2'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-1171767791061161132</id><published>2010-01-11T22:15:00.000-05:00</published><updated>2010-01-11T22:15:56.810-05:00</updated><title type='text'>Slingshot (WIP)</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/slingShot.swf"&gt;Large version&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'm not completely done with this one yet, but I did want to upload my progress so far. To fire off a shot, click and hold one of the two yellow dots. Drag back, and release it to fire! You can pack a lot of energy into a shot, so if you pull back too far, you'll likely send it flying insanely fast off the screen.&lt;br /&gt;&lt;br /&gt;I'll be touching this up and doing a little more with it in the next few days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-1171767791061161132?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/1171767791061161132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/slingshot-wip.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1171767791061161132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/1171767791061161132'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/slingshot-wip.html' title='Slingshot (WIP)'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4343759452956682212</id><published>2010-01-09T16:01:00.002-05:00</published><updated>2010-01-09T16:04:22.845-05:00</updated><title type='text'>Wind Redux!</title><content type='html'>&lt;embed align="middle" allowscriptaccess="always" height="300" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads02.swf" type="application/x-shockwave-flash" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads02.swf"&gt;Large version&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I decided to go back to the .swf from a couple of posts ago and add a few features. I think that this really shows how this could be formed into a useful application. &lt;br /&gt;&lt;br /&gt;Controls are the same, but now rolling over any of the particles with your mouse allows you to see a few scraps of data from it, including:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;the ID (based on when it is added to the stage)&lt;/li&gt;&lt;li&gt;the type (in this case, based on the color)&lt;/li&gt;&lt;li&gt;the weight (which determines size and speed)&lt;/li&gt;&lt;li&gt;the speed on each axis at which the particle is moving&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4343759452956682212?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4343759452956682212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/wind-redux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4343759452956682212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4343759452956682212'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/wind-redux.html' title='Wind Redux!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7631294134734678540</id><published>2010-01-07T23:21:00.001-05:00</published><updated>2010-01-11T22:28:05.122-05:00</updated><title type='text'>Letter Scramble (WIP)</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/randomLetter03.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/randomLetter03.swf"&gt;Large version&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Okay, this project is not quite 100% finished, but I'm not sure what else I'm going to do with it.&lt;br /&gt;&lt;br /&gt;Not much to say about it. Type something in the white field and then click the grey INPUT button. Once the button is clicked, whatever is in the text field is split up using Flash's .split() ability. Each letter is sent into an array in order. From there, a movie clip is added for each letter. This movie clip has a target letter which is what we want the movie clip to ultimately display. &lt;br /&gt;&lt;br /&gt;The randomization is achieved by having an array of possible letters (a-z, and A-Z). Every 2 frames, the text field is filled with a random letter from the array until this swap has happened a set number of times (25*letter position+10). When the set number has been reached, BAM! The field is then filled in with that target letter from earlier.&lt;br /&gt;&lt;br /&gt;I plan to flesh this out and maybe even use it in a useful way in the future, so if you have any suggestions, let me know!&lt;br /&gt;&lt;br /&gt;EDIT: Linda asked about having all of the letters stop at the same time. Here's a &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/letterSynched/randomLetter03.swf"&gt;.fla file&lt;/a&gt; that contains the code that does that.&lt;br /&gt;&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/letterSynched/randomLetter03.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7631294134734678540?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7631294134734678540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/letter-scramble-wip.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7631294134734678540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7631294134734678540'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/letter-scramble-wip.html' title='Letter Scramble (WIP)'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-8182781881591312074</id><published>2010-01-06T22:42:00.000-05:00</published><updated>2010-01-06T22:46:00.309-05:00</updated><title type='text'>Any way the wind blows...</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Click and drag the green gem on the above .swf.&lt;br /&gt;&lt;br /&gt;Large version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/windBeads.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I was going to post something about randomizing text with input fields, but this little guy popped into my head on the drive home from work. At my place of work, &lt;a href="http://o2ed.com/"&gt;Oxygen Education&lt;/a&gt;, I recently helped a co-worker develop a wind turbine simulator. It was fairly simple, where the _rotation property of a movie clip changed based on where a specific draggable movie clip was.&lt;br /&gt;&lt;br /&gt;Well, I decided to take this concept a step further and control an entire ARRAY of movie clips with it. And I thought to myself, I thought "Well, why not allow movement in all directions?"&lt;br /&gt;&lt;br /&gt;And so I did. A simple for loop adds the bead movie clips to the stage at random positions. As they are added, an empty variable called "weight" is filled in (which I've set as a number from 1-10). The weight adjusts how large the object is, and also has an effect on the movement speed. You'll notice the larger, and therefore "heavier", beads move a bit slowly. This is accomplished by setting the movement rate to a number multiplied by a decimal (determined by the weight).&lt;br /&gt;&lt;br /&gt;So there you have it! Another useless, yet fun to watch, Flash experiment!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-8182781881591312074?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/8182781881591312074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/any-way-wind-blows.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8182781881591312074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8182781881591312074'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/any-way-wind-blows.html' title='Any way the wind blows...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3516078710718376478</id><published>2010-01-04T21:43:00.001-05:00</published><updated>2010-01-04T21:43:48.226-05:00</updated><title type='text'>Placeholder</title><content type='html'>Okay, I really don't have anything for you guys today. I have SOME things I could post, but not really the time tonight to fully explain them. So...enjoy this hastily-scrawled vector turtle thingum I found sitting in my "Doodles" folder.&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/tuttle.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3516078710718376478?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3516078710718376478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/placeholder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3516078710718376478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3516078710718376478'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/placeholder.html' title='Placeholder'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-8787085237730838974</id><published>2010-01-03T14:45:00.000-05:00</published><updated>2010-01-03T14:48:38.734-05:00</updated><title type='text'>Tilepalooza</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/TileTrays.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Large version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/TileTrays.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'm really not sure what to DO with this yet, but I felt I'd share it anyhow. Seems like it's not a bad idea to try and keep posting a Flash working every day or two. Any ideas anybody? It almost seems like a nice start to a puzzle game or a fun little password system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-8787085237730838974?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/8787085237730838974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/tilepalooza.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8787085237730838974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/8787085237730838974'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/tilepalooza.html' title='Tilepalooza'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7051173325475386700</id><published>2010-01-02T11:27:00.000-05:00</published><updated>2010-01-02T11:27:37.809-05:00</updated><title type='text'>Mockery</title><content type='html'>A week or so ago, I was helping out a buddy &lt;a href="http://jmansfie42.blogspot.com/"&gt;Jake Mansfield&lt;/a&gt; with setting up the coding basics of his personal website. He essentially wanted the site to act like a desktop, with draggable icons and such. So, taking the little bits of code I used from that, I decided to whip this up last night.&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/draggableField.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Large version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/draggableField.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;No real content of worth on it, but you could definitely use this as a starting point for an actual website! In fact, I just may do that...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7051173325475386700?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7051173325475386700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/mockery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7051173325475386700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7051173325475386700'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/mockery.html' title='Mockery'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6332401806023080240</id><published>2010-01-01T16:50:00.000-05:00</published><updated>2010-01-01T16:54:44.695-05:00</updated><title type='text'>Capstone 2009</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9Ut5e5tHZAY/Sz5vGTa0OsI/AAAAAAAAAIg/zKkuLnypP7E/s1600-h/tile_mainIcon.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9Ut5e5tHZAY/Sz5vGTa0OsI/AAAAAAAAAIg/zKkuLnypP7E/s320/tile_mainIcon.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Well, a new year is upon us. And just about a month ago, I presented my final Capstone project at the 2009 MAS Capstone event at IUPUI.&lt;br /&gt;&lt;br /&gt;This requires a larger space than I have available on this blog, so &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/capstone2009/container_cursor.swf"&gt;here's a link to the large version&lt;/a&gt;. And &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/capstone2009/callahan_capstone2009.zip"&gt;here's a link to the local version&lt;/a&gt; all zipped up nice and tidy for you to see on your local computer (running the .swf in a &lt;a href="http://kb2.adobe.com/cps/142/tn_14266.html"&gt;standalone Flash player&lt;/a&gt; is MUCH faster than through a web browser). You can run each .swf individually in the local version, but the main interface is titled "container_cursor.swf".&lt;br /&gt;&lt;br /&gt;For now, just play around with it and let me know what you think! In the next few posts, I'll focus on each individual aspect of the project. I'd be happy to answer any questions and share with readers some of the source code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6332401806023080240?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6332401806023080240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/capstone-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6332401806023080240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6332401806023080240'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2010/01/capstone-2009.html' title='Capstone 2009'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_9Ut5e5tHZAY/Sz5vGTa0OsI/AAAAAAAAAIg/zKkuLnypP7E/s72-c/tile_mainIcon.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6355462371474415549</id><published>2009-12-24T17:22:00.000-05:00</published><updated>2009-12-24T17:41:09.814-05:00</updated><title type='text'>Christmas Hurl</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/christmasDecorate.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;I recommend going to the large version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/christmasDecorate.swf"&gt;here&lt;/a&gt; and saving the .swf to your desktop.&lt;br /&gt;&lt;br /&gt;The holidays are here! In celebration, I've whipped up the above. It's a simple little tree decoration thing that showcases a few concepts. First off, we have gravity and physics. As each ornament falls, it picks up speed, giving the illusion of gravity pulling. Surprisingly, faking gravity is INCREDIBLY easy! You see, each movie clip is moving a set amount every frame (shown as _y+=dy where dy is a number). The trick here is that the "dy" constantly increases by a set amount. So let's say dy starts at 0 but increases by 1 every time.&lt;br /&gt;&lt;br /&gt;Frame1:&lt;br /&gt;dy = 1&lt;br /&gt;old _y = 0&lt;br /&gt;new _y = 1&lt;br /&gt;&lt;br /&gt;Frame 2:&lt;br /&gt;dy = 2&lt;br /&gt;old_y = 1&lt;br /&gt;new _y = 3&lt;br /&gt;&lt;br /&gt;Frame 3:&lt;br /&gt;dy = 3&lt;br /&gt;old_y = 3&lt;br /&gt;new _y = 6&lt;br /&gt;&lt;br /&gt;and so on...but remember, you're likely running around 24 -31 fps, so your change in dy should probably be tiny (experiment with this to simulate different gravities! I tend to use .1 as a baseline, but it changes depending on how I want something to move).&lt;br /&gt;&lt;br /&gt;Speaking of dy, the bouncing effect is a neat little trick, too. When the movie clip hits the bottom, it is first moved to the bottom edge of the screen (if something is moving fast enough it goes PAST the bottom of the screen, so this rights it) and then it's dy is multiplied by -.7. Why not -1? In the real world, some energy is lost to the ground when a ball bounces (ever have a really heavy box fall beside you? Even if you didn't get hit, you definitely felt the box thud! That's the dissipated energy...some of it, anyway). &lt;br /&gt;&lt;br /&gt;The last little bit I'll share with you is how to calculate the speed of the thrown object. To be honest, this was an experiment that I really didn't expect to work. But surprise! Work it did. Essentially, we're keeping track of two values. Where the mouse is NOW and where the mouse was a frame ago. These values are updated every time the mouse moves, and the difference between the two is stored as a number. When you release the ornament, that difference is used to determine the speed of the the thrown object. Nifty, eh?&lt;br /&gt;&lt;br /&gt;Well, that's it for now. Merry Christmas!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6355462371474415549?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6355462371474415549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/christmas-hurl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6355462371474415549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6355462371474415549'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/christmas-hurl.html' title='Christmas Hurl'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-7303671810354088693</id><published>2009-12-20T15:31:00.000-05:00</published><updated>2009-12-20T16:02:48.912-05:00</updated><title type='text'>Feelin' Lucky?</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/slotReel.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Larger version &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/slotReel.swf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In a departure from the stuff I normally do, I decided to make an actual game. Here you have a 4-reeled slot machine. You place your bet (top 3 red buttons) and your risk of the spin (bottom 3 red buttons). Then click the purple "roll" button and you're off!&lt;br /&gt;&lt;br /&gt;Your winnings are determined by how many of the rings line up once the spin is completed.&lt;br /&gt;No Matches: 0&lt;br /&gt;One Match: (your bet) x (risk/2)&lt;br /&gt;Two Matches or 3 of-a-kind: (your bet) x (risk)&lt;br /&gt;All Four: (your bet) x (risk) x 5&lt;br /&gt;&lt;br /&gt;This isn't an absolutely crazy to program game. I use modulus (%) to determine when or if one of the rings should stop. Each ring is simple a tweened animation, and every 1, 2, or 5 frames (based on risk 1, risk 5, or risk 10 respectively) it rolls a counter to see if it should stop or not.&lt;br /&gt;&lt;br /&gt;Once all four rings are stopped, the frame number of each is pushed into an array. Each value in the array is compared to the rest of the  values to see if they match. Different numbers of matches indicate what the winnings should be. I wasn't quite able to compare a single value against everything else and then exclude it from the array (probably could, but not worth the headache), so a non-match actually shows up as 4 matches (the checked  value in the array checks against itself as well).&lt;br /&gt;&lt;br /&gt;Oh, and the little "$" button in the corner refills your credits to 100 if you are below 100 credits.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-7303671810354088693?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/7303671810354088693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/feelin-lucky.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7303671810354088693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/7303671810354088693'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/feelin-lucky.html' title='Feelin&apos; Lucky?'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4465791926387323876</id><published>2009-12-18T00:16:00.000-05:00</published><updated>2009-12-18T00:29:42.590-05:00</updated><title type='text'>Rising Bubble</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/risingBub.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Alright, first post après capstone. This is just a little experiment toying with trigonometric functions as a method of movement. Once you click somewhere in the stage, a bubble is added. A few starting values are randomly selected and then plugged into the function of a &lt;a href="http://en.wikipedia.org/wiki/Sine_wave"&gt;sine (sin) wave&lt;/a&gt;. The x coordinate of the bubble is the result of the sine wave function. A constantly increasing value is plugged into the sine function and the result is the x coordinate. Since a sine wave is a repeating, oscillating curve, we get the left to right motion. The change in the y coordinate is simply a constant increase (though that constant is randomized at the beginning of the bubble's life cycle).&lt;br /&gt;&lt;br /&gt;Enjoy! Expect another post (maybe something a little more complex) in the next few days. If you have any suggestions or just want to see something specific, let me know. I'll see what I can do!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4465791926387323876?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4465791926387323876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/rising-bubble.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4465791926387323876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4465791926387323876'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/rising-bubble.html' title='Rising Bubble'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5173112632067981590</id><published>2009-12-07T20:49:00.000-05:00</published><updated>2009-12-07T20:59:28.680-05:00</updated><title type='text'>Sketchy</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/drawingPointtoPoint.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Time is tight what with the end of semester fast approaching, so here's another little experiment I whipped up back in the day. The gist of this program is that whenever the mouse button is down, Flash generates an empty movie clip which is then filled with a line created through Flash's built-in drawing API. &lt;br /&gt;&lt;br /&gt;The main unique thing about this is that Flash grabs the endpoints of the line from the mouse and a tiny movie clip on the stage. Though this may not be too awfully different from your standard drawing program, this process could be animated easily. In fact, I have another version of this where the origin points move around randomly drawing lines between them. The effect is much like an old familiar Windows screensaver.&lt;br /&gt;&lt;br /&gt;I probably will hold off on posts until after this Friday. This Friday is IUPUI's capstone night where I will be presenting my final senior project. If you're in the Indianapolis area, feel free to stop by and check out all the nifty New Media projects!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5173112632067981590?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5173112632067981590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/sketchy.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5173112632067981590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5173112632067981590'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/sketchy.html' title='Sketchy'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-3947837619933367909</id><published>2009-12-04T02:44:00.000-05:00</published><updated>2009-12-04T02:48:09.453-05:00</updated><title type='text'>Eno?</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/ambientExperiment.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;This is a super basic little thingum...but then, I'm also feeling a little fried at the end of this week. This requires headphones or speakers, and though it may take it a second, I swear it IS doing something after you click start.&lt;br /&gt;&lt;br /&gt;This is pretty much an incremental counter that, when it hits a certain point, cues in an .mp3 and calls a function that adds the little sound notification text. Nothing huge, but I did use some similar code to create the soundtrack for my upcoming capstone project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-3947837619933367909?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/3947837619933367909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/eno.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3947837619933367909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/3947837619933367909'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/eno.html' title='Eno?'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5423429287146194861</id><published>2009-12-01T10:44:00.000-05:00</published><updated>2009-12-01T10:49:41.570-05:00</updated><title type='text'>Stay on target...</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/targetingTest.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Just a little quick one. Here we have a "seeker" movie clip that is constantly on the hunt for those delicious little green orbs. It will turn to face the nearest one (or the one it's currently chasing) via some trigonometry. The chasing is nothing too incredibly complex. There's an invisible hit box surrounding the seeker and when it hits a green orb, the seeker's change in coordinates is based off of where the orb is relative to the seeker.&lt;br /&gt;&lt;br /&gt;You may notice the seeker has a preference for one of the orbs. I believe that if both orbs are within sight, the seeker goes after the one it is currently chasing. I have seen it do an about-face to chase the other orb, but I think that's because I've put in a cool down period for the chase. In other words, if the hit zone ISN'T hitting the green orb, the seeker will still give chase for a half second. During this cool down period (invisible to the viewer), the seeker can freely change targets if one is available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5423429287146194861?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5423429287146194861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/stay-on-target.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5423429287146194861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5423429287146194861'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/12/stay-on-target.html' title='Stay on target...'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4951281022933146500</id><published>2009-11-29T14:55:00.000-05:00</published><updated>2009-11-29T15:07:43.529-05:00</updated><title type='text'>Dynamic Text Loading</title><content type='html'>EDIT: Okay, for some reason the embedded .swf couldn't locate the .txt file in the same directory. So, &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/textShooterLoading.swf"&gt;here's a link to a version that works.&lt;/a&gt;&lt;br /&gt;Remember, use the arrow keys to move the letter origin point.&lt;br /&gt;&lt;br /&gt;Alright, here we have another old random experiment from a few months back. Basically what we have here is a .swf pulling in text information from an external .txt file. Every half a second or so, we pull the next character from the text file and shove it into a new dynamic text field. This text field is inside a movie clip that simply fades over the course of a few seconds. &lt;br /&gt;&lt;br /&gt;Simple stuff here, but it amuses me! But then, so do sparkly objects and keys, so...&lt;br /&gt;&lt;br /&gt;Anyway, you'll find the .as file below (that houses the origin point's controls) and the .fla containing the code. The "testTxt.txt" is the text the .swf pulls from, so if you want to save these files to your local machine, be sure to grab that little guy, too.&lt;br /&gt;&lt;br /&gt;ALSO, you may wonder why I have my loadVars line in the onEnterFrame function...sure, it costs a little more computation, BUT this allows for instant updating. You could have this .swf open, modify and save the .txt file, and BAM! The .swf instantly reflects the changes made without have to recompile. Slick, eh?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/testText.txt"&gt;text file&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/textShooterLoading.fla"&gt;.fla source&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/LetterOrigin.as"&gt;.as source&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4951281022933146500?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4951281022933146500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/dynamic-text-loading.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4951281022933146500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4951281022933146500'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/dynamic-text-loading.html' title='Dynamic Text Loading'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-4706057197604779176</id><published>2009-11-27T20:26:00.000-05:00</published><updated>2009-11-27T20:34:44.158-05:00</updated><title type='text'>Shuffle Board</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/scrambleDots.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Ah, simplicity...&lt;br /&gt;&lt;br /&gt;I sat down today and wanted to whip this up. After a couple hours, I realized I was getting nowhere. I was approaching this completely backwards. See, originally I intended to keep an array of the x and y coordinates of each dot. THEN, I wanted to shuffle each of those arrays around and assign them to the dots. This turned into a huge hassle, as I realized by completely shuffling them, you always had some overlap (it was possible to have several dots in the same location). SO, I tried to store each x and y coordinate as a pair into an array. That sort of worked, but based on how I originally added the movie clips to the stage, I could only truly randomize either the rows or the columns. Everything moved in this case, but if all columns were randomized, then all rows would move together as a group.&lt;br /&gt;&lt;br /&gt;So then it hit me. Don't shuffle the coordinates. Shuffle the DOTS! Duh! If I would have approached this from that perspective at the beginning, this would have taken minutes rather than hours. &lt;br /&gt;&lt;br /&gt;Source files:&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/scrambleDots.fla"&gt;scrambleDots.fla&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/Scrambler.as"&gt;Scrambler.as&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-4706057197604779176?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/4706057197604779176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/shuffle-board.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4706057197604779176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/4706057197604779176'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/shuffle-board.html' title='Shuffle Board'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-2698693155987317343</id><published>2009-11-24T23:42:00.000-05:00</published><updated>2009-11-24T23:50:01.417-05:00</updated><title type='text'>CatScope Gradient Mask</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/catScope.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Ooh, masking! For those of you who have never messed around in Flash or any other graphics package, the idea of a "mask" may not be completely clear. The way I think about it is that a mask acts as a window over another image. Look out your window. Think of the outside as a single large image. Your window (NOT the wall!) is the mask. It's a bit misleading in that a mask actually SHOWS something instead of hiding it.&lt;br /&gt;&lt;br /&gt;That being said, the above is an example of a mask. Not only is it a mask, but it's a GRADIENT mask (notice how it fades to black around the edges). Gradient masks can be tricky in Flash, as you have to use a dynamic mask via actionscript instead of simply plopping a mask onto the stage.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-2698693155987317343?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/2698693155987317343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/catscope-gradient-mask.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2698693155987317343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/2698693155987317343'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/catscope-gradient-mask.html' title='CatScope Gradient Mask'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5030692513861063816</id><published>2009-11-23T20:37:00.000-05:00</published><updated>2009-11-23T20:43:13.718-05:00</updated><title type='text'>Painterly</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/painter03.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;This is one of many similar things I've put together. I sort of lumped them all together into a "Painters" series. Essentially you have various leaders that will chase your mouse cursor. As they do, they drop off little dabs of "paint" which fade and drift away after a few moments. &lt;br /&gt;&lt;br /&gt;At some point in the future, I might combine many of the Painters into one single object that I can upload here. There were so many types...some that twinkled, some that DIDN'T fade, some that snaked off into tiny little extra tendrils...&lt;br /&gt;&lt;br /&gt;Once again, a simple but fun one! Enjoy!&lt;br /&gt;&lt;br /&gt;EDIT: Almost forgot! The large version is &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/painter03.swf"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5030692513861063816?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5030692513861063816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/painterly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5030692513861063816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5030692513861063816'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/painterly.html' title='Painterly'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-6927417506445465824</id><published>2009-11-22T22:43:00.000-05:00</published><updated>2009-11-23T20:42:26.674-05:00</updated><title type='text'>Tiles</title><content type='html'>&lt;embed src="http://www.cs.iupui.edu/~cscallah/blogStorage/tiles.swf" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="400"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;This isn't anything TOO amazing, but it's been laying around my drive for a little while. Just a fun little repeating sequence of tiles. And don't think this is the pinnacle of my programming! It's just a tiny little thing I whipped up quickly. Very quickly.&lt;br /&gt;&lt;br /&gt;If you'd like to see it in a larger (1024x768) version, head &lt;a href="http://www.cs.iupui.edu/~cscallah/blogStorage/tiles.swf"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-6927417506445465824?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/6927417506445465824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/tiles.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6927417506445465824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/6927417506445465824'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/tiles.html' title='Tiles'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5675860421138536792.post-5317877382929557118</id><published>2009-11-22T22:09:00.001-05:00</published><updated>2009-11-22T22:12:29.341-05:00</updated><title type='text'>Welcome!</title><content type='html'>Welcome to this brand-spanking new blog! I have decided to set up an area where I can easily showcase my random workings in Flash. Why the title? Well, I've seen a million Flash workings that DO something. Either they're a set animation with a beginning and end, or a game that also only exists for a set time period. My creations tend to be a little more abstract and really don't have a set timeline. You see, they don't really have to &lt;i&gt;do&lt;/i&gt; anything...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For the record, most everything I will be posting in the near future is still in ActionScript 2.0, but I plan to begin educating myself (finally) in AS3 after graduation this December.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5675860421138536792-5317877382929557118?l=coreydoesnothing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coreydoesnothing.blogspot.com/feeds/5317877382929557118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/welcome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5317877382929557118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5675860421138536792/posts/default/5317877382929557118'/><link rel='alternate' type='text/html' href='http://coreydoesnothing.blogspot.com/2009/11/welcome.html' title='Welcome!'/><author><name>Corey</name><uri>http://www.blogger.com/profile/15573063553797866866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_9Ut5e5tHZAY/Swn-OzsKHuI/AAAAAAAAAH4/UC3PBBvz2zg/S220/AIbEiAIAAABDCLiukOX85KfXJSILdmNhcmRfcGhvdG8qKDAzMDRiMTgxNmY3ZGMxMWFiOGU1ZjdjNzUwNGU3M2I3MDRiNTNiYjcwAT3WGejNNuIHd3vwVdH3e2P2BGBi.jpeg'/></author><thr:total>0</thr:total></entry></feed>
