<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Skarh</title>
	<atom:link href="http://skarh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://skarh.wordpress.com</link>
	<description>Creativity, Concept Art, Games, Social Media, Technology</description>
	<lastBuildDate>Sat, 28 Jan 2012 12:33:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='skarh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/35d1a81841503a7dd34b63bc1a562546?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Skarh</title>
		<link>http://skarh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://skarh.wordpress.com/osd.xml" title="Skarh" />
	<atom:link rel='hub' href='http://skarh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Minimalism, a skin for Launchy</title>
		<link>http://skarh.wordpress.com/2010/08/02/minimalism-a-skin-for-launchy/</link>
		<comments>http://skarh.wordpress.com/2010/08/02/minimalism-a-skin-for-launchy/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 16:24:21 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Launchy]]></category>
		<category><![CDATA[Must Have]]></category>
		<category><![CDATA[Skin]]></category>
		<category><![CDATA[Useful]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1139</guid>
		<description><![CDATA[Long time no see, WordPress! When I sat down at my computer today and tried to dig into Windows Explorer&#8217;s dark, messy insides.. I suddenly realized something. There was something that missed from my list of favorable and must have apps. The application I&#8217;m speaking of is of course Launchy, an indexing search function for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1139&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Long time no see, WordPress!</p>
<p><span id="more-1139"></span></p>
<p>When I sat down at my computer today and tried to dig into Windows Explorer&#8217;s dark, messy insides.. I suddenly realized something. There was something that missed from my list of favorable and <strong>must have</strong> apps. The application I&#8217;m speaking of is of course <a href="http://www.launchy.net/"><strong>Launchy</strong></a>, an indexing search function for your local files. It also has the power  to search the web, or any other application you want to add via a plug-in called <strong>Runner</strong>.</p>
<p>So summed up in a few words: <strong><a href="http://www.launchy.net/">Launchy</a> is awesome and one of my must have apps for Windows.</strong></p>
<p>Enough praise, let&#8217;s get to what this post is all about!</p>
<p>I quickly realized that I didn&#8217;t like any of the skins coming with Launchy by default, so I decided to pull &#8220;Black Glass&#8221; (by Peter Wooley) apart and reskin it to suit my insatiable hunger for minimalism and simplicity. So without further ado and mad ramblings, here&#8217;s <strong>Minimalism</strong>. <a href="http://joacimeldre.com/download/launchy/minimalism.rar">(Click here to download)</a></p>
<p><img class=" alignnone" title="Minimalism by Joacim Eldre" src="http://joacimeldre.com/download/launchy/minimalism.png" alt="" width="400" height="228" /></p>
<br />Filed under: <a href='http://skarh.wordpress.com/category/all/'>All</a>, <a href='http://skarh.wordpress.com/category/computer/'>Computer</a> Tagged: <a href='http://skarh.wordpress.com/tag/download/'>Download</a>, <a href='http://skarh.wordpress.com/tag/launchy/'>Launchy</a>, <a href='http://skarh.wordpress.com/tag/must-have/'>Must Have</a>, <a href='http://skarh.wordpress.com/tag/skin/'>Skin</a>, <a href='http://skarh.wordpress.com/tag/useful/'>Useful</a>, <a href='http://skarh.wordpress.com/tag/windows/'>Windows</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1139&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2010/08/02/minimalism-a-skin-for-launchy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://joacimeldre.com/download/launchy/minimalism.png" medium="image">
			<media:title type="html">Minimalism by Joacim Eldre</media:title>
		</media:content>
	</item>
		<item>
		<title>Apple Keyboard Fullsize + Windows</title>
		<link>http://skarh.wordpress.com/2010/06/13/apple-keyboard-fullsize-windows/</link>
		<comments>http://skarh.wordpress.com/2010/06/13/apple-keyboard-fullsize-windows/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 00:21:30 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Key-binding]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1101</guid>
		<description><![CDATA[Yes, it does work &#8211; but it needs some trickery. I&#8217;m running a Dell laptop with Windows 7 &#8211; the reason for buying this keyboard is mainly that it&#8217;s slick, minimalistic, and anything you&#8217;d expect from Apple &#8211; it&#8217;s also cased in aluminum, so it&#8217;s a bit more robust than other keyboards. The keys are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1101&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, it does work &#8211; but it needs some trickery.</p>
<p><span id="more-1101"></span></p>
<p><img class="alignnone" title="Apple Fullsize Keyboard" src="http://joacimeldre.com/diverse/applekeyb.png" alt="" width="491" height="146" /></p>
<p>I&#8217;m running a Dell laptop with Windows 7 &#8211; the reason for buying this keyboard is mainly that it&#8217;s slick, minimalistic, and anything you&#8217;d expect from Apple &#8211; it&#8217;s also cased in aluminum, so it&#8217;s a bit more robust than other keyboards. The keys are also nicely sized, fitting your fingertips unless you have quite large fingertips.</p>
<p>I&#8217;ve remapped some of the buttons on the keyboard to suit Windows a bit more &#8211; using <a href="http://sharpkeys.codeplex.com/" target="_blank">this application</a>.</p>
<p>Here&#8217;s a screengrab of my keybind-setup (the 0x006A key is F19, and the Right Windows (Right cmd) is right-click dropdown menu)</p>
<p><img class="alignnone" title="Key Setup" src="http://joacimeldre.com/diverse/applekeysetup.png" alt="" width="490" height="83" /></p>
<p>Finally I must say, the keyboard is a delight to type with &#8211; it makes nearly no sound at all, and the keys feel smooth. The aluminum coating also provides for an easy cleaning.</p>
<br />Filed under: <a href='http://skarh.wordpress.com/category/computer/'>Computer</a> Tagged: <a href='http://skarh.wordpress.com/tag/apple/'>Apple</a>, <a href='http://skarh.wordpress.com/tag/key-binding/'>Key-binding</a>, <a href='http://skarh.wordpress.com/tag/keyboard/'>Keyboard</a>, <a href='http://skarh.wordpress.com/tag/mac/'>Mac</a>, <a href='http://skarh.wordpress.com/tag/windows/'>Windows</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1101&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2010/06/13/apple-keyboard-fullsize-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://joacimeldre.com/diverse/applekeyb.png" medium="image">
			<media:title type="html">Apple Fullsize Keyboard</media:title>
		</media:content>

		<media:content url="http://joacimeldre.com/diverse/applekeysetup.png" medium="image">
			<media:title type="html">Key Setup</media:title>
		</media:content>
	</item>
		<item>
		<title>Dumping Art to Another Blog</title>
		<link>http://skarh.wordpress.com/2009/12/15/dumping-art-to-another-blog/</link>
		<comments>http://skarh.wordpress.com/2009/12/15/dumping-art-to-another-blog/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 15:38:39 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Digital Drawing]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[Drawing]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1090</guid>
		<description><![CDATA[I&#8217;m going to shuffle my art-related posts to another blog. Moving my postings related to sketches, concepts, studies, and finalized artwork to a blogspot hosted blog over at http://joacimeldre.blogspot.com. If you&#8217;re interested in following my progress when it comes to digital drawing, that&#8217;s the spot for doing that. I might start putting up tutorials and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1090&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to shuffle my art-related posts to another blog.</p>
<p><span id="more-1090"></span></p>
<p>Moving my postings related to sketches, concepts, studies, and finalized artwork to a blogspot hosted blog over at <a href="http://joacimeldre.blogspot.com" target="_blank">http://joacimeldre.blogspot.com</a>. If you&#8217;re interested in following my progress when it comes to digital drawing, that&#8217;s the spot for doing that.</p>
<p>I might start putting up tutorials and tips and tricks once I get more experienced. If you want to know &#8220;how&#8221; I paint either way, it&#8217;s just to ask in a comment. I won&#8217;t bite.</p>
<br />Posted in All, Art, Blog Tagged: Blog, Change, Digital Drawing, Draw, Drawing <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1090/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1090/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1090/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1090&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/12/15/dumping-art-to-another-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing Source Code</title>
		<link>http://skarh.wordpress.com/2009/12/04/testing-source-code/</link>
		<comments>http://skarh.wordpress.com/2009/12/04/testing-source-code/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 19:26:58 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wrap]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1077</guid>
		<description><![CDATA[I just read this article from the team behind WordPress. And I just wanted to test it out with a small chunk of code from my recently created Flash platform game. Seems like it works wonderfully, I don&#8217;t know why I haven&#8217;t checked this functionality out before now. But I can see a lot of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1077&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just read <a href="http://en.blog.wordpress.com/2009/12/02/better-source-code-posting/" target="_blank">this article</a> from the team behind WordPress.</p>
<p><span id="more-1077"></span></p>
<p>And I just wanted to test it out with a small chunk of code from my recently created <a href="http://jeldre.deviantart.com/art/Rock-Paper-Scissor-143928744" target="_blank">Flash platform game</a>.</p>
<p><pre class="brush: as3;">
		private function checkKeysDown (event:KeyboardEvent):void
		{
			if(event.keyCode == 37 || event.keyCode == 65) 			// A or Left Arrow
			{
				leftKeyDown = true;
				rightKeyDown = false;
			}

			if(event.keyCode == 38 || event.keyCode == 87) 			// W or Up Arrow
			{
				upKeyDown = true;
			}

			if(event.keyCode == 39 || event.keyCode == 68) 			// D or Right Arrow
			{
				rightKeyDown = true;
				leftKeyDown = false;
			}

			if(event.keyCode == 72 &amp;&amp; !mainJumping) 				// H key
			{
				hKeyDown = true;
				sc4 = attack.play();
			}

			if(event.keyCode == 74 &amp;&amp; !mainJumping) 				// J key
			{
				jKeyDown = true;
				sc4 = attack.play();
			}

			if(event.keyCode == 75 &amp;&amp; !mainJumping) 				// K key
			{
				kKeyDown = true;
				sc4 = attack.play();
			}
		} // end private function checkKeysDown
</pre></p>
<p>Seems like it works wonderfully, I don&#8217;t know why I haven&#8217;t checked this functionality out before now. But I can see a lot of uses for this seeing as I&#8217;ve recently learned a lot of ActionScript 3.0 and will start learning more HTML and CSS in the following courses I have. Expect more posts consisting of code-strings in large amounts!</p>
<p>One awesome thing with this &#8220;plugin&#8221; is that it supports a lot of different programming languages; meaning that the plugin can color-code different syntaxes with various colors typically found within the language. It&#8217;s brilliant.</p>
<p>To insert code like this you simply write:</p>
<blockquote><p>[*sourcecode language="css"]<br />
your code here<br />
[*/sourcecode]</p></blockquote>
<p>Without the wildcard (*)</p>
<p>If you don&#8217;t define the source code language it will be &#8220;text&#8221; by default (no syntax highlighting). Here&#8217;s a list of the supported languages</p>
<ul>
<li> actionscript3</li>
<li>bash</li>
<li>coldfusion</li>
<li>cpp</li>
<li>csharp</li>
<li>css</li>
<li>delphi</li>
<li>erlang</li>
<li>diff</li>
<li>groovy</li>
<li>javascript</li>
<li>java</li>
<li>javafx</li>
<li>objc</li>
<li>perl</li>
<li>php</li>
<li>text</li>
<li>powershell</li>
<li>python</li>
<li>ruby</li>
<li>scala</li>
<li>sql</li>
<li>vb</li>
<li>xml</li>
</ul>
<p>Here&#8217;s the <a href="http://en.support.wordpress.com/code/posting-source-code/" target="_blank">support post for the Source Code</a> tagging.</p>
<br />Posted in All, Blog, Stuff Tagged: ActionScript 3, Code, Plugin, Source Code, Wordpress, Wrap <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1077/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1077&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/12/04/testing-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekly Wallpaper #13</title>
		<link>http://skarh.wordpress.com/2009/11/23/weekly-wallpaper-13/</link>
		<comments>http://skarh.wordpress.com/2009/11/23/weekly-wallpaper-13/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 19:54:11 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[4chan]]></category>
		<category><![CDATA[4walled]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Picture]]></category>
		<category><![CDATA[Wallpaper]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1066</guid>
		<description><![CDATA[Should be more like &#8220;Every Third Monthly Wallpaper #13&#8243;. So yeah, I&#8217;ve been extremely busy with deadlines and assignments for the course I&#8217;m taking in Creative Arts &#38; Media. I enjoy browsing wallpapers, but lately I&#8217;ve had to enjoy Adobe Flash, ActionScript 3.0, Adobe Photoshop, Adobe Premiere Pro, Adobe After Effects, Adobe Soundbooth, games-history and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1066&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Should be more like &#8220;Every Third Monthly Wallpaper #13&#8243;.</p>
<p><span id="more-1066"></span></p>
<p>So yeah, I&#8217;ve been extremely busy with deadlines and assignments for the course I&#8217;m taking in Creative Arts &amp; Media. I enjoy browsing wallpapers, but lately I&#8217;ve had to enjoy Adobe Flash, ActionScript 3.0, Adobe Photoshop, Adobe Premiere Pro, Adobe After Effects, Adobe Soundbooth, games-history and methodical learning in game/project development instead.</p>
<p>All the wallpapers are, as usual, in 1900&#215;1200 resolution. If you don&#8217;t like that you can <a href="http://skarh.wordpress.com/2009/01/11/4scrape-wallpaper-database/" target="_blank">find your own wallpapers</a>.</p>
<p><a href="http://4walled.org/src/1258920469820.jpg" target="_blank"><img class="alignnone" title="abstract" src="http://4walled.org/src/1258920469820.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="http://4walled.org/src/1258845479629.png" target="_blank"><img class="alignnone" title="abstract2" src="http://4walled.org/src/1258845479629.png" alt="" width="300" height="200" /></a></p>
<p><a href="http://4walled.org/src/1258918086804.jpg" target="_blank"><img class="alignnone" title="woodwall" src="http://4walled.org/src/1258918086804.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="http://4walled.org/src/125865584990.jpg" target="_blank"><img class="alignnone" title="pixel" src="http://4walled.org/src/125865584990.jpg" alt="" width="300" height="200" /></a></p>
<p><em>Because pixels are awesome</em></p>
<p><a href="http://4walled.org/src/1258016145798.jpg" target="_blank"><img class="alignnone" title="hamster" src="http://4walled.org/src/1258016145798.jpg" alt="" width="300" height="200" /></a></p>
<p><em>Because a hamster on a pink background is totally random</em></p>
<p><em><a href="http://4walled.org/src/1258052228817.png" target="_blank"><img class="alignnone" title="thepig" src="http://4walled.org/src/1258052228817.png" alt="" width="300" height="200" /></a></em></p>
<p><em>Because you don&#8217;t mess with the pig</em></p>
<p><em><a href="http://4walled.org/src/1258005733866.jpg" target="_blank"><img class="alignnone" title="theoffice" src="http://4walled.org/src/1258005733866.jpg" alt="" width="300" height="200" /></a></em></p>
<p><em>Because <a href="http://www.youtube.com/watch?v=q-wf2pP7T0Y" target="_blank">that&#8217;s what she said</a><br />
</em></p>
<br />Posted in All, Art Tagged: 4chan, 4walled, Background, Image, Picture, Wallpaper <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1066/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1066&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/23/weekly-wallpaper-13/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258920469820.jpg" medium="image">
			<media:title type="html">abstract</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258845479629.png" medium="image">
			<media:title type="html">abstract2</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258918086804.jpg" medium="image">
			<media:title type="html">woodwall</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/125865584990.jpg" medium="image">
			<media:title type="html">pixel</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258016145798.jpg" medium="image">
			<media:title type="html">hamster</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258052228817.png" medium="image">
			<media:title type="html">thepig</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1258005733866.jpg" medium="image">
			<media:title type="html">theoffice</media:title>
		</media:content>
	</item>
		<item>
		<title>Rock, Paper, Scissor &#8211; the game</title>
		<link>http://skarh.wordpress.com/2009/11/19/rock-paper-scissor-the-game/</link>
		<comments>http://skarh.wordpress.com/2009/11/19/rock-paper-scissor-the-game/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:50:02 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Play]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1059</guid>
		<description><![CDATA[It&#8217;s finally finished, and released. My first game ever, developed with Flash CS4 Professional and ActionScript 3.0 (language used in Flash), for a course in Animation and Interactivity at the University of Hedmark. Have fun! Release date: Released! (18/11/2009) Click here to play. Genre: Side-scrolling platformer. Plot: In a world of hard rocks, crumbled papers, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1059&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s finally finished, and released.</p>
<p><span id="more-1059"></span></p>
<p>My first game ever, developed with Flash CS4 Professional and ActionScript 3.0 (language used in Flash), for a course in Animation and Interactivity at the University of Hedmark. Have fun!</p>
<p><img class="alignnone" title="RPS - the game" src="http://www.storedyret.com/forum/download/file.php?id=2507" alt="" width="304" height="304" /></p>
<p><strong>Release date:</strong> Released! (18/11/2009) Click <a href="http://jeldre.deviantart.com/art/Rock-Paper-Scissor-143928744" target="_blank">here</a> to play.<br />
<strong>Genre:</strong> Side-scrolling platformer.<br />
<strong>Plot:</strong> In a world of hard rocks, crumbled papers, and sharp scissors &#8211; you&#8217;re the hand. Struck your opponents down with great vengeance!<br />
<strong>Gameplay:</strong> Defeat enemies by transforming into either a rock, a paper, or scissors &#8211; depending on the enemy you meet. Rock is weak to Paper, Paper is weak to Scissors, Scissors is weak to Rock.</p>
<p><strong>Characters</strong></p>
<p><strong>Main Character:</strong></p>
<p><strong><img class="alignnone" title="hand_idle" src="http://metode09.wikispot.org/Game/RPS?sendfile=true&amp;file=handidle.png" alt="" width="45" height="58" /><br />
</strong></p>
<p><strong>Rock: </strong></p>
<p><strong><img class="alignnone" title="rock_walk" src="http://metode09.wikispot.org/Game/RPS?sendfile=true&amp;file=rockwalk.png" alt="" width="39" height="74" /><br />
</strong></p>
<p><strong>Paper: </strong></p>
<p><strong><img class="alignnone" title="paper_walk" src="http://metode09.wikispot.org/Game/RPS?sendfile=true&amp;file=paperwalk.png" alt="" width="37" height="59" /><br />
</strong></p>
<p><strong>Scissor:</strong></p>
<p><strong><img class="alignnone" title="scissor_walk" src="http://metode09.wikispot.org/Game/RPS?sendfile=true&amp;file=scissorwalk.png" alt="" width="25" height="50" /><br />
</strong></p>
<br />Posted in All, Art, Education, Flash Tagged: ActionScript, Flash, Game, Interactive, Platform, Play <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1059/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1059&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/19/rock-paper-scissor-the-game/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://www.storedyret.com/forum/download/file.php?id=2507" medium="image">
			<media:title type="html">RPS - the game</media:title>
		</media:content>

		<media:content url="http://metode09.wikispot.org/Game/RPS?sendfile=true&#38;file=handidle.png" medium="image">
			<media:title type="html">hand_idle</media:title>
		</media:content>

		<media:content url="http://metode09.wikispot.org/Game/RPS?sendfile=true&#38;file=rockwalk.png" medium="image">
			<media:title type="html">rock_walk</media:title>
		</media:content>

		<media:content url="http://metode09.wikispot.org/Game/RPS?sendfile=true&#38;file=paperwalk.png" medium="image">
			<media:title type="html">paper_walk</media:title>
		</media:content>

		<media:content url="http://metode09.wikispot.org/Game/RPS?sendfile=true&#38;file=scissorwalk.png" medium="image">
			<media:title type="html">scissor_walk</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 10</title>
		<link>http://skarh.wordpress.com/2009/11/15/flash-case-10/</link>
		<comments>http://skarh.wordpress.com/2009/11/15/flash-case-10/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 19:54:25 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Start menu]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1053</guid>
		<description><![CDATA[Start menu and tweaks/bug-fixes/polishing. Case 10 is the last case in this semester&#8217;s course of Animation and Interactivity &#8211; I&#8217;m at the point where I clearly see a game in front of me, fully functional (apart from a menu-system and a retry-function). It feels good to finally be done with the programming, and to finally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1053&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Start menu and tweaks/bug-fixes/polishing.</p>
<p><span id="more-1053"></span>Case 10 is the last case in this semester&#8217;s course of Animation and Interactivity &#8211; I&#8217;m at the point where I clearly see a game in front of me, fully functional (apart from a menu-system and a retry-function). It feels good to finally be done with the programming, and to finally have a game, even though I&#8217;ll need to dig through another semester of programming &#8211; but that&#8217;s fine, at least I have some ground to stand on when we start fresh over the winter.</p>
<blockquote><p>Case 10: This is the last case, by now you should have a more or less functioning game and it&#8217;s time to add the last bits and bolts to your product. The start menu is vital to any game &#8211; in a way like a manual explaining a user how to use your game, how to play it.</p></blockquote>
<p><strong>Reflection: </strong>It&#8217;s been three very tough months. I had no idea what a jungle Flash and ActionScript actually is when I first started out with this course, but now I&#8217;ve gotten some experience &#8211; and it is a nice treat to see and experience all the possibilities that can be had with the usage of Flash and ActionScript in simultation.</p>
<p>I don&#8217;t feel anywhere near fully educated in either Flash or ActionScript, but I do at least feel that I by now have a general grasp of both the language and how to animate (be it vector-graphic or pixel-graphic). This is a good feeling in itself. What makes this feeling even better is that I, with some help from a good course and good friends, have developed a platform game! It even works, and it is quite fun if I can say so myself.</p>
<p><strong>Difficulties: </strong></p>
<ul>
<li>Introducing more classes, that needs to communicate with the main-class</li>
<li>Figuring out how buttons work, and how this can be included in running a function</li>
<li>Cleaning the game after the player has died</li>
<li>Restarting the game when the player retry</li>
</ul>
<p><strong>Solution:</strong></p>
<p><strong>Result: </strong><a href="http://jeldre.deviantart.com/art/Flash-RPS-game-menu-143792528" target="_blank">Here&#8217;s a link</a> to a quick mock-up (in my world &#8211; that is usually how things end up looking) of how I want the start-menu to look and feel.</p>
<p>Also, the game is finally done! <a href="http://jeldre.deviantart.com/art/Rock-Paper-Scissor-143928744" target="_blank">Click here</a> to give it a go.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, Flash, Game, Platform, Start menu, Tweaks <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1053/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1053/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1053/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1053&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/15/flash-case-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 9</title>
		<link>http://skarh.wordpress.com/2009/11/13/flash-case-9/</link>
		<comments>http://skarh.wordpress.com/2009/11/13/flash-case-9/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 23:23:19 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Soundchannel]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1046</guid>
		<description><![CDATA[Getting closer to the end! Time to add sounds. Next case on the line is case number 9, in this case I&#8217;m going to add some music and sound-effects to my game. Case 9: In this case you should add sound effects to various events in your game (jump-sounds, attack-sounds, etc.) and background music. Difficulties: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1046&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Getting closer to the end! Time to add sounds.</p>
<p><span id="more-1046"></span></p>
<p>Next case on the line is case number 9, in this case I&#8217;m going to add some music and sound-effects to my game.</p>
<blockquote><p>Case 9: In this case you should add sound effects to various events in your game (jump-sounds, attack-sounds, etc.) and background music.</p></blockquote>
<p><strong><span style="color:#ffffff;">Difficulties:</span> </strong>This case seems pretty simple, I think I&#8217;ll get most of it done fairly alright when it comes to coding the sounds. Finding approperiate sounds however, is a bit more difficult. I&#8217;m also going to use this week to add some more &#8220;features&#8221; to the game, or rather, bug-fixes &#8211; specifically adding a &#8220;inRange&#8221; function to the player, so you have to be in a specific range to be able to defeat enemies (unlike how the game is right now, where you can attack enemies from wherever).</p>
<p><span style="color:#ffffff;"><strong>Solution:</strong></span> Import the right classes -</p>
<pre>import.flash.media.Sound;

import flash.media.SoundChannel;
</pre>
<p>Set variables -</p>
<pre>var mySound:Sound = new thisistheSound();              // mySound (name of the variable - call this when you want the sound) :Sound (tells the variable that this is a sound) = new thisistheSound (makes a new instance of the sound you've exported into ActionScript)

var sc:SoundChannel;     // You need a SoundChannel variable as well (different sounds need different channels)
</pre>
<p>Add the soundfile to the main class function (constructor) if you want it to play &#8220;all the time&#8221; (as in background music) &#8211; or in the approperiate function if you want a specific sound for a specific event -</p>
<pre>sc = mySound.play(0, int.MAX_VALUE);                        // 0 = starts song from beginning, MAX_VALUE = plays through the sound - typical for music playing in the background throughout the game
</pre>
<p><strong><span style="color:#ffffff;">Result:</span> </strong><a href="http://jeldre.deviantart.com/art/Flash-Case-8-142855890" target="_blank">One step closer to completion</a>. I might change the sounds a bit (add different sounds for the attacks etc.), but I understood the code &#8211; and that&#8217;s something in its own.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, Education, Flash, Game, Platform, Sound, Soundchannel <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1046/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1046&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/13/flash-case-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 8</title>
		<link>http://skarh.wordpress.com/2009/11/04/flash-case-8/</link>
		<comments>http://skarh.wordpress.com/2009/11/04/flash-case-8/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:05:16 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash Game]]></category>
		<category><![CDATA[Game Design]]></category>
		<category><![CDATA[Sidescrolling]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1033</guid>
		<description><![CDATA[Adding bonus objects (power-ups, health, etc.) Time for the next case in the line &#8211; adding bonus objects to my game. I haven&#8217;t really thought much about bonus objects for the concept of my game, I didn&#8217;t take it into consideration at all when making the game-design, which obviously is flawed from my side. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1033&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Adding bonus objects (power-ups, health, etc.)</p>
<p><span id="more-1033"></span></p>
<p>Time for the next case in the line &#8211; adding bonus objects to my game. I haven&#8217;t really thought much about bonus objects for the concept of my game, I didn&#8217;t take it into consideration at all when making the game-design, which obviously is flawed from my side. I don&#8217;t want to do something outrageous and innovative in terms of bonus objects and mechanics surrounding these bonus objects, I simply don&#8217;t think it&#8217;s approperiate for my game, but also because I feel I don&#8217;t have the skills required to add a very intricate system.</p>
<blockquote><p>Case 8: In this case you have to add objects that the player character (PC) should pick up and receive points for. The points should be summed up and showed in a counter (Heads-Up Display). You also have to create some objects that the PC needs to avoid, when the PC hits these objects it should be indicated in some way.</p></blockquote>
<p><strong>Game Design </strong>(specific for this case)<strong>:</strong> I want to keep the design and functionality of my game quite simple. Mostly because I think it suits the design-idea in my head, but also because I do not feel I am capable to add much more tham this with my current knowledge in ActionScript and Flash.</p>
<ul>
<li>PC encounters an enemy (NPC), the PC kills the NPC, enemy drops a bonus object (health), PC receives additional health (HP).</li>
<li>Counter should show total health (simple HUD with icon/text).
<ul>
<li>If health is 1 and the PC loses versus an enemy or falls &#8220;out of&#8221; the level -&gt; Game Over.</li>
<li>If HP is 2 (or more) and the PC loses versus an enemy -&gt; Looses one HP -&gt; Knockback effect to allow the player time to rethink the situation.</li>
<li>If the player falls &#8220;out of&#8221; the level (misses a platform and drops into the void) and has 2 HP (or more) then the PC should respawn at the start of the level.</li>
</ul>
</li>
</ul>
<p><span style="text-decoration:line-through;">I may include a timer, showing max allowed time for completing the level &#8211; when the time runs out, the game ends. Either that, or using a timer as a way to indicate score &#8211; less time used on completing the level awards the player a higher score when completing the game.</span> I might add a timer feature if I have enough time, right now I just want to finish what&#8217;s vitally needed to make the game a game.</p>
<p>I&#8217;ve played around with some more ideas for my game, I&#8217;m not sure if I will be able to include them &#8211; but I want to let them out either way. The first idea I had was to add a multiplayer function.</p>
<p><span style="color:#ffffff;"><strong>Multiplayer concept</strong></span></p>
<ul>
<li>Local, each player assigned to a set of three keys on the keyboard)</li>
<li>Two players will be able to choose an attack before a timer runs out  (Rock, Paper, or Scissor)
<ul>
<li>When the timer runs out, the players need to have set an attack -</li>
<li>An animation plays out (scissor cutting paper, paper wrapping up rock, rock smashing scissor
<ul>
<li>Draw (equal attacks (would do nothing, perhaps animate the sprites in a clash before they get knocked back)</li>
</ul>
</li>
<li>Score is added to the winning player</li>
</ul>
</li>
<li>Best out of three rounds wins</li>
</ul>
<p>The second idea is a boss-encounter at the end of the level, specifically a &#8220;clone&#8221; of the player character.</p>
<p><span style="color:#ffffff;"><strong>Boss-encounter concept</strong></span></p>
<ul>
<li>Able to randomly attack with either rock, paper, or scissor
<ul>
<li>Needs to somewhat be identified, but not too obviously, so the player in a way knows what to &#8220;counter&#8221; the attack with &#8211; like some sort of &#8220;Block&#8221; function. If the boss chooses rock &#8211; the player could choose either paper (to damage) or rock (to block/draw) to counter that attack</li>
</ul>
</li>
<li>&#8220;Mimics&#8221; the player character in some way</li>
<li>Has a total of three lives, meaning you need to get a correct hit on the boss three times before you beat it</li>
</ul>
<p><span style="color:#ffffff;"><strong>Difficulties: </strong></span>I&#8217;ve had a lot of trouble finding the approperiate code I need for the features to function like I want them to. I&#8217;m not sure how I can solve this, currently I usually need to find an example of the functionality I want to include in my game &#8211; look it over &#8211; then I try to assimilate the code with my own code. I sometimes also look up how a specific syntax works in either Learning ActionScript 3.0, or in Adobe&#8217;s Help section for Flash. I am also getting a lot of help from my neighbour, which is very good to have if I am struggling for too long on my own. Specifically with this case I had some trouble getting the attacks versus specific enemies to work, solving this seemed to be easier than I first thought it would be, but I got help to achieve the final result.</p>
<p>I&#8217;m still having a hard time understanding how different .as classes communicate with each other as well, Object Oriented Programming is a pretty tough nut to crack, but once the nut is cracked it&#8217;s beautiful and very &#8220;obvious&#8221; I suppose. I&#8217;ve still not understood it, so to me it&#8217;s still quite messy, but I hope I&#8217;ll get there.</p>
<p><span style="color:#ffffff;"><strong>Solution:</strong></span></p>
<p>&lt;updating&gt;</p>
<p><span style="color:#ffffff;"><strong>Result:</strong></span> <a href="http://jeldre.deviantart.com/art/Flash-Case-8-142855890" target="_blank">Visual Result</a>, I still need to add a respawn function if you fall out of the stage. I also need to fix a proximity where you can attack the enemy. The source code behind my game will be uploaded and released when I&#8217;ve fixed these two problems.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, Flash, Flash Game, Game Design, Sidescrolling <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1033/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1033&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/04/flash-case-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 7</title>
		<link>http://skarh.wordpress.com/2009/11/01/flash-case-7/</link>
		<comments>http://skarh.wordpress.com/2009/11/01/flash-case-7/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 18:32:17 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Case]]></category>
		<category><![CDATA[Enemies]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1027</guid>
		<description><![CDATA[Another case, this time I&#8217;ve got to add some enemies to my game. So! Just three cases to go until I have to have a game finished, I feel that I lack a lot of experience and understanding necessary for creating a final game with Flash and ActionScript 3. I&#8217;ve needed a lot of help [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1027&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another case, this time I&#8217;ve got to add some enemies to my game.</p>
<p><span id="more-1027"></span></p>
<p>So! Just three cases to go until I have to have a game finished, I feel that I lack a lot of experience and understanding necessary for creating a final game with Flash and ActionScript 3. I&#8217;ve needed a lot of help from &#8220;the outside&#8221; in the previous cases, and this case was no different. I got a lot of help from my neighbour and from Learning ActionScript 3: The Beginner&#8217;s Guide. Mostly input on understanding why and how to use several classes, mostly for structure.</p>
<blockquote><p>Case 7: Time to add some enemies (or friendly players) to your game. You basically have to understand the concept of using object oriented programming (OOP) and adding artificial intelligence (AI) to one objects or more in this case &#8211; to succeed with this case. You&#8217;ll be introduced to creating a new class that will communicate with your already created &#8220;main&#8221; class.</p></blockquote>
<p><strong><span style="color:#ffffff;">Reflections:</span> </strong>I understand by now that I, should, devote even more time to understanding and learning the very fundamentals of programming in ActionScript 3.0. I need to devote time I feel I do not have at all, it is a struggle when I do not really aim to be a programmer &#8211; programming isn&#8217;t why I mainly chose this education, I&#8217;m more creative than technical. This mental lock I have in my head has made me quarrel and reflect a lot about programming, it&#8217;s not making it easier to understand and finish every case from week to week either. I&#8217;m also having a hard time learning everything I need to learn to complete every case (Not to speak about learning everything not considered in each case. The cases only cover the very vital and necessary functions for the final game.), I guess it&#8217;s just a matter of finding relevant information whether it&#8217;s on the internet through forums or tutorials, educational books, or fellow students.</p>
<p>If I have learned anything over the few past months in this course, it is that I am not really suited for programming, although I try my best I feel I can&#8217;t get further than what I&#8217;ve managed this far. I don&#8217;t want to give up just yet, but I&#8217;m not far away from doing so, I do at least want to finish my game &#8211; and to fulfill the idea and concept I have in my head. I guess the game idea I had in the start was too ambitious for me. So next time I&#8217;ll need to find out what the idea I have in my head requires from me in regards to ActionScript and Flash in itself.</p>
<p>In this specific case I&#8217;ve learned small fragments of how to add artificial intelligence to another object for the game. In my game, the &#8220;other objects&#8221; are enemies, specifically scripted to follow the player character wherever it moves. I&#8217;ve been introduced to Object Oriented Programming (OOP), how to make another class (another .as file) communicate (import/export variables, functions, etc.) with a main-class. I&#8217;ve also learned how to add a roughly working &#8220;camera&#8221; (moving a Movie Clip when there&#8217;s input, imitating movement) in a sidescrolling game.</p>
<p><span style="color:#ffffff;"><strong>Difficulties:</strong> </span>I had a lot of difficulties or problems I did not understand before starting this case. What I first did was chopping the problem into smaller pieces so it would be easier to work with. I had three questions I needed answers to</p>
<ul>
<li>What kind of code do I need to make a function randomly choose a number assigned to three different enemies? I want the game to have a different feeling to it each time a player starts the game.</li>
<li>How can I add spawnpoints &#8211; where the player character walks past and an enemy &#8220;spawns&#8221; &lt;insert number&gt; coordinates to the right? I want the enemies to spawn when the player passes a certain object or point in my level. One spawnpoint should spawn only one enemy each.</li>
<li>How can I add artificial intelligence to the enemies? I want them to follow the player character along the x-coordinates.</li>
</ul>
<p><strong><span style="color:#ffffff;">Solution:</span> </strong>Here&#8217;s a bit of code, mainly the functions I added to solve the specific difficulties that this case introduced me to (bullet points above). I will try my best to explain parts of the code, do note that I am quite inexperienced with scripting in Flash, so you&#8217;re welcome to comment my errors if you see any.</p>
<p>This is the code I&#8217;ve used for randomly spawning different enemies when the player character walks through a specific x-position in the level.</p>
<pre>var RNG=(Math.floor((Math.random() * 50)) %3) // This code is used to "randomly" run through 50 values until 0, 1, or 2 is returned. The Math.random function loops through values from 0.1, 0.2, 0.3 and so forth. Any value from 0 to 0.9 is considered "0", any value from 1 to 1.9 is considered "1", and any value from 2 to 2.9 is considered "2".

			if (RNG == 0) // If the RNG variable returns a value that is considered "0" - it uses the function called createEnemy1.
			{
				createEnemy1();
			}

			else if (RNG == 1) // If the RNG variable returns a value that is considered "1" - it uses the function called createEnemy2.
			{
				createEnemy2();
			}

			else if (RNG == 2) // If the RNG variable returns a value that is considered "2" - it uses the function called createEnemy3.
			{
				createEnemy3();
			}
</pre>
<p>This is what I have coded for the &#8220;createEnemy&#8221; function &#8211; it specifies what should happen when &#8220;createEnemy1/2/3&#8243; is referred to.</p>
<pre>private function createEnemy1()
		{ // start createEnemy1
		attackFrame = "rockAttack";
		walkFrame = "rockWalk";
		idleFrame = "rockIdle";
		} // end createEnemy1

		private function createEnemy2()
		{ // start createEnemy2
		attackFrame = "scissorAttack";
		walkFrame = "scissorWalk";
		idleFrame = "scissorIdle";
		} // end createEnemy2

		private function createEnemy3()
		{ // start createEnemy3
		attackFrame = "paperAttack";
		walkFrame = "paperWalk";
		idleFrame = "paperIdle";
		} // end createEnemy3
</pre>
<p>It basically tells the script to find Movie Clips which have the correct instance names for each enemy. I&#8217;ve made a sprite for the enemies, where for example the scissor enemy have three frames which consists of Movie Clips named &#8220;scissorAttack&#8221;, &#8220;scissorWalk&#8221;, and &#8220;scissorIdle&#8221; (these MCs contain the animation for said name).</p>
<p>This is the function I&#8217;ve used to specify where the enemies should spawn when the player passes specific &#8220;spawn points&#8221; throughout the level.</p>
<pre>for each (var spawnObject in spawnArray)  					// Sends the functions of the loop into every spawnpoint (spawnObject) added to the spawnArray
			{ // start for each spawnObject in spawnArray
				if (spawnObject.x &lt; handChar.x &amp;&amp; spawnObject.spawned == false)
					{
						var newEnemy = new Enemy();						// Tells Main.as what Enemy.as is
						newEnemy.x = spawnObject.x+100;				        	// newEnemy spawn 100 x-coordinates to the right for the spawn point
						newEnemy.y = 300;								// newEnemy spawn 300 on the y-coordinates
						enemyArray.push(newEnemy);						// Pushes the enemy into the enemyArray
						addChild(newEnemy);								// Adds either of createEnemy (Enemy.as) into the stage
						spawnObject.spawned = true;						// Checks if the Enemy has been spawned on a spawnpoint, if yes, then the spawnpoint is set to true and disables the spawning of new enemies
					}
			} // end for each spawnObject in spawnArray
</pre>
<p>&#8220;spawnObject&#8221; is a Movie Clip directly on the stage in my Flash file. spawnArray is obviously an array, so I&#8217;ve pushed every spawnObject into the array in the top of my code, like this &#8220;spawnArray.push(spawn1);&#8221; where &#8220;spawn1&#8243; is a graphical Movie Clip on my stage with the instance name called &#8220;spawn1&#8243;.</p>
<p>This is the function I&#8217;ve used for the artificial intelligence on my enemies.</p>
<pre>public function Chase(handCharx, handChary)
		{ // start public function Chase
			if (handCharx &lt; this.x-20)                    // if player (handChar) is lesser (to the left on the screen) than the enemy, enemy should turn to the left and follow the player.
                        {
                                this.x -= speed;
                                this.scaleX = -1;
                                gotoAndStop(walkFrame);
                        }
                        else if (handCharx &gt; this.x+20)               // if player (handChar) is larger (to the right on the screen) than the enemy, enemy should turn to the right and follow the player.
			{
				this.x += speed;
				this.scaleX = 1;
				gotoAndStop(walkFrame);
			}
</pre>
<p><span style="color:#ffffff;"><strong>Result:</strong></span> Here&#8217;s the <a href="http://jeldre.deviantart.com/art/Flash-Case-7-142083103" target="_blank">visual result</a>, and here is the <a href="http://pastebin.com/f69669b17" target="_blank">code behind the enemies</a>. I haven&#8217;t added the main-class, but it involves some changes related to the newly added class.</p>
<p>I&#8217;ll write some more words about the solution later.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, Artificial Intelligence, Case, Education, Enemies, Flash, Game, Object Oriented Programming <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1027/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1027&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/11/01/flash-case-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Wave &#8211; 12 more invites</title>
		<link>http://skarh.wordpress.com/2009/10/29/google-wave-12-more-invites/</link>
		<comments>http://skarh.wordpress.com/2009/10/29/google-wave-12-more-invites/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 22:45:24 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[Invitations]]></category>
		<category><![CDATA[Invite]]></category>
		<category><![CDATA[Wave]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1016</guid>
		<description><![CDATA[I received another 12 invitations from Google Wave today. And all 12 of these need a new owner. If you want one just tell me why you&#8217;d like to check out what the fuss with Google Wave is all about in a comment below. Don&#8217;t worry though, I&#8217;m not very strict. Update: And I forgot, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1016&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I received another 12 invitations from Google Wave today.</p>
<p><span id="more-1016"></span></p>
<p>And all 12 of these need a new owner. If you want one just tell me why you&#8217;d like to check out what the fuss with Google Wave is all about in a comment below. Don&#8217;t worry though, I&#8217;m not very strict.</p>
<p>Update: And I forgot, please include your e-mail when commenting.</p>
<blockquote><p>I currently have no more invitation left.</p></blockquote>
<br />Posted in All, Computer Tagged: Beta, Google, Google Wave, Invitations, Invite, Wave <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1016/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1016/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1016/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1016&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/29/google-wave-12-more-invites/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 6</title>
		<link>http://skarh.wordpress.com/2009/10/19/flash-case-6/</link>
		<comments>http://skarh.wordpress.com/2009/10/19/flash-case-6/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 11:14:03 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game Concept]]></category>
		<category><![CDATA[Game Design]]></category>
		<category><![CDATA[Interactivity]]></category>
		<category><![CDATA[rock paper scissor]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=1006</guid>
		<description><![CDATA[Some more information on the game design. Time for case 6 and some reflections of what I&#8217;ve done this far. I&#8217;ll redo the way I&#8217;m setting up these posts from now, so the new way of structure should at least contain Reflection, Difficulties, and Result. Case 6: In this case you&#8217;re going to work further [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1006&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some more information on the game design.</p>
<p><span id="more-1006"></span></p>
<p>Time for case 6 and some reflections of what I&#8217;ve done this far. I&#8217;ll redo the way I&#8217;m setting up these posts from now, so the new way of structure should at least contain <strong>Reflection</strong>, <strong>Difficulties</strong>, and <strong>Result</strong>.</p>
<blockquote><p>Case 6: In this case you&#8217;re going to work further with the design of the environment and the enemies for your game. You should also rethink your game-design and the idea behind your game, reflect about your experience. Do you have the skills to make your concept come true, if not, what do you need to learn more about? You should also blog about the history for your game,  elaborate the game-design, describe the interactivity, and &#8220;sell the concept to curious future players&#8221;.</p></blockquote>
<p><strong><span style="color:#ffffff;">Reflections:</span> </strong>I feel the game-design for my game is pretty much complete, so as of right now I am not going to change it much at all. I think the idea behind the game itself is good on it&#8217;s own as well, I haven&#8217;t seen many examples of games alike the one I want to create, so I feel it&#8217;s innovative. My experience when it comes to fulfilling the concept in the aspect I want it to be like, is somewhat more diffuse &#8211; I feel I have a basic understanding of Flash, but I am yet experienced enough to create a lot of code purely on my own &#8211; as well as including different features that there&#8217;s no examples of from before.</p>
<p><strong><span style="color:#ffffff;">Difficulties:</span> </strong>For my concept I know that I&#8217;ll need to learn about random events, timers, artificial intelligence (for the enemies), and specific spawnpoints (I suspect this is basically coordinates).</p>
<p><strong><span style="color:#ffffff;">Result:</span> </strong>Click <a href="http://jeldre.deviantart.com/art/Flash-Concept-Design-1-141464996" target="_blank">this link</a>. It&#8217;s not at all done, basically a quick sketch of the environment (Grass, yay!), and a introduction (paste-in) of the three possible enemies.</p>
<p><span style="color:#ffffff;"><br />
</span></p>
<p><span style="color:#ffffff;"><strong>The Rock, Paper, Scissor Game</strong></span></p>
<p><span style="color:#ffffff;"><strong>Gamestory:</strong></span> It&#8217;s about the Hand. The Hand has to find his way &#8220;home&#8221; (to the end of the level), to find its way home it will have to defeat huge hordes of boulding rocks, razersharp papers, and angry scissors.</p>
<p><strong><span style="color:#ffffff;">Game-design:</span> </strong>Based on the popular &#8220;rock, paper, scissor&#8221; game where two human opponents first count to three by saying &#8220;rock, paper, scissor&#8221;, and then choose to use either &#8220;scissor&#8221; (beats &#8220;paper&#8221;)<strong>, </strong>&#8220;paper&#8221; (beats &#8220;rock&#8221;), or &#8220;rock&#8221; (beats &#8220;scissor&#8221;) &#8211; the winner is decided from what the two human players picks.</p>
<p>I want to implement this kind of random and unforseen feeling in the game I am making, and hopefully I will be able to do that as well. I don&#8217;t want the player (PC &#8211; Player Character) to see the enemies (NPC &#8211; Non Player Character) before being right in front of (2-3 seconds) the enemy. I also want the NPC to &#8220;pop up&#8221; at selected spawnpoints along the level-design. The NPC should also be randomly selected out of three possible outcomes, either it&#8217;s a rock, a scissor, or a paper. The PC then have to use the right attack to defeat the NPC (Rock beats Scissor, for example).</p>
<p><span style="color:#ffffff;"><strong>Level Design:</strong></span> I want the level design to have a simple and minimalistic look, think in the ways of how Super Mario was done back in the day. I&#8217;ve decided that I want a simple and minimal level design mostly because I am drawing everything in pixels, dots by dots of colored pixels adding up to a final level in the end. Having something very detailed means a lot of work, in terms of adjusting pixels here and there. That&#8217;s hard for me to go through with as a student with both limited time on each project, and a lot of projects to do.</p>
<p><span style="color:#ffffff;"><strong>Interactivity: </strong></span>The PC can move to the left (A or Left Arrow), to the right (D or Right Arrow), and jump (W or Up Arrow (along with either A or Left Arrow, or D or Right Arrow to move in the air)). The PC can also attack, either as a scissor (H), paper (J), or rock (K).</p>
<p><strong><span style="color:#ffffff;">Why you should play:</span> </strong>Feeling lucky? Any new and experience-hungry player can join in on the fun he or she will get from The Rock, Paper, Scissor Game by simply:</p>
<ul>
<li><span style="color:#ffffff;">Being lucky in battles (RNG is always fun)</span></li>
<li><span style="color:#ffffff;">Defeating horrendrous amounts of enemies (perhaps 5 in total, that&#8217;s really massive)</span></li>
<li><span style="color:#ffffff;">Beating the tough (non-existant) high-scores</span></li>
<li><span style="color:#ffffff;">Cutting, stoning (as in throwing/mashing rocks on people, not like smoking pot), and papercutting evil pixels to their inevitable death</span></li>
</ul>
<p>I clearly have a really solid concept going on here! Perhaps not, but I hope I&#8217;ll make through with the concept and finalize the game. Which, of course, will be free to play for anyone who wants to give it a go. :)</p>
<br />Posted in All, Education, Flash Tagged: Flash, Game Concept, Game Design, Interactivity, rock paper scissor <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/1006/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/1006/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/1006/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=1006&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/19/flash-case-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Wave &#8211; info and invites</title>
		<link>http://skarh.wordpress.com/2009/10/14/google-wave-info-and-invites/</link>
		<comments>http://skarh.wordpress.com/2009/10/14/google-wave-info-and-invites/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 07:31:48 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Beta Invite]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[What is Wave]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=987</guid>
		<description><![CDATA[Small bit of information, and a chance to get yourself an invitation. What&#8217;s Google Wave? It&#8217;s like a new social network thing, from Google. It uses waves (alike threads for SMSes from different contacts) to include messages, photos, videos, and documents between users. Several users can also collaborate on waves together, which makes it a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=987&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Small bit of information, and a chance to get yourself an invitation.</p>
<p><span id="more-987"></span></p>
<p><strong>What&#8217;s Google Wave?</strong></p>
<p>It&#8217;s like a new social network thing, from <a href="http://google.com" target="_blank">Google</a>. It uses <em>waves</em> (alike threads for SMSes from different contacts) to include messages, photos, videos, and documents between users. Several users can also collaborate on waves together, which makes it a seemingly nice tool for projects where some kind of communication is needed between coworkers. But who can better explain what Google Wave is, than Google? Watch this looooooong video from Google I/O 09</p>
<span style="text-align:center; display: block;"><a href="http://skarh.wordpress.com/2009/10/14/google-wave-info-and-invites/"><img src="http://img.youtube.com/vi/v_UyVmITiYQ/2.jpg" alt="" /></a></span>
<p>(Old beta build, but basically the &#8220;same&#8221; as the beta going on right now)</p>
<p><strong>I have beta invites</strong></p>
<p>Yes, I do! If you want <strong>one out of eight </strong>possible invitations, leave a nice comment saying how much you want Google Wave &#8211; and why you want it &#8211; in this post. Include your e-mail adress.</p>
<blockquote><p>I currently have <strong>0 invites left.</strong> I&#8217;m all out.</p></blockquote>
<br />Posted in All, Computer Tagged: Beta, Beta Invite, Google, Google Wave, What is Wave <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/987/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=987&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/14/google-wave-info-and-invites/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 5</title>
		<link>http://skarh.wordpress.com/2009/10/13/flash-case-5/</link>
		<comments>http://skarh.wordpress.com/2009/10/13/flash-case-5/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 14:28:46 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Case]]></category>
		<category><![CDATA[Collision]]></category>
		<category><![CDATA[Detection]]></category>
		<category><![CDATA[hitPointTest]]></category>
		<category><![CDATA[jump]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=980</guid>
		<description><![CDATA[Adding Collision Detection to the &#8220;game&#8221;. There&#8217;s basically four new things I&#8217;ve been introduced to in this case &#8211; hitPointTest/hitPointObject, the while loop, gravity, and velocity. Case 5: In this case your character should follow the terrain you create for him/her/it. You also have to make it so that your character is allowed to jump [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=980&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Adding Collision Detection to the &#8220;game&#8221;.</p>
<p><span id="more-980"></span></p>
<p>There&#8217;s basically four new things I&#8217;ve been introduced to in this case &#8211; <strong>hitPointTest</strong>/<strong>hitPointObject</strong>, the <strong>while </strong>loop, <strong>gravity</strong>, and <strong>velocity</strong>.</p>
<blockquote><p>Case 5: In this case your character should follow the terrain you create for him/her/it.<span style="text-decoration:line-through;"> You also have to make it so that your character is allowed to jump when you press a key, the jump should move your character up and you have to use gravity to pull it back down on the terrain. Your character also needs to have the correct animation for the jump. If you want to; make it possible to move to either side when your character jumps.<br />
</span></p></blockquote>
<p>I finished the jump-code and movement while jumping in my last case (Case 4), thanks to <a href="http://www.flashgametuts.com/tutorials/as3/how-to-create-a-platform-game-in-as3-part-1/" target="_blank">this tutorial</a> and some classmates.</p>
<p>I&#8217;ll try to explain the new code I&#8217;ve added in this case.</p>
<pre>var mainJumping:Boolean = false;
var jumpSpeedLimit:int = 10;
var jumpSpeed:Number = 0;</pre>
<blockquote><p>Here&#8217;s the new variables I&#8217;ve added to my code. It&#8217;s variables for the jump.</p></blockquote>
<pre>handChar.y -= jumpSpeed;
jumpSpeed -= 2;</pre>
<blockquote><p>This code simply makes the Movie Clip &#8220;handChar&#8221; take effect from gravity, the code says that &#8220;handChar&#8221; should always pull -2 down on the y-axis (vertical) until it hits the hitTestPoint which is assigned to the Movie Clip called &#8220;Ground&#8221;.</p></blockquote>
<pre><strong>while</strong>(Ground.<strong>hitTestPoint</strong>(handChar.x, handChar.y-3, true))
{
         handChar.y -= 1;
         jumpSpeed = 0;
         mainJumping = false;
}</pre>
<blockquote><p>The<strong> while</strong> loop basically means do <em>&#8220;this</em>&#8221; when <em>&#8220;that&#8221;</em> happens, and it keeps repeating all the time, checking if there&#8217;s ground (objects) to stand on. Or in other words: when my character (&#8220;<em>handChar.x&#8221; </em>and <em>&#8220;handChar.y&#8221;</em> &#8211; for both x and y-axis) hits the ground (defined by &#8220;<em>Ground</em>&#8220;) it should stick to the ground.</p></blockquote>
<pre>if(upKeyDown)
{
	if (!mainJumping)
		{
			handChar.gotoAndStop(5);
			jumpSpeed=jumpSpeedLimit;
			mainJumping = true;
		}
	idle = false;
}</pre>
<blockquote><p>Here&#8217;s the &#8220;moveHand&#8221; function for my jump &#8211; you can see the variables here (jumpSpeed, jumpSpeedLimit, mainJumping).</p></blockquote>
<p>Code for this case can be found <a href="http://pastebin.com/f1b93eeec" target="_blank">here</a>, the result can be found <a href="http://jeldre.deviantart.com/art/Flash-Case-5-140233573" target="_blank">here</a>.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, Case, Collision, Detection, Education, Flash, hitPointTest, jump <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/980/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/980/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/980/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=980&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/13/flash-case-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 4 updated</title>
		<link>http://skarh.wordpress.com/2009/10/09/flash-case-4-updated/</link>
		<comments>http://skarh.wordpress.com/2009/10/09/flash-case-4-updated/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 20:49:22 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=978</guid>
		<description><![CDATA[More animation and code! So, I was ordinarily done with case 4 in the last blog post I did about the case. I wanted to do a bit more with my code though, and with some help from Markus the neighbour I was able to add attacks to the script. It even works like I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=978&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>More animation and code!</p>
<p><span id="more-978"></span></p>
<p>So, I was ordinarily done with case 4 in the last blog post I did about the case. I wanted to do a bit more with my code though, and with some help from Markus the neighbour I was able to add attacks to the script. It even works like I wanted it to!</p>
<p>When I tried coding this myself, I had one serious problem: How can I make the animation initiate when a specific key is pressed down -&gt; Run through the animation for said keyframe when specific key is pressed -&gt; Then stop and return to idle.</p>
<p>It seems that the main solution for this was adding a instance name to the keyframes within the sprite, and adding the named instance as a Event Listener (line 32 in my code). I also had to make a new function that would say when a frame was ended (line 46 in my code).</p>
<p>I&#8217;m still not completely satisfied with the result, the code is looking alright &#8211; but the graphic isn&#8217;t looking like I want it to, so I will have to fiddle around with that a bit.</p>
<p>The result can be found <a href="http://jeldre.deviantart.com/art/Flash-Case-4-138314165" target="_blank">here</a>, and the code can be found <a href="http://pastebin.com/f58d57d32" target="_blank">here</a>.</p>
<br />Posted in All, Education, Flash  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/978/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=978&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/09/flash-case-4-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekly Wallpaper #12</title>
		<link>http://skarh.wordpress.com/2009/10/03/weekly-wallpaper-12/</link>
		<comments>http://skarh.wordpress.com/2009/10/03/weekly-wallpaper-12/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 22:10:08 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Fantasy]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Image Flash]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[Wallpaper]]></category>
		<category><![CDATA[Weekly Wallpaper]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=972</guid>
		<description><![CDATA[Another bunch of wallpapers. All images have been found on ImageFlash. Resolution on the images is 1900&#215;1200 pixels. Posted in All, Art Tagged: Abstract, Fantasy, Image, Image Flash, photo, Wallpaper, Weekly Wallpaper<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=972&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another bunch of wallpapers.</p>
<p><span id="more-972"></span></p>
<p>All images have been found on <a href="http://imageflash.com.ar" target="_blank">ImageFlash</a>. Resolution on the images is 1900&#215;1200 pixels.</p>
<p><a href="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2918547.jpg" target="_blank"><img class="alignnone" title="Gecko" src="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2918547.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2919828.jpg" target="_blank"><img class="alignnone" title="Summer" src="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2919828.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2912129.jpg" target="_blank"><img class="alignnone" title="Winter" src="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2912129.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2914686.jpg" target="_blank"><img class="alignnone" title="Vase" src="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2914686.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://www.imageflash.com.ar/wallpapers/Fantasy/Fantasy-Wallpaper-%281920x1200%2911304.jpg" target="_blank"><img class="alignnone" title="Elven Fantasy" src="http://www.imageflash.com.ar/wallpapers/Fantasy/Fantasy-Wallpaper-%281920x1200%2911304.jpg" alt="" width="400" height="250" /></a></p>
<br />Posted in All, Art Tagged: Abstract, Fantasy, Image, Image Flash, photo, Wallpaper, Weekly Wallpaper <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/972/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=972&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/10/03/weekly-wallpaper-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2918547.jpg" medium="image">
			<media:title type="html">Gecko</media:title>
		</media:content>

		<media:content url="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2919828.jpg" medium="image">
			<media:title type="html">Summer</media:title>
		</media:content>

		<media:content url="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2912129.jpg" medium="image">
			<media:title type="html">Winter</media:title>
		</media:content>

		<media:content url="http://www.imageflash.com.ar/wallpapers/Miscellaneous/Miscellaneous-Wallpaper-%281920x1200%2914686.jpg" medium="image">
			<media:title type="html">Vase</media:title>
		</media:content>

		<media:content url="http://www.imageflash.com.ar/wallpapers/Fantasy/Fantasy-Wallpaper-%281920x1200%2911304.jpg" medium="image">
			<media:title type="html">Elven Fantasy</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 4</title>
		<link>http://skarh.wordpress.com/2009/09/30/flash-case-4/</link>
		<comments>http://skarh.wordpress.com/2009/09/30/flash-case-4/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 22:27:17 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Variable]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=963</guid>
		<description><![CDATA[Event Programming &#8211; making a symbol move with input. So.. Another case filled with juicy traits of ActionScript programming, oh joy! Well, the &#8220;frustration&#8221; aside, it&#8217;s fun once you learn the hang of it, programming in ActionScript that is. I haven&#8217;t gotten the hang of everything yet, but I am starting to feel comfortable with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=963&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Event Programming &#8211; making a symbol move with input.</p>
<p><span id="more-963"></span></p>
<p>So.. Another case filled with juicy traits of ActionScript programming, oh joy! Well, the &#8220;frustration&#8221; aside, it&#8217;s fun once you learn the hang of it, programming in ActionScript that is. I haven&#8217;t gotten the hang of everything yet, but I am starting to feel comfortable with some of the different strings, events, variables and functions.</p>
<blockquote><p>Case 4: Make your character move left and right with animations, using keyboard functions. You also have to make sure the character goes into the idle-animation when you don&#8217;t press down any keys. Important keywords in this case: events, keycodes, functions.</p></blockquote>
<p>At first, this sounded like a hard task, and it was a bit difficult actually. I am glad I live in a era where internet is, more or less, like owning a pair of socks: quite common. If I didn&#8217;t have the internet to look into when I stepped into trouble I would probably have a much harder time finishing this case. Thanks to all of the awesome people out there who are willing to share their knowledge with others! It means a lot, at least to me it does.</p>
<p>I started the case by finding out what the problem was. I had to find out what kind of code I needed to write, foremost what sort of events I had to use, then the functions and other code-bits came naturally along the way. I needed keyboard events added to my script, I found, and used, parts of my code from <a href="http://www.flashgametuts.com/tutorials/as3/how-to-create-a-platform-game-in-as3-part-1/" target="_blank">this specific tutorial</a> and reading in &#8220;Learning ActionScript 3.0: A Beginner&#8217;s Guide&#8221; (Mainly chapter 3 and 4).  Check out <a href="http://www.flashgametuts.com/" target="_blank">Flash Game Tuts</a>, a neat and organized webpage aiming at the Flash Game programmers out there.</p>
<p><a href="http://jeldre.deviantart.com/art/Flash-Case-4-WIP-138314165" target="_blank">Here&#8217;s the result</a> I&#8217;ve got this far, thanks to DeviantArt for supporting .SWF files.</p>
<p>As usually when there&#8217;s code involved in my ramblings, I have to paste them out for everyone to see! Well, I don&#8217;t have to, but I want to contribute something back to the &#8220;community&#8221;, hopefully someone will learn something from the code I&#8217;ve used, as I did from the tutorial I found.</p>
<p>Here&#8217;s a <a href="http://pastebin.com/f273b62e4" target="_blank">Pastebin link to the code</a>, formatted for ActionScript, and here&#8217;s the same code pasted directly into WordPress (I recommend using the Pastebin).</p>
<pre>
package
{ // start package

	import flash.display.MovieClip;
	import flash.events.*; 

	public class Main extends MovieClip
	{ // start public class Main
		var speed:Number = 5; 

		var handChar:HandChar;
		// define MovieClip "handChar"

		var leftKeyDown:Boolean = false;
		var upKeyDown:Boolean = false;
		var rightKeyDown:Boolean = false;
		var downKeyDown:Boolean = false;
		// define keys left, right, up, down - for movement (left, right, up, may add down)

		var hKeyDown:Boolean = false;
		var jKeyDown:Boolean = false;
		var kKeyDown:Boolean = false;
		//define keys h, j, k - for attacks (rock, paper, scissor)

		var mainJumping:Boolean = false;
		var jumpSpeedLimit:int = 15;
		var jumpSpeed:Number = jumpSpeedLimit;
		// define jump

		public function Main()
		{ // start function Main
			addEventListener(Event.ENTER_FRAME, moveHand);
			addEventListener(Event.ENTER_FRAME, attackHand);
			addEventListener(Event.ENTER_FRAME, boundaries);
			stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
			stage.addEventListener(KeyboardEvent.KEY_UP, checkKeysUp);
			handChar= new HandChar ();
			handChar.x = 200;
			handChar.y = 90;
			handChar.scaleX = 1;
			handChar.scaleX = 1;
			addChild(handChar);

		} // end function Main

		private function checkKeysDown (event:KeyboardEvent):void
		{ // start private function checkKeysDown
			if(event.keyCode == 37 || event.keyCode == 65)
			{
				leftKeyDown = true;
			}
			if(event.keyCode == 38 || event.keyCode == 87)
			{
				upKeyDown = true;
			}
			if(event.keyCode == 39 || event.keyCode == 68)
			{
				rightKeyDown = true;
			}
			if(event.keyCode == 40 || event.keyCode == 83)
			{
				downKeyDown = true;
			}
			if(event.keyCode == 72)
			{
				hKeyDown = true;
			}
			if(event.keyCode == 74)
			{
				jKeyDown = true;
			}
			if(event.keyCode == 75)
			{
				kKeyDown = true;
			}
		} // end private function checkKeysDown

		private function checkKeysUp (event:KeyboardEvent):void
		{ // start private function checkKeysUp
			if(event.keyCode == 37 || event.keyCode == 65)
			{
				leftKeyDown = false;
			}
			if(event.keyCode == 38 || event.keyCode == 87)
			{
				upKeyDown = false;
			}
			if(event.keyCode == 39 || event.keyCode == 68)
			{
				rightKeyDown = false;
			}
			if(event.keyCode == 40 || event.keyCode == 83)
			{
				downKeyDown = false;
			}
			if(event.keyCode == 72)
			{
				hKeyDown = false;
			}
			if(event.keyCode == 74)
			{
				jKeyDown = false;
			}
			if(event.keyCode == 75)
			{
				kKeyDown = false;
			}
		} // end private function checkKeysUp

		public function moveHand (e:Event) : void
		{ // start public function moveHand
			if(leftKeyDown)
			{
				if(upKeyDown || mainJumping)
				{
					handChar.x -=speed;
					handChar.scaleX = -1;
					handChar.gotoAndPlay(5);
					mainJump();
					return;
				}
				handChar.x -= speed;
				handChar.scaleX = -1;
				handChar.gotoAndPlay(1);
				return;
			} 

			if(rightKeyDown)
			{
				if(upKeyDown || mainJumping)
				{
					handChar.x +=speed;
					handChar.scaleX = 1;
					handChar.gotoAndPlay(5);
					mainJump();
					return;
				}
				handChar.x += speed;
				handChar.scaleX = 1;
				handChar.gotoAndPlay(1);
				return;
			}

			if(upKeyDown || mainJumping)
			{
				handChar.gotoAndPlay(5);
				mainJump();
				return;
			}

			handChar.gotoAndPlay(3);
		} // end public function Movehand

		public function attackHand (e:Event) : void
		{ /*// start public function attackHand
			if(hKeyDown)
			{
				handChar.gotoAndStop(rock);
				return;
			}

			if(jKeyDown)
			{
				handChar.gotoAndStop(paper);
				return;
			}

			if(kKeyDown)
			{
				handChar.gotoAndStop(scissor);
				return;
			} */
		} // end public function attackHand 

		function boundaries (e:Event) : void
		 { // start function boundaries

			 if(handChar.x &gt; stage.stageWidth - handChar.width/2)
			 {
				 handChar.x = stage.stageWidth - handChar.width/2;
			 }
			 if(handChar.x &lt; 15)
			 {
				 handChar.x = 15;
			 }
         } // end function boundaries

		function mainJump():void
		{ // start function mainJump
			if(!mainJumping)
			{
				mainJumping = true;
				jumpSpeed = jumpSpeedLimit*-1;
				handChar.y += jumpSpeed;
			}
			else
			{
			if(jumpSpeed  -jumpSpeedLimit/5)
				{
					jumpSpeed *= -1;
				}
			}
			if(jumpSpeed &gt; 0 &amp;&amp; jumpSpeed = stage.stageHeight - handChar.height)
				{
				mainJumping = false;
				handChar.y = stage.stageHeight - handChar.height;
				}
			}
		} // end function mainJump
		} // end public class Main
} // end package
</pre>
<p>Update: I&#8217;ve added boundaries (the function called &#8220;boundaries&#8221;) and attack inputs (the function called &#8220;attackHand&#8221;). Going to add animations for the attacks once they&#8217;re drawn.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript 3.0, AS3, Event, Flash, Function, Variable <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/963/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/963/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/963/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=963&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/09/30/flash-case-4/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekly Wallpaper #11</title>
		<link>http://skarh.wordpress.com/2009/09/25/weekly-wallpaper-11/</link>
		<comments>http://skarh.wordpress.com/2009/09/25/weekly-wallpaper-11/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 11:46:35 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[4walled]]></category>
		<category><![CDATA[Abstract]]></category>
		<category><![CDATA[ImageFlash]]></category>
		<category><![CDATA[Photo Manipulation]]></category>
		<category><![CDATA[Wallpaper]]></category>
		<category><![CDATA[Weekly Wallpaper]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=958</guid>
		<description><![CDATA[Wallpapers! 4walled has them. I also found ImageFlash, a similar site, but without all the &#8220;explicit&#8221; content and desktop screenshots. Click on the images for the full resolution. 1900&#215;1200 pixels. Posted in All, Art Tagged: 4walled, Abstract, ImageFlash, Photo Manipulation, Wallpaper, Weekly Wallpaper<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=958&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Wallpapers!</p>
<p><span id="more-958"></span></p>
<p><a href="http://4walled.org/" target="_blank">4walled</a> has them. I also found <a href="http://www.imageflash.com.ar/" target="_blank">ImageFlash</a>, a similar site, but without all the &#8220;explicit&#8221; content and desktop screenshots.</p>
<p>Click on the images for the full resolution. 1900&#215;1200 pixels.</p>
<p><a href="http://4walled.org/src/1252061756607.jpg" target="_blank"><img class="alignnone" title="House" src="http://4walled.org/src/1252061756607.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1251890768401.jpg" target="_blank"><img class="alignnone" title="Wooden Floor" src="http://4walled.org/src/1251890768401.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1253335503184.jpg" target="_blank"><img class="alignnone" title="Organic" src="http://4walled.org/src/1253335503184.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1253334606692.png" target="_blank"><img class="alignnone" title="Abstract" src="http://4walled.org/src/1253334606692.png" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1251634578237.jpg" target="_blank"><img class="alignnone" title="Pollution" src="http://4walled.org/src/1251634578237.jpg" alt="" width="400" height="250" /></a></p>
<br />Posted in All, Art Tagged: 4walled, Abstract, ImageFlash, Photo Manipulation, Wallpaper, Weekly Wallpaper <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/958/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=958&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/09/25/weekly-wallpaper-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1252061756607.jpg" medium="image">
			<media:title type="html">House</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1251890768401.jpg" medium="image">
			<media:title type="html">Wooden Floor</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1253335503184.jpg" medium="image">
			<media:title type="html">Organic</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1253334606692.png" medium="image">
			<media:title type="html">Abstract</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1251634578237.jpg" medium="image">
			<media:title type="html">Pollution</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash &#8211; Case 3</title>
		<link>http://skarh.wordpress.com/2009/09/22/flash-case-3/</link>
		<comments>http://skarh.wordpress.com/2009/09/22/flash-case-3/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 14:11:34 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[assignment]]></category>
		<category><![CDATA[Case]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Package]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=946</guid>
		<description><![CDATA[Let the programming start! This week we&#8217;ve been introduced to ActionScript 3.0, the programming language used inside Flash. Case 3: In this case you have to move your character by using ActionScript, you also have to make sure that the character is kept &#8220;within the screen&#8221; (an invisible border that you assign in the script). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=946&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let the programming start!</p>
<p><span id="more-946"></span></p>
<p>This week we&#8217;ve been introduced to ActionScript 3.0, the programming language used inside Flash.</p>
<blockquote><p>Case 3: In this case you have to move your character by using ActionScript, you also have to make sure that the character is kept &#8220;within the screen&#8221; (an invisible border that you assign in the script).</p></blockquote>
<p>Having small amounts of experience within the whole programming setting is something that I&#8217;ve felt, in a negative way, the last days. I have a bit of experience from Assembly, and a bit of bash/C++ programming, but it&#8217;s not really comparable to ActionScript.</p>
<p>I have completed this case, more or less to a satisfying extent, although I have to admit that I&#8217;ve cross-referenced most parts of my code within the  &#8220;<a href="http://www.amazon.com/Learning-ActionScript-3-0-Beginners-Guide/dp/059652787X/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1252790312&amp;sr=1-1" target="_blank">Learning AcrionScript 3.0: A Beginner&#8217;s Guide</a>&#8221; book.</p>
<p>I&#8217;m going to read about <strong>packages</strong>, <strong>functions</strong>, <strong>statements</strong> (if, while, then, etc), <strong>classes</strong>, <strong>loops</strong>, and <strong>events</strong>. I also have to add another sequence to my walk-animation, as well as tidying up the sprite I&#8217;ve made out of all the animations.</p>
<p><a href="http://pastebin.com/f78ab6027" target="_blank">Here&#8217;s the code</a> (pastebin) I&#8217;ve written to solve this case. <a href="http://metode09.wikispot.org/Case/Case03?action=Files&amp;do=view&amp;target=Case%203%20-%20Joacim.rar" target="_blank">Here&#8217;s</a> the zip archive of the ActionScript file, the flash file, and a Flash movie with the two files combined.</p>
<p>And here&#8217;s the code pasted directly into this post, it appears quite messy as WordPress doesn&#8217;t really allow &#8220;clean&#8221; indents when you quote text. I recommend checking the <a href="http://pastebin.com/f78ab6027" target="_blank">Pastebin version</a> as it formats the code with colors according to ActionScript.</p>
<blockquote>
<div style="font-family:monospace;">
<ol>
<li>
<div>package</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>import flash.display.MovieClip;</div>
</li>
<li>
<div>import flash.events.Event;</div>
</li>
<li>
<div>public class Main extends MovieClip</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>var speed:Number = 5;</div>
</li>
<li>
<div>var walk:Walk;</div>
</li>
<li>
<div>public function Main()</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>addEventListener(Event.ENTER_FRAME, Update);</div>
</li>
<li>
<div>walk= new Walk ();</div>
</li>
<li>
<div>walk.x = 200;</div>
</li>
<li>
<div>walk.y = 50;</div>
</li>
<li>
<div>walk.scaleX = 1;</div>
</li>
<li>
<div>walk.scaleX = 1;</div>
</li>
<li>
<div>addChild(walk);</div>
</li>
<li>
<div>trace(&#8220;Flash&#8221;);</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>public function Update (e:Event) : void</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>walk.x+=speed;</div>
</li>
<li>
<div>if(walk.x&gt;400-walk.width/2)</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>speed= -speed;</div>
</li>
<li>
<div>walk.scaleX = -1;</div>
</li>
<li>
<div>trace(walk.x);</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>if(walk.x&lt;0+walk.width/2)</div>
</li>
<li>
<div>{</div>
</li>
<li>
<div>speed= -speed;</div>
</li>
<li>
<div>walk.scaleX = 1;</div>
</li>
<li>
<div>trace(walk.x);</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>}</div>
</li>
</ol>
</div>
</blockquote>
<p>The groups in our course got two example files, one .as (ActionScript) file and one .fla (Flash) file. I studied the examples while reading along the code, to better understand what the code was all about. Thanks to <a href="http://eirikfolkestad.blogspot.com/2009/09/first-day-with-actionscript-programming.html" target="_blank">Eirik</a> (Antihelt) who chugged up some code to the web, which I was allowed to take part in myself, and later used parts of. I wrote most of the code down on my own using &#8220;Learning ActionScript 3.0: The Beginner&#8217;s Guide&#8221;, and added some code that I found out would &#8220;improve&#8221; the script, like dividing the walk.x so it turns inside the assigned screen-limit/border. I still need to learn more of the functions and so on to get a broader understanding of what I actually write, and why I do it.</p>
<br />Posted in All, Education, Flash Tagged: ActionScript, assignment, Case, Event, Flash, Package <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/946/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/946/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/946/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=946&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/09/22/flash-case-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekly Wallpaper #10</title>
		<link>http://skarh.wordpress.com/2009/09/20/weekly-wallpaper-10/</link>
		<comments>http://skarh.wordpress.com/2009/09/20/weekly-wallpaper-10/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 03:09:11 +0000</pubDate>
		<dc:creator>Sheel</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Art]]></category>

		<guid isPermaLink="false">http://skarh.wordpress.com/?p=943</guid>
		<description><![CDATA[Another batch o&#8217; wallpapers. All the wallpapers are 1920&#215;1200 pixels, and found with 4walled. Posted in All, Art<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=943&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another batch o&#8217; wallpapers.</p>
<p><span id="more-943"></span></p>
<p>All the wallpapers are 1920&#215;1200 pixels, and found with <a href="http://4walled.org" target="_blank">4walled</a>.</p>
<p><a href="http://4walled.org/src/1253312377982.png" target="_blank"><img class="alignnone" title="Yarr" src="http://4walled.org/src/1253312377982.png" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1252972534214.jpg" target="_blank"><img class="alignnone" title="Cardboard" src="http://4walled.org/src/1252972534214.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1252468683049.jpg" target="_blank"><img class="alignnone" title="Shadow of the Colossus" src="http://4walled.org/src/1252468683049.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1251677412608.jpg" target="_blank"><img class="alignnone" title="Swirly" src="http://4walled.org/src/1251677412608.jpg" alt="" width="400" height="250" /></a></p>
<p><a href="http://4walled.org/src/1251673625705.jpg" target="_blank"><img class="alignnone" title="Geisha" src="http://4walled.org/src/1251673625705.jpg" alt="" width="400" height="250" /></a></p>
<br />Posted in All, Art  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/skarh.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/skarh.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/skarh.wordpress.com/943/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=skarh.wordpress.com&amp;blog=3716735&amp;post=943&amp;subd=skarh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://skarh.wordpress.com/2009/09/20/weekly-wallpaper-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1646dfa4a2aacac46a3c8cc0b694c2c2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">Sheel</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1253312377982.png" medium="image">
			<media:title type="html">Yarr</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1252972534214.jpg" medium="image">
			<media:title type="html">Cardboard</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1252468683049.jpg" medium="image">
			<media:title type="html">Shadow of the Colossus</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1251677412608.jpg" medium="image">
			<media:title type="html">Swirly</media:title>
		</media:content>

		<media:content url="http://4walled.org/src/1251673625705.jpg" medium="image">
			<media:title type="html">Geisha</media:title>
		</media:content>
	</item>
	</channel>
</rss>
