<?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>Raven Effects &#187; class</title>
	<atom:link href="http://www.raveneffects.com/wordpress/?feed=rss2&#038;tag=class" rel="self" type="application/rss+xml" />
	<link>http://www.raveneffects.com/wordpress</link>
	<description>multimedia at a snail&#039;s pace</description>
	<lastBuildDate>Thu, 27 Feb 2014 06:20:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>Object(root).evil = true;</title>
		<link>http://www.raveneffects.com/wordpress/?p=189</link>
		<comments>http://www.raveneffects.com/wordpress/?p=189#comments</comments>
		<pubDate>Tue, 02 Apr 2013 17:23:25 +0000</pubDate>
		<dc:creator><![CDATA[snazzyFez]]></dc:creator>
				<category><![CDATA[Cartoon]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[cartoon]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[evil onion]]></category>

		<guid isPermaLink="false">http://www.raveneffects.com/wordpress/?p=189</guid>
		<description><![CDATA[I&#8217;ve taken a week off from updating this as I&#8217;m trying to catch up with everything that always seems to be barreling down my way. I&#8217;m still working on the new onion story, trying to come up with some new interesting backgrounds &#8211; right now, I&#8217;m playing with poster ideas, using various sketch software on [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve taken a week off from updating this as I&#8217;m trying to catch up with everything that always seems to be barreling down my way.</p>
<p>I&#8217;m still working on the new onion story, trying to come up with some new interesting backgrounds &#8211; right now, I&#8217;m playing with poster ideas, using various sketch software on the iPad to try and come up with something.  Hell, I even played with 123D Sculpt to try and make a 3D onion&#8230;. that&#8217;s not coming out as well as I had hoped.  If only I could just sculpt him in real clay, then scan him in.  Because, you know, I have access to all that kind of equipment … or even clay. For now, here he is, squashing a flower.</p>
<p><img class="alignnone size-full wp-image-190" alt="onion squashing flower" src="http://www.raveneffects.com/wordpress/wp-content/uploads/2013/04/onionSquash_v5.gif" width="200" height="105" /></p>
<p>One thing that keeps coming up (thanks in part to Theresa bringing it up on occasion) is, what other kinds of rude things will the evil onion do.  She wants him giving the finger.  What finger?  Do I have to give him arms first?!  Will he need legs too?  Will he end up looking like Chairface Chippendale, except an onion and not a chair?  This is a slippery slope, innit?</p>
<p>Still, today is the first night of class, and I&#8217;m going to see where this new batch takes me. Teaching is always an odd thing to me, since I&#8217;m working off topics that are very familiar to me, I don&#8217;t really feel like I&#8217;m teaching as much as I&#8217;m just explaining the obvious (yes, I know, obvious to me), but I generally feel that this stuff should be fairly easy to pick up once they give it a chance, and I should be there to just elaborate on the simplicity (or complexity) of the general ideas.</p>
<p>This is my second quarter teaching Flash, and I think it&#8217;s going to help me get to the ball rolling faster on the onion.  I think I&#8217;ll be taking the iPad and sketching during lab time a lot this quarter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raveneffects.com/wordpress/?feed=rss2&#038;p=189</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You&#8217;ve learned some coding.</title>
		<link>http://www.raveneffects.com/wordpress/?p=90</link>
		<comments>http://www.raveneffects.com/wordpress/?p=90#comments</comments>
		<pubDate>Fri, 01 Mar 2013 04:30:26 +0000</pubDate>
		<dc:creator><![CDATA[snazzyFez]]></dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.raveneffects.com/wordpress/?p=90</guid>
		<description><![CDATA[Now step back. That&#8217;s today&#8217;s lesson in class. I&#8217;ve shown animation, shape and motion tweening. I&#8217;ve shown how to use timeline code to control different movie clips. Last week I introduced code logic and variables. Today I told them to, well, basically draw. All those bits up there are for moving things around, getting user [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Now step back.</p>
<p>That&#8217;s today&#8217;s lesson in class. I&#8217;ve shown animation, shape and motion tweening. I&#8217;ve shown how to use timeline code to control different movie clips. Last week I introduced code logic and variables. Today I told them to, well, basically draw.</p>
<p>All those bits up there are for moving things around, getting user interactivity working, but that&#8217;s no good if you can&#8217;t come up with something for it to do. For the final project, they have to come up with an interactive something. A something that uses if/else, buttons, etc. Still, before they can get to the if/else, before they can make a button do something, they have to plot out what those somethings are.</p>
<p>So tonight we discussed final projects. Most chose to do a flavor of the following:</p>
<ol>
<li>A match tile game</li>
<li>A system map showing moving trains and possible collisions!</li>
<li>A weather plotting animation &#8211; button clicks will determine how a &#8220;day&#8221; will progress</li>
<li>A phone interface with video chat faked</li>
<li>A she&#8217;ll game with bets and score keeping</li>
</ol>
<p>Quite a few started worrying about the code, but seriously, that can come later. First do the fun stuff, draw out storyboards, figure out animations, deal with the coding later.</p>
<p>Once all the little bits that make the animation cool are ready, then settle in to the coding part. It&#8217;s like cooking, get all the necessary ingredients, mix the right bits together THEN worry about what goes in the oven and what goes in the saucepan.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raveneffects.com/wordpress/?feed=rss2&#038;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using if/else in actual code</title>
		<link>http://www.raveneffects.com/wordpress/?p=79</link>
		<comments>http://www.raveneffects.com/wordpress/?p=79#comments</comments>
		<pubDate>Fri, 22 Feb 2013 20:17:00 +0000</pubDate>
		<dc:creator><![CDATA[snazzyFez]]></dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.raveneffects.com/wordpress/?p=79</guid>
		<description><![CDATA[If (winter storm warning) {    let students go an hour early } Stupid weather.  Barely 3 inches of snow, and none happened till much later!  Still, when you&#8217;re teaching at night and you see a giant blue blob of snow on the radar map, well, you cut everyone out early. Still, I battled on [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>If (winter storm warning)</strong><br />
<strong>{</strong><br />
<strong>   let students go an hour early</strong><br />
<strong>}</strong></p>
<p>Stupid weather.  Barely 3 inches of snow, and none happened till much later!  Still, when you&#8217;re teaching at night and you see a giant blue blob of snow on the radar map, well, you cut everyone out early. Still, I battled on for over 2 hours, so they could try their hand at some simple comparisons complete with score keeping!</p>
<p><a href="../../bobTheJerk.html">Check it out here</a></p>
<p>It&#8217;s fairly simple, and runs on 57 lines of code (49 if you don&#8217;t count empty lines)!  And some of those lines weren&#8217;t actually used (set-up for some extra stuff we never got to). In this, I tried to show how variables interact and change based on conditions set.  The values of money above each character&#8217;s head changes based on variables set based on which face gets clicked on.</p>
<p>Then the faces change based on a comparison of the money amounts.  So every time a face gets clicked, the money amounts change and are checked.  If Bob&#8217;s got more money, he gets all smug.  When Bob has less, he gets mad.</p>
<p>It&#8217;s all taken care of in a bitty function called <strong>checkForJerk</strong>.</p>
<p style="padding-left: 30px;">function checkForJerk():void<br />
{<br />
if (bobsMoney &gt; myMoney)<br />
{<br />
me.gotoAndStop(2);<br />
bob.gotoAndStop(2);<br />
}<br />
else if (myMoney &gt; bobsMoney)<br />
{<br />
me.gotoAndStop(1);<br />
bob.gotoAndStop(3);<br />
}<br />
else<br />
{<br />
me.gotoAndStop(1);<br />
bob.gotoAndStop(1);<br />
}<br />
}</p>
<p>I&#8217;m sure this could have been done easier with a <strong>switch/case</strong> format, but let&#8217;s get through the basics first, shall we?</p>
<p>Oh, and in case you didn&#8217;t notice, yes, I appropriated little troll faces for fun &#8211; no idea who made them, but if I knew, I&#8217;d give credit where it&#8217;s due.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raveneffects.com/wordpress/?feed=rss2&#038;p=79</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Choose your own adventure, or if it&#8217;s sunny outside&#8230;</title>
		<link>http://www.raveneffects.com/wordpress/?p=69</link>
		<comments>http://www.raveneffects.com/wordpress/?p=69#comments</comments>
		<pubDate>Wed, 20 Feb 2013 16:46:51 +0000</pubDate>
		<dc:creator><![CDATA[snazzyFez]]></dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.raveneffects.com/wordpress/?p=69</guid>
		<description><![CDATA[Go to the beach. This is how class started (more or less) last night. More or less. First, the stragglers from the class before slowly packed up their things, said bye to their friends in my class, and shambled off to wherever art/marketing/design/film students meander off to. Seriously, the concept of politeness is dead. I [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Go to the beach. This is how class started (more or less) last night. More or less. First, the stragglers from the class before slowly packed up their things, said bye to their friends in my class, and shambled off to wherever art/marketing/design/film students meander off to. Seriously, the concept of politeness is dead. I just talk over them and let those students who want to be distracted miss out on the opening remarks.</p>
<p>So the dreaded if/else statement was the topic du jour. I spent the entire evening writing on the whiteboard. No computer, no &#8220;start-up Flash and do what I say.&#8221; Well, I told them, &#8220;open up NotePad and type this in.&#8221; Some felt I meant a literal notepad and wrote only in the notebooks, even after I said, &#8220;you&#8217;re turning this in.&#8221; I have a few cellphone snapshots of people&#8217;s work, and I have to say, my eyes hurt, just a little, from fighting the urge to roll them up through all this.</p>
<p>So, sunshine and if/else. How else can you start explaining the concept, really? Most folks (I&#8217;m not part of &#8220;most folks&#8221; in this case) don&#8217;t think in terms of programming logic much. At least they don&#8217;t recognize it as such. I don&#8217;t usually either, but I have wondered, as I wait at a frozen bus stop in February, &#8220;if I hadn&#8217;t ducked into a Tower Records during a rainstorm in Santa Barbara back in 1994, would have ended up in Chicago in 2013?&#8221; The answer to that is probably &#8220;no.&#8221; That&#8217;s another story and I digress.</p>
<p>Simply put, choices we make based on variables in our lives are just like programming. Each leads to new choices and new paths to go down. Which makes &lt;<strong>insert deity here</strong>&gt; a snarky coder with chip stains on &lt;<strong>his/her&#8217;s/its</strong>&gt; D&amp;D t-shirt. Or at best, we&#8217;re all living out the longest and oddest <em>Choose Your Own Adventures</em> books ever written:</p>
<p style="padding-left: 30px;"><em>If you want more coffee before your 11am meeting, turn to page 1173, if you think you can keep the yawning to a minimum, turn to page 1554.</em></p>
<p>Where was I? Oh yeah &#8211; if it&#8217;s sunny out, go to the beach, but if your boss sees you, don&#8217;t go to the beach:</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">var sunny:Boolean = true;</span><br />
<span style="color: #0000ff;"> var boss:Boolean = false;</span><br />
<span style="color: #0000ff;">var beach:Boolean = false;</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">if ((sunny) &amp;&amp; (!boss))</span><br />
<span style="color: #0000ff;"> {</span><br />
<span style="color: #0000ff;">     beach = true;</span><br />
<span style="color: #0000ff;">}</span><br />
<span style="color: #0000ff;">else</span><br />
<span style="color: #0000ff;">{</span><br />
<span style="color: #0000ff;">     beach = false;</span><br />
<span style="color: #0000ff;">}</span></p>
<p>This took the better part of an hour to go through. I think by the end most were getting it &#8211; in the broadest terms. Next class, we&#8217;ll try and apply it to something more tangible than weather.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raveneffects.com/wordpress/?feed=rss2&#038;p=69</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
