<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sevenson.com.au &#187; ActionScript</title>
	<atom:link href="http://www.sevenson.com.au/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sevenson.com.au</link>
	<description>The online presence of Andrew Sevenson</description>
	<lastBuildDate>Fri, 06 Aug 2010 12:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Strike Fighter</title>
		<link>http://www.sevenson.com.au/actionscript/strike-fighter/</link>
		<comments>http://www.sevenson.com.au/actionscript/strike-fighter/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 12:36:30 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=685</guid>
		<description><![CDATA[Striker Fighter is an 80&#8242;s style arcade shooter that I built at Visual Jazz for the Defence Jobs Games website. It was really fun to build and really fun to play. At least, I think it is. I spent so long on it that it has become hard to tell It was actually completed months [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/08/05/GameTile.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/GameTile-300x167.jpg" alt="" title="Strike Fighter Game Tile" width="300" height="167" class="alignright size-medium wp-image-676" /></a>Striker Fighter is an 80&#8242;s style arcade shooter that I built at <a href="http://visualjazz.com.au/#/portfolio/strike_fighter">Visual Jazz</a> for the <a href="http://games.defencejobs.gov.au/#/games/strikefighter">Defence Jobs Games</a> website.  It was really fun to build and really fun to play.  At least, I think it is.  I spent so long on it that it has become hard to tell <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It was actually completed months ago, I&#8217;ve just been lazy about adding it to my site.<br />
 <span id="more-685"></span><br />
<br clear="both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/TitleScreen.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/TitleScreen-300x202.jpg" alt="" title="Strike Fighter Title Screen" width="300" height="202" class="alignleft size-medium wp-image-682" /></a>The basis of the game is pretty standard &#8211; fight your way through wave after wave of enemy jets, and get as many points as you can. </p>
<p>To help keep things interesting there are two different styles of play &#8211; Campaign and Survival.<br />
<br clear="both"/></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/08/05/DesertMissile.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/DesertMissile-300x202.jpg" alt="" title="Strike Fighter Desert Missile" width="300" height="202" class="alignright size-medium wp-image-674" /></a>The &#8216;Campaign&#8217; mode is set out in a stage by stage basis.<br />
There are 7 stages set across 5 different scenes, with each scene containing a different set of enemy aircraft that get progressively more difficult as the game goes on.<br />
At the end of each stage your score and bonuses are added up.  As you score more and more points you unlock new skins for your jet.<br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/LevelComplete.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/LevelComplete-300x202.jpg" alt="" title="Strike Fighter Campaign Level Complete" width="300" height="202" class="alignright size-medium wp-image-677" /></a><br />
You are also given the opportunity to spend the credits you collect on upgrades for your jet.  These are spread across three key areas &#8211; Armament, Avionics and Electronics &#8211; and include things like faster lock-on times, multiple missiles, radar jamming, agility upgrades, etc.<br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/Upgrades.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/Upgrades-300x202.jpg" alt="" title="Striker Fighter Upgrades Screen" width="300" height="202" class="alignright size-medium wp-image-683" /></a><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/NightBoss.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/NightBoss-300x202.jpg" alt="" title="Strike Fighter NightBoss" width="300" height="202" class="alignright size-medium wp-image-680" /></a><br />
At the end of the last three areas you are confronted by extremely large &#8216;bosses&#8217; that almost fill the screen.  They attempt to ram you as well as bombard you with multiple missiles. Arghhh!<br />
<br clear="both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/SurvivalStages.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/SurvivalStages-300x202.jpg" alt="" title="Strike Fighter Survival Mode" width="300" height="202" class="alignleft size-medium wp-image-681" /></a>Survival mode is kinda the same except that instead of a &#8216;mission&#8217; based approach, you get just one life and fight through as many waves of enemy jets as you can. You also get to choose which scene the game will be set in, so you can practice with the various sky lines.<br />
<a href="http://www.sevenson.com.au/content/uploads/2010/08/05/GameOver.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/08/05/GameOver-300x202.jpg" alt="" title="Strike Fighter Game Over Screen" width="300" height="202" class="alignleft size-medium wp-image-675" /></a></p>
<p><br clear="both"/></p>
<h2>Nerdy Stuff</h2>
<p>So, how is it built?  Well, for starters it is all done in flash, which I think would be kinda obvious since that is what I tend to work with.</p>
<p>An original source of inspiration came from the <a href="http://flash-games.wonderfl.net/blog/2010/07/abc-flyer.html">ABC Flyer</a> experiment over at wonderfl.net.  The source code was very informative, but way over my head in some areas, so I kinda got lost with some of the 3D stuff going on. </p>
<p>The 3D engine I ended up using for the game was Away3D lite (<a href="http://away3d.com/">away3d.com/</a>) which luckily for me came out around the time that I started this project.  Up until that time I had only ever used PaperVision 3D, but I kinda wanted something smaller and faster to keep the game running smoothly.  I found Away3D Lite to be really easy to use and was soon up and running with a demo similar to the wonderfl example.</p>
<p>Without going into too much detail, here is how some of the inner workings work:</p>
<p>The model of the F35 jet was a 3D model that the 3D guys at VJ built. I added in a 3D cone at runtime to act as the flame for the AfterBurner which I simple scaled up and down to suit the speed.  I also added in some contrails to the wing tips by generating a series of semi-transparent white planes that were laid out to form a line.</p>
<p>The missiles use a similar technique as the contrails. They are a small cone shape which drops out a series of transparent planes behind it. </p>
<p>The enemy jets are simple 2D planes with a jet texture added on. They all use a common tweened motion path some predefined constraints with some randomness chucked in for good measure.</p>
<p>The ground / water is a simple plane with a tiled bitmap texture.  Rather than move the plane, the bitmap data of the texture itself is offset based on the speed of the game.   The sky / background is another plane that is positioned so that the bottom slightly overlapped the floor plane. The bottom of the background texture faded out to transparent so that it blended nicely with the ground level.</p>
<p>That covers the main mechanics of the game.</p>
<p>Massive kudos to the 3D guys at VJ that did all the models, as well as the designers who set up all the in game graphics and backgrounds for the various scenes.</p>
<p>You can check the game on the <a href="http://games.defencejobs.gov.au/#/games/strikefighter">Defence Jobs Games</a> site.  You can also read about it on the <a href="http://visualjazz.com.au/#/portfolio/strike_fighter">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/actionscript/strike-fighter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jay Jays Jayvatar Builder Goes Live</title>
		<link>http://www.sevenson.com.au/ramblings/jay-jays-jayvatar-builder-goes-live/</link>
		<comments>http://www.sevenson.com.au/ramblings/jay-jays-jayvatar-builder-goes-live/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 12:44:24 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=458</guid>
		<description><![CDATA[This week the Jay Jays Jayvatar Builder that Visual Jazz created went live. It&#8217;s a cool little tool that lets you create your own custom avatar for use on the Jay Jays site. Whith a very unique style and heaps of options you are sure to create some very cooky characters. This first release consists [...]]]></description>
			<content:encoded><![CDATA[<p>This week the <a href="http://www.jayjays.com.au" title="Check out the Jayvatar Builder on the Jay Jays site">Jay Jays</a> Jayvatar Builder that <a href="http://www.visualjazz.com.au" title="Check out the Visual Jazz site after you finish reading here">Visual Jazz</a> created went live.  It&#8217;s a cool little tool that lets you create your own custom avatar for use on the Jay Jays site.</p>
<p>Whith a very unique style and heaps of options you are sure to create some very cooky characters.</p>
<p><span id="more-458"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Editor.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Editor-300x211.png" alt="Screen shot of the Jayvatars Editor Page" title="Jayvatars Editor Page" width="300" height="211" class="alignleft size-medium wp-image-459" /></a>This first release consists mostly of the Jayvatar builder, which is where you can create your custom jayvatar by combining any of the various pieces of clothing and accessories.  You can also choose between male and female body types, as well as different attributes, such as height, weight and arm length.  </p>
<p>There is even a &#8216;random&#8217; button for the less visually creative that generates a random jayvatar automatically.</p>
<p>Once you have completed creating you Jayvatar, you can save it and share it via facebook, twitter and email.  You can also save a version onto your computer for whatever reason you have in mind.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Playground.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Playground-300x212.png" alt="Screenshot of the Beta Jayvatars Playground" title="Jayvatars Playground" width="300" height="212" class="alignleft size-medium wp-image-462" /></a>You can also play around with your Jayvatar in the Javatar Playground.<br/> Here you can make your Jayvatarcan fly around the screen, bump items, crash down, etc.</p>
<p>At the moment the playground is just a Beta version so there is only a limited amount of interactivity happening.  There full release will allow you to do a lot more.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/Jayvatars.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/Jayvatars.jpg" alt="Some random javatars" title="Jayvatars" width="600" height="277" class="alignnone size-full wp-image-479" /></a></p>
<p>As a bonus, those people from Australia and New Zealand that sign up soon will be given a free $10 voucher to spend in store&#8230; BONUS! </p>
<p>So what are you waiting for?  Head over to the <a href="http://www.jayjays.com.au" title="Check out the Jayvatar Builder on the Jay Jays site">Jay Jays</a> site and create your own..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/ramblings/jay-jays-jayvatar-builder-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enviromaniac Games</title>
		<link>http://www.sevenson.com.au/showcase/enviromaniac-games/</link>
		<comments>http://www.sevenson.com.au/showcase/enviromaniac-games/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:31:28 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=374</guid>
		<description><![CDATA[A few months back, Visual Jazz (the place I work) was building a new site for Visy called Visy Enviromaniacs. The purpose of the site was to help educate children about the environment, teaching them about recycling, saving energy, etc. To help make the learning for fun and keep the kids interested, a major section [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon.jpg" alt="Icon for the Enviromaniacs showcase" title="Enviromaniacs Icon" width="250" height="190" class="alignright size-full wp-image-481" /></a>A few months back, <a href="http://www.visualjazz.com.au" target="_blank">Visual Jazz</a> (the place I work) was building a new site for Visy called <a href="http://www.visyenviromaniacs.com.au/" target="_blank">Visy Enviromaniacs</a>.  The purpose of the site was to help educate children about the environment, teaching them about recycling,  saving energy, etc.</p>
<p>To help make the learning for fun and keep the kids interested, a major section of the site was a series of mini games with a planet saving theme.  It was my job to build those games&#8230;  I love my job <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Read on to hear about the games, and then check them out at <a href="http://www.visyenviromaniacs.com.au/" target="_blank">VISY Enviromaniacs</a>.<br />
<span id="more-374"></span><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/home.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/home-300x191.jpg" alt="Home Screen of Environmaniacs" title="Home Screen of Environmaniacs" width="300" height="191" class="alignleft size-medium wp-image-482" /></a> Each of the games had a different theme, focussing on different ways to save the environment.  To keep things interesting, we made sure that the games were also different in the way that they played.  We didn&#8217;t one to have 5 of the same game with just a graphics changed.</p>
<p>As always, deadlines were tight, but the managers and designers that I worked with were right on top of things, so it all ended up falling into place.</p>
<p>Here is a quick run through of what we made:</p>
<hr/>
<h2>Recycle Frenzy</h2>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/frenzy1.jpg" alt="Recycle Frenzy Title Screen" title="Recycle Frenzy Title Screen" width="345" height="318" class="alignright" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/frenzy2.jpg" alt="Recycle Frenzy Screen Shot" title="Recycle Frenzy Screen Shot" width="345" height="318"  class="alignright" /></p>
<p>Recycle Frenzy was the first game we made.  It was a bit of across between Bejeweled, Tetris and a sorting game.  Pieces of litter would be added to the bottom of the screen, one row at a time.  The player would have to drag the pieces of litter the appropriate bin &#8211; general waste, recycling, paper or green waste. </p>
<p>If the rubbish made it all the way to the top of the screen, the game was over.</p>
<p>To add a bit of spice to the game, the player could swap the positions of litter by dragging them around the grid.  Arranging litter into larger groups before dragging it to the bin would result in bonus points being added to the score.  </p>
<p>Also, by filling up the bins the user unlocked &#8216;power ups&#8217; that allowed them to do things like remove an entire row or column with a single click.</p>
<p>Keeping with the tradition with these types of games, the speed would gradually increase as the game went on, causing for some very frantic game play &#8211; hence the &#8216;frenzy&#8217; part <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>
<h2>Energise the Earth</h2>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy1.jpg" alt="Energise the Earth Intro" title="Energise the Earth Intro" width="345" height="318"   class="alignleft" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy2.jpg" alt="Energise the Earth Screen Shot" title="Energise the Earth Screen Shot" width="345" height="318"  class="alignleft" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy3.jpg" alt="Energise the Earth Screen Shot" title="Energise the Earth Screen Shot" width="345" height="318"  class="alignleft" /></p>
<p>Energise the Earth is a bit of a strange game.  It is a very simple concept, but proved to be a bit harder to build then initially thought.</p>
<p>The basic idea of the game is to collect the energy that is escaping from appliances around the house.  As you look around the room, &#8216;energy tokens&#8217; will jump out from different appliances and you have to roll your mouse over them to collect them.</p>
<p>Each room you enter has a specified number of energy tokens you have to collect to successfully pass the room.  If you reach that amount, you move onto the next room. If you don&#8217;t, it is game over.</p>
<p>There are 5 rooms in total, including the living room, study, kitchen, laundry and bedroom.  If you pass all of the rooms, you start again, but with higher umber of tokens required in each of the rooms.</p>
<p>It is surprising frantic and keeping up with the pace can be quite stressful.  Good luck! <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>
<h2>Wild About Water</h2>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/water1.jpg" alt="Wild About Water Intro" title="Wild About Water Intro" width="345" height="318"  class="alignleft" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/water2.jpg" alt="Wild About Water Screen Shot" title="Wild About Water Screen Shot" width="345" height="318"  class="alignleft" /></p>
<p>Wild About Water was the second game I had to build.  This one was a bit more complex and confusing, but one you get the hang of it, it is quite addictive and satisfying.</p>
<p>The idea behind it is that you have to keep on top of all the possible water wasting events that occur around a house.  Everything from fixing dripping taps to covering swimming pools to prevent evaporation.  When something goes wrong, you are alerted and given an amount of time to fix the problem.  The longer you take to fix the problem, the more water you will lose.  If you run out of water, the game is over.</p>
<p>It&#8217;s not all bad though.  When you fix a problem, you are given the chance to collect that water with your bucket, adding to your overall water total.</p>
<p>If that wasn&#8217;t enough though, there are a couple of side tasks you have to keep in mind. Firstly, you have to keep the plants alive by giving them some of your water at regular intervals. Secondly, you have to drag dishes to the dish washer and clothes to the washing machine, making sure that the machines are full before they start so that you don&#8217;t waste water.</p>
<p>As I write this, it does sound overly complex, but like I said at the start, once you get used to it, it does prove to be a challenge.</p>
<hr/>
<h2>Bitter About Litter</h2>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/litter1.jpg" alt="Bitter About Litter Intro" title="Bitter About Litter Intro" width="345" height="318" class="alignright" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/litter2.jpg" alt="Bitter About Litter Screen Shot" title="Bitter About Litter Screen Shot" width="345" height="318" class="alignright" /></p>
<p>Bitter about Litter is all about collecting and sorting litter.    Sounds like fun, I know, but the game does go a long way to making it so.</p>
<p>You control a guy, in a park full of litterers.  As they drop throw their litter on the ground, you run over and pick it up.  You then bring it back to your bins where you quickly sort it into either waste or recycling.</p>
<p>When there is litter on the ground, your health begins to drop.  The more litter that is there, the faster your health will drop.  When you put rubbish int the bins, you get a bit of your health back &#8211; as long as it is going into the right bin.  When your health runs out, the game is over.</p>
<p>To add some more interest to the game, the player is awarded bonus points for sorting items of rubbish into the the bins without making mistakes.  There are also bonus points for returning with as much rubbish as you can carry.</p>
<p>Another nice feature we slotted into the game is that the character in the game actually takes on the look of the player&#8217;s &#8216;enviromaniac&#8217; avatar.  A small thing I know, but still pretty cool.</p>
<hr/>
<h2>Pick Your Packets</h2>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/packets1.jpg" alt="Pick Your Packets Intro" title=" Pick Your Packets Intro" width="345" height="318" class="alignright"" /><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/packets2.jpg" alt="Pick Your Packets Screen Shot" title="Pick Your Packets Screen Shot" width="345" height="318" class="alignright" /></p>
<p>Pick Your Packets is all about learning and identifying the different packaging types you may encounter in the super market.  </p>
<p>The player is given the task of sorting the various products into either good or bad packaging types.  Good items get scanned and added to the shopping basket, bad items get returned to the store.  To help them out, when ever they pick up a product a small description is displayed on the check-out display.</p>
<p>As the game goes on, the items on the conveyor begin to come out more rapidly. If the player is not fast enough, the products will begin to back up, causing the players health to drop.  If the health reaches 0, the game is over.</p>
<hr/>
<p>Thats pretty much it so far.  If you are interested in checking them out just head over to the <a href="http://www.visyenviromaniacs.com.au/" target="_blank">VISY Enviromaniac</a> site.  Also, big Kudos to the team at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> who I work with.  They did an awesome job on building the site.  You can read a bit about it on the VJ site <a href="http://www.visualjazz.com.au/#/portfolio/enviromaniacs" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/enviromaniac-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sciences at Melbourne Website</title>
		<link>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/</link>
		<comments>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:30:06 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision 3D]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=379</guid>
		<description><![CDATA[Did you ever get the feeling that you were being tested? That&#8217;s what happened to me with this site. The designers I work with at Visual Jazz really like to push us developers some times. When I first saw the designs for it I remember saying to myself &#8216;Gosh darn! How is one supposed to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon1.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon1.jpg" alt="" title="Melbourn University Sciences Icon" width="250" height="190" class="alignright size-full wp-image-486" /></a>Did you ever get the feeling that you were being tested?  That&#8217;s what happened to me with this site.  The designers I work with at <a href="http://www.visualjazz.com.au" target="_blank">Visual Jazz</a> really like to push us developers some times.</p>
<p>When I first saw the designs for it I remember saying to myself &#8216;Gosh darn! How is one supposed to go about doing that??&#8217; (I may have used some more colourful language but you get the jist)   I had never done 3D before, and that was just the beginning.  There was depth of field, keyed out video, and a pile of information to be displayed.</p>
<p>Luckily, it all came together in the end &#8211; you can read about how in this post.  </p>
<p><span id="more-379"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/home1.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/home1-300x191.jpg" alt="" title="Melbourne University Home Screen" width="300" height="191" class="alignleft size-medium wp-image-485" /></a>The main idea behind the site was for a big 3D column with 3 spiralling streams of video screens wrapped around it.  The user could spin and pan the column around to see the different screens.  When they click on one, it would come to the foreground where a video would then play.</p>
<p>The first place I started was to learn about PaperVision 3D.  Luckily for me, there is a huge number of posts and tutorials to get me started.  Yay for the internet!</p>
<p>Once I had the customary 3D primitives floating around on screen, I started looking into the problem of faking depth of field.  The idea I had was to create a series of blurred textures for each object, then swap them out based on their distance from the camera.  If you want a bit more detail on this, check out an post I wrote on it <a href="http://www.sevenson.com.au/actionscript/depth-of-field/">here</a>.</p>
<p>There were of course some other tricky items involved &#8211; because the screens have some depth to them, simply blurring the textures did not look right.  I had to make it so that when the screens got about halfway back, they were swapped over with a basic plane.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/student.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/student-300x191.jpg" alt="" title="Melbourne University Student Page" width="300" height="191" class="alignright size-medium wp-image-488" /></a><a href="http://www.sevenson.com.au/content/uploads/2010/02/studentDetail.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/studentDetail-300x191.jpg" alt="" title="Melbourne University Student Detail Page" width="300" height="191" class="alignright size-medium wp-image-489" /></a>The next 3D problem was the curved lines.  We could have just had some curved lines modelled up in max, but because we wanted the lines to blur, they had to be done in a similar way to the other blurry objects.  I ended up coming up with a bit of code that would generate the curved lines from a series of small straight lines, basically aligning them from end to end.  This allowed me to blur individual segments, which wasn&#8217;t a perfect result, but worked pretty damn well.</p>
<p>I can&#8217;t even remember the exact method &#8211; I just know that it included a fair bit of trigonometry and experimentation. </p>
<p>The last 3D part was getting the videos to line up with the 3D screens when they were selected.  It took a bit of playing around, but after a bit of googling and tweaking some figures I finally got it all lining up nicely.  There is bit of a formula to getting 3D graphics to line up, but once you know it, it just works.</p>
<p>Oh, as for the big green curved shapes, they were pretty simple.   They were simplymodelled up by the 3D guys and loaded into the scene via a Collada (DAE) file.  Apart from some minor texture path issues, they were probably the easiest parts of the site.</p>
<p>The videos themselves were pretty cool.  Each of the students represented on a screen was filmed on a keyed background, walking out from behind the panel.  They would then introduce themselves before returning back to behind the panel.  It was a pretty simple trick, but proved to be quite effective.  There was a little bit of trickery involved getting the walking in and out to look right, but we got there in the end.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/parents.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/parents-300x191.jpg" alt="Melbourne University Sciences - Info for Parents" title="Melbourne University Sciences - Info for Parents" width="300" height="191" class="alignleft size-medium wp-image-487" /></a>After all of that, the only remaining content was a series of different informational pages.  These were pretty straightforward and were achieved by using a template system that was run off of XML based content.  This allowed us to easily add and edit content to the site without the need for an entire rebuild.</p>
<p>Overall it was a pretty cool project, so check it out if you get the chance &#8211; <a href="http://sciences.melbourne.edu/" target="_blank">Sciences at Melbourne</a>. You can also read about it on the <a href="http://www.visualjazz.com.au/#/portfolio/uni_melbourne_sciences/" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Bakery</title>
		<link>http://www.sevenson.com.au/showcase/virtual-bakery/</link>
		<comments>http://www.sevenson.com.au/showcase/virtual-bakery/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:29:48 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=383</guid>
		<description><![CDATA[Sometimes in this line of work someone gives you a job that is nothing but fun. Visual Jazz was rebuilding the entire Baker&#8217;s Delight website, and as a bit of a side project we were given the task of building a virtual bakery in Flash. The bakery was to be a high gloss virtual representation [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon2.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon2.jpg" alt="" title="Bakers Delight Icon" width="250" height="190" class="alignright size-full wp-image-492" /></a>Sometimes in this line of work someone gives you a job that is nothing but fun.</p>
<p><a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> was rebuilding the entire Baker&#8217;s Delight website, and as a bit of a side project we were given the task of building a virtual bakery in Flash.  The bakery was to be a high gloss virtual representation of one of their stores, allowing visitors to browse through a sample selection of their products.</p>
<p>It was a simple project with a pretty cool looking result. Read on to find out some of the features, and then check it out at <a href="http://www.bakersdelight.com.au/virtual.html" target="_blank">http://www.bakersdelight.com.au/virtual.html</a>.</p>
<p><span id="more-383"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/loader.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/loader-300x191.jpg" alt="" title="Bakers Delight Virtual Breadstore Preloader" width="300" height="191" class="alignleft size-medium wp-image-493" /></a>Going through in a chronological order, the site starts off with a steaming loaf of bread.  The loading progress of the site is spelled out in the steam coming off of the bread.  This neat little trick was created using DisplacementMap filters in Flash.  It was a pretty simple trick, once I learned out displacement maps actually worked.<br clear="both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/store.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/store-300x191.jpg" alt="" title="Bakers Delight Virtual Breadstore Store Front" width="300" height="191" class="alignright size-medium wp-image-495" /></a><a href="http://www.sevenson.com.au/content/uploads/2010/02/range.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/range-300x191.jpg" alt="" title="Bakers Delight Virtual Breadstore Category" width="300" height="191" class="alignright size-medium wp-image-494" /></a>After that, the user is presented with the store front.  All of the different categories are laid out on display in the store.  The store was set up such a way that it panned and distorted based on mouse movement, giving the slight feeling that you were looking around a store.  It is a very subtle effect, but took some careful cutting out of graphics to make it work without looking like a room made of rubber.</p>
<p>A staff member is situated in the store holding up different promotional signs.  These signs can be easily swapped out for different promotions, and linked to any external pages required.</p>
<p>As an extra subtle little thing &#8211; if you look closely at the counter you will see that it reflects the mouse along its curved surface.  This again was created via the use of displacement maps.</p>
<p>When the user clicks on a category, the camera zooms in on the staff member, who holds up a board displaying all of the products.  The products are displayed in a traditional paged grid system.  Nothing too fancy going on here &#8211; but it does look pretty clean. </p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/detail.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/detail-300x191.jpg" alt="Bakers Delight Virtual Breadstore Product Detail" title="Bakers Delight Virtual Breadstore Product Detail" width="300" height="191" class="alignleft size-medium wp-image-491" /></a>When a product is selected, the grid collapses down to a single line so that the details of the product can be displayed.  This looks like a simple enough effect, but getting this grid to figure out how it should collapse and expand proved to be one of the most difficult tasks on this site.</p>
<p>The detail view of the product displayed the usual information you would expect.  The cool, and possibly over the top, part of this page was that some of the products were shot in a 360 degree fashion, allowing the user to spin/rotate the product around so it could be seen from any side.</p>
<p>That about sums it up.  I love it when I get to work on projects like this <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can check out the entire new Baker&#8217;s Delight website at <a href="http://www.bakersdelight.com.au/" target="_blank">http://www.bakersdelight.com.au/</a>.  You can also read about the project over at the <a href="http://www.visualjazz.com.au/#/portfolio/bakers" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/virtual-bakery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liv Doll Microsite</title>
		<link>http://www.sevenson.com.au/showcase/liv-doll-microsite/</link>
		<comments>http://www.sevenson.com.au/showcase/liv-doll-microsite/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:26:29 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision 3D]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=387</guid>
		<description><![CDATA[Working at Visual Jazz does expose me to some interesting scenarios/ I mean, playing with dolls for a couple of weeks isn&#8217;t my usual idea of a good time, but this funky little microsite had some pretty cool features that had my brain ticking over the whole time. Some interesting 3D modelling and animation coupled [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon3.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon3.jpg" alt="Liv Doll Microsite Icon" title="Liv Doll Microsite Icon" width="250" height="190" class="alignright size-full wp-image-500" /></a>Working at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> does expose me to some interesting scenarios/  I mean, playing with dolls for a couple of weeks isn&#8217;t my usual idea of a good time, but this funky little microsite had some pretty cool features that had my brain ticking over the whole time.</p>
<p>Some interesting 3D modelling and animation coupled with my first attempt augmented reality in flash made for some puzzling times.  Drench all that in a healthy dose of girly-ness and you get <a href="http://www.livinmyworld.com.au/" target="_blank">www.livinmyworld.com.au</a>.</p>
<p>Read on to find out more some of the more nerdy details <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-387"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/home2.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/home2-300x191.jpg" alt="Liv Doll Microsite" title="Liv Doll Microsite" width="300" height="191" class="alignleft size-medium wp-image-499" /></a>The idea behind the Liv doll site was to invite visitors to try out some of the different clothing accessories on a 3D version of a doll.  Once they have found a look that they are happy with they can use a webcam and augmented reality to take a photo of themselves posing with the doll.  This photo can then be saved, printed or sent on to their friends.</p>
<p>My job as the ActionScripter was to take all the designs, models and animations and make it all work.  Easy peasy&#8230; sort of.</p>
<p>The base of the site was pretty simple. It followed a basic page structure using on lots of flat colours, shading and bouncy transitions to help bring the site to life. Overall it was a very &#8216;happy&#8217; site and I had a lot of fun putting it together.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/dress.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/dress-300x191.jpg" alt="Liv Doll 3D Dress-up" title="Liv Doll 3D Dress-up" width="300" height="191" class="alignright size-medium wp-image-497" /></a>The tricky stuff started with the 3D.  Papervison was my weapon of choice. Mostly because I had used it before, but also because we hit some early snags with Away3D and I didn&#8217;t have time to try and resolve them.</p>
<p>Because we were allowing the user to change the hair, top and pants on the 3D model, each part had to be imported separately.  The 3D guy had loads of fun generating the different clothes, animating them, and then splitting them up for me.</p>
<p>These split up files meant that I needed to create a way to manage the loading of models and the related textures.  That was easy enough, but  part way through the process we noticed that some of the model combinations resulted in clipping.  This didn&#8217;t look very good and actually had an impact on the performance.</p>
<p>I discovered that if I applied an alpha channel to the offending model&#8217;s texture, the clipping went away and the performance improved (Sounds strange right?  Adding transparency made it run better?  Go figure). With this in mind I created a data management object which would load the required models and textures, then figure out what masking was required to make it all look good.</p>
<p>Sounds easy when I write it like that, but it actually got quite complex.  I basically had to write a matrix that would look at what clothes you were matching up, load the required textures, then merge the alpha channel with the textures before finally applying it to the model.</p>
<p>Next big thing was the animation of the models.  Not that playing the animation was hard, but keeping all the models in sync as they were swapped around was.  The animation controls in PaperVision weren&#8217;t the greatest for what I needed to do so I ended up using the <a href="http://code.google.com/p/daeanim/" target="_blank">DAE MC2</a> classes.  They allowed me to treat the animations a bit more like a MovieClip, so it was a lot easier to keep everything in sync.</p>
<p>The final big hurdle was the Augmented Reality (AR).  For this I used the awesome <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLAR ToolKit</a> for this.  Unfortunately, a lot of the docs were in Japanese, so I ended up hunting down a tutorial/example over at <a href="http://www.mikkoh.com/blog/?p=182" target="_blank">Mikko Haapoja&#8217;s Blog</a>.  This got me up and running in no time.  </p>
<p>Out of the box it didn&#8217;t perform as well as I would have liked, so I spent a bit of time tweaking the code to make it run better.  Nothing too spectacular, just simple things like shrinking the size of the webcam image to reduce the number of calculations required and only calculating &#8216;every other&#8217; frame.</p>
<p>Another little tweak I did was to apply a basic &#8216;ease&#8217; to the model position.  This helped smooth out the little motions that the camera picked up and helped make AR feel much more responsive.</p>
<p>That&#8217;s about it.</p>
<p>Overall I am extremely happy with the site.  The designers and 3D modellers I work with at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> did an awesome job of building the assets and despite the technical difficulties I mentioned above, it all came together well in the end.</p>
<p>If you haven&#8217;t checked it out already, go have a look at it <a href="http://www.livinmyworld.com.au/" target="_blank">here</a>.  You can also read a bit about it on the <a href="http://www.visualjazz.com.au/#/portfolio/livinmyworld" target="_blank">VJ Site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/liv-doll-microsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorado Microsite</title>
		<link>http://www.sevenson.com.au/showcase/colorado-microsite/</link>
		<comments>http://www.sevenson.com.au/showcase/colorado-microsite/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 11:28:58 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=385</guid>
		<description><![CDATA[Colorado is tough at work and at play. Thats the idea behind this microsite that I helped build at Visual Jazz. The whole thing was built in flash and oozed manliness from start to finish. It was my job to do all the flash programming to make this site come to life. Read on to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon4.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon4.jpg" alt="" title="Colorado Icon" width="250" height="190" class="alignright size-full wp-image-506" /></a>Colorado is tough at work and at play.  Thats the idea behind this microsite that I helped build at <a href="http://www.visualjazz.com.au/">Visual Jazz</a>. The whole thing was built in flash and oozed manliness from start to finish.</p>
<p>It was my job to do all the flash programming to make this site come to life.</p>
<p>Read on to hear me ramble on a bit more about some of the details.</p>
<p><span id="more-385"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/ColoradoHome.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/ColoradoHome-300x191.jpg" alt="" title="Colorado Home Page" width="300" height="191" class="alignleft size-medium wp-image-503" /></a>The main base for the site was split into two different sides.  One side was the rough and tough &#8216;work&#8217; side, full of rough, dark, industrial areas.  The other side was the brighter &#8216;play&#8217; side with a much more fun feel.</p>
<p><br clear="both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/coloradoWorkHard.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/coloradoWorkHard-300x191.jpg" alt="" title="Colorado Work Hard" width="300" height="191" class="alignright size-medium wp-image-505" /></a>Different sections of the site were related to either work or play.  When a section was navigated to the entire background would pan left or right using a pretty cool parallax effect, with all the elements moving at slightly different speeds.  To help give a bit of atmosphere, I did some quick little animation effects.  These included some random floating clouds the work their way across the screen, as well as a random flock of birds that can occasionally be seen flying in the background.</p>
<p>Page elements animated into place using quick, almost &#8216;bouncy&#8217; motions, tweaked slightly to make the elements feel as though they had some weight to them. The panel that is used to display second level information is a very good example of this, as is falls into place like a heavy bit of steel.</p>
<p>I set up the base code for the buttons in such a way that the designers could easily create custom animation effects.  Examples of these can be seen throughout the site, as every major button tends to have a unique animation applied.</p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/Colorado360.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/Colorado360-300x191.jpg" alt="Colorado 360" title="Colorado 360" width="300" height="191" class="alignleft size-medium wp-image-502" /></a>One particular page of note was the accessories page which used a series of photographs to generate a 360 degree view of the vehicle.  As the user drags the vehicle around, different features come into view, allowing more information to be displayed.  I wish I could say that this was done using some fancy coding, but it is actually a carefully laid out timeline animation controlled via some code.</p>
<p>Full credit has to go to the designer for this site.  The rough &#8216;manly&#8217; feel of the site really worked well, and the elements he gave me to work with made my job a pleasure.</p>
<p>Although it was created a while ago, it is still a pretty cool site and can be checked out at <a href="http://www.holdencampaign.com.au/colorado/#/home/" target="_blank">http://www.holdencampaign.com.au/colorado/</a>.  You can also read about the project over at the <a href="http://www.visualjazz.com.au/#/portfolio/colorado" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/colorado-microsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jetstar Photo Competition Site</title>
		<link>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/</link>
		<comments>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 04:45:32 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=377</guid>
		<description><![CDATA[Last year, Jetstar ran a photography competition that was open to both amateurs and professionals. There were 5 categories that people could enter, with the only requirement being that the photograph be taken in one of the destinations that Jestar flies to. Overall the site was a big success and ended up getting over 35,000 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/icon5.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/icon5.jpg" alt="" title="Jetstar Photo Comp Icon" width="250" height="190" class="alignright size-full wp-image-511" /></a>Last year, Jetstar ran a photography competition that was open to both amateurs and professionals.  There were 5 categories that people could enter, with the only requirement being that the photograph be taken in one of the destinations that Jestar flies to.</p>
<p>Overall the site was a big success and ended up getting over 35,000 entries.  </p>
<p>The entire site was built in Flash and working at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a>, I was on the team that helped put it all together.</p>
<p>You can check out the site at <a href="http://www.jetstarphotocomp.com/" target="_blank">http://www.jetstarphotocomp.com/</a> then read on here for a brief run through of what I did on it.</p>
<p><span id="more-377"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/home3.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/home3.jpg" alt="" title="Jetstar Photo Comp Home Page" width="293" height="207" class="alignleft size-full wp-image-510" /></a>Overall the site wasn&#8217;t overly huge.  There was only about 6 different sections to the site, but some of them were a little bit tricky due to the integration with the backend database.</p>
<p>The major part I worked on was the photo gallery, which ended up being one of the more complex parts of the site.</p>
<p><br style="clear:both"/></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2010/02/gallery1.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/gallery1.jpg" alt="" title="Jetstar Photo Comp Gallery" width="299" height="212" class="alignright size-full wp-image-508" /></a><a href="http://www.sevenson.com.au/content/uploads/2010/02/gallery2.jpg"><img src="http://www.sevenson.com.au/content/uploads/2010/02/gallery2.jpg" alt="" title="Jetstar Photo Comp Gallery Detail" width="299" height="212" class="alignright size-full wp-image-509" /></a>The main code for the gallery was based on <a href="http://www.simpleviewer.net/tiltviewer/app/" title="Tilt Viewer" target="_blank">TiltViewer</a>.  It did everything it was supposed to very well, but it had to be altered a fair bit to achieve the desired effect.  It had to be set up to work with the custom CMS that had been developed in house, as well as display a custom &#8216;detail&#8217; screen of the image.</p>
<p>It also needed to be able to support deep linking to particular photos via the use of SWFAddress, as well as the general filtering you would expect on a  gallery of this type, including category and keyword.</p>
<p>On an nerdy note, I had to do some alterations in order to improve the performance, due to the fact that the images we were showing were a fair bit bigger then would normally be used.  This included, strangely enough, limiting the amount of tilt that was used on the grid &#8211; I&#8217;m guessing that had something to do with the 3D engine?.  The other thing, which made a bit more sense, was to reduce the complexity of the transitions used.</p>
<p>The other section that I worked on was the home page &#8211; it basically just showed the photos of the week, which were pulled from the database via the CMS.  In relation to the gallery, it was not very hard at all <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can check out the site at <a href="http://www.jetstarphotocomp.com/" target="_blank">http://www.jetstarphotocomp.com/</a>. You can also read a bit about it over a the <a href="http://www.visualjazz.com.au/#/portfolio/jetstarphoto" target="_blank">Visual Jazz Site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DisplacementMapFilter Tester</title>
		<link>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/</link>
		<comments>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 04:54:09 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=389</guid>
		<description><![CDATA[Recently I did some work on the a project that required me to use some Displacement Maps. I have never used them before, but after playing with them for a bit I soon realised something&#8230; they are very awesome. They do take a little bit of getting used to, so to help with the experimentation [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2009/09/icon.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/09/icon.jpg" alt="" title="Displacement Tester Icon" width="250" height="139" class="alignright size-full wp-image-518" /></a>Recently I did some work on the a project that required me to use some Displacement Maps.  I have never used them before, but after playing with them for a bit I soon realised something&#8230; they are very awesome.</p>
<p>They do take a little bit of getting used to, so to help with the experimentation I created this little app that makes it easy to test out different image and maps combinations.</p>
<p><span id="more-389"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2009/09/screengrab.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/09/screengrab-300x166.jpg" alt="" title="DisplacementMap Tester Screen Grab" width="300" height="166" class="alignleft size-medium wp-image-521" /></a>The app lets you load in your own images (or use some of my defaults), adjust all the displacement settings and see the final result. It also generates ActionScript 3 code you will need to re-create the effect in your own project.</p>
<p><button id="displacementBtn" rel="#dispmappopup" type="button">Check out DisplacementMap Tester</button></p>
<div class="overlay" id="dispmappopup" style="width:910px;height:510px;background-image:url(http://www.sevenson.com.au/content/actionscript/displacement/largepopupbg.png);">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_swfloader_1567595009"
			class="flashmovie"
			width="900"
			height="500">
	<param name="movie" value="http://www.sevenson.com.au/content/common/swfloader.swf" />
	<param name="flashvars" value="contentURL=http://www.sevenson.com.au/content/actionscript/displacement/dispmaptest.swf&amp;clickToLoad=false&amp;corners=all" />
	<param name="quality" value="high" />
	<param name="wmode" value="window" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.sevenson.com.au/content/common/swfloader.swf"
			name="fm_swfloader_1567595009"
			width="900"
			height="500">
		<param name="flashvars" value="contentURL=http://www.sevenson.com.au/content/actionscript/displacement/dispmaptest.swf&amp;clickToLoad=false&amp;corners=all" />
		<param name="quality" value="high" />
		<param name="wmode" value="window" />
	<!--<![endif]-->
		
<div class="missingFlash">There should be a flash movie here?</div>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></div>
<p>Now, I was going to attempt and explain what a Displacement Map is and how it all works, but I realised that there are already a bunch of resources out that that can do a better job than me.  One in particular that I found quite helpful was this <a href="http://www.emanueleferonato.com/2007/12/03/understanding-flash-displacement-map-filter/" target="_blank">article</a> written by Emanuele Feronato.  Most of it is written in AS2, but the concepts are still the same.</p>
<h3>Update</h3>
<p>I recently created a quick AIR version of this tester so that you don&#8217;t need a net connection to test custom images.  Its not anything fancy.  Just a direct port of this web version, but with local file read access.  </p>
<p>You can download the AIR version here: <a href="http://www.sevenson.com.au/wp-content/plugins/download-monitor/download.php?id=6" title="Downloaded 102 times">Displacement Map Tester (Air Verion)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Epica Microsite</title>
		<link>http://www.sevenson.com.au/showcase/epica-microsite/</link>
		<comments>http://www.sevenson.com.au/showcase/epica-microsite/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 04:48:23 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=381</guid>
		<description><![CDATA[Working at Visual Jazz I tend to get to involved with some pretty cool Holden projects &#8211; a lot of which are flash based microsites. One of those sites was for the Holden Epica. Built entirely in flash, I was responsible for coding most of this site. In comparison to some of the other websites [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sevenson.com.au/content/uploads/2009/10/icon.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/10/icon.jpg" alt="" title="Epica Icon" width="250" height="190" class="alignright size-full wp-image-531" /></a>Working at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> I tend to get to involved with some pretty cool Holden projects &#8211; a lot of which are flash based microsites.  </p>
<p>One of those sites was for the Holden Epica.</p>
<p>Built entirely in flash, I was responsible for coding most of this site.  In comparison to some of the other websites I&#8217;ve worked on it wasn&#8217;t very big, but it did come up looking pretty cool with a very cool / clean look that I really liked.</p>
<p>Read on to get a bit of a spiel and then check it out at <a href="http://www.holdencampaign.com.au/epica/#/home/" target="_blank">here</a>.</p>
<p><span id="more-381"></span></p>
<p><a href="http://www.sevenson.com.au/content/uploads/2009/10/EpicaHome.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/10/EpicaHome-300x208.jpg" alt="" title="Epica Microsite Home Page" width="300" height="208" class="alignleft size-medium wp-image-529" /></a><a href="http://www.sevenson.com.au/content/uploads/2009/10/EpicaExterior.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/10/EpicaExterior-300x208.jpg" alt="" title="Epica Microsite Exterior" width="300" height="208" class="alignleft size-medium wp-image-526" /></a><a href="http://www.sevenson.com.au/content/uploads/2009/10/EpicaFeatures.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/10/EpicaFeatures-300x208.jpg" alt="" title="Epica Microsite Features" width="300" height="208" class="alignleft size-medium wp-image-527" /></a><a href="http://www.sevenson.com.au/content/uploads/2009/10/EpicaRange.jpg"><img src="http://www.sevenson.com.au/content/uploads/2009/10/EpicaRange-300x208.jpg" alt="" title="Epica Microsite Range" width="300" height="208" class="alignleft size-medium wp-image-530" /></a></p>
<p>Using the angle of ticking all the boxes, the designer created a very clean approach for the Epica site.  Nice clean images with a lot of white space and green highlighting created a look that could best be described as &#8216;fresh&#8217;.</p>
<p>The home page uses a pretty cool &#8216;parallax&#8217; effect, with the main features floating around a central image of the car.  When one of these features are clicked, it expands to show an image of the related feature page, as well as a small sub-menu allowing direct access to specific parts of that section.</p>
<p>One of my favourite parts of the site is the &#8216;Clever Design&#8217; section. It uses a floating &#8216;tick&#8217; technique that glides around the image of the car before expanding to display an exploded view of the details.  It was a pretty simple technique to create, using different tween equations for the x and y axis to create the overshooting effect.</p>
<p>The transition / wipe effect on the main images was created using a simple gradient mask which was tweened across the width of the screen.</p>
<p>The &#8216;Key Features&#8217; section of the site uses a similar but different approach.  It has an accordian-style list of the different features, using the &#8216;tick&#8217; as a highlight to show where that particular feature is in the car.</p>
<p>Other sections of the site include a model comparison page, a photo gallery, and the almost mandatory &#8216;colour picker&#8217;, where you can check out all the available colours.</p>
<p>Go and check it out at the <a href="http://www.holdencampaign.com.au/epica/#/home/" target="_blank">Holden Epica Site</a> if you haven&#8217;t already.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/epica-microsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
