<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Werx Limited &#187; tutorial</title> <atom:link href="http://werxltd.com/wp/tag/tutorial/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 23 Jan 2012 23:03:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Learning Languages: Java</title><link>http://werxltd.com/wp/2010/05/18/learning-languages-java/</link> <comments>http://werxltd.com/wp/2010/05/18/learning-languages-java/#comments</comments> <pubDate>Tue, 18 May 2010 12:00:56 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[java]]></category> <category><![CDATA[software development]]></category> <category><![CDATA[beginner]]></category> <category><![CDATA[enviroment]]></category> <category><![CDATA[ide]]></category> <category><![CDATA[tutorial]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=532</guid> <description><![CDATA[The first thing you&#8217;ll need to consider is the development environment you want to use primarily. This is important as it will have an impact on how you run through tutorials and examples later on. Environments can be broken down into two broad categories; command-line or a visual IDE. Both have their merits and you&#8217;ll [...]]]></description> <content:encoded><![CDATA[<p>The first thing you&#8217;ll need to consider is the development environment you want to use primarily. This is important as it will have an impact on how you run through tutorials and examples later on.</p><p>Environments can be broken down into two broad categories; command-line or a <a
href="http://en.wikipedia.org/wiki/Integrated_development_environment">visual IDE</a>. Both have their merits and you&#8217;ll eventually need to be familiar with both (especially if you expect to be releasing production code or participating in any well-maintained development environment).</p><p>The most common command-line environments are <a
href="http://maven.apache.org/">Maven</a> and <a
href="http://ant.apache.org/ivy/">Ivy</a>. Both come with a somewhat steep learning curve (which, unfortunately is unavoidable) but both are well worth investigating as they are both very common in production environments.</p><p>Starting out, however, you&#8217;ll most likely find that using a visual IDE will help you get right down to learning and compiling example code fairly quickly.</p><p>There are several common IDEs; <a
href="http://www.jetbrains.com/idea/">IntelliJ</a>, <a
href="http://netbeans.org/">NetBeans</a>, and <a
href="http://www.eclipse.org">Eclipse</a> are all great ones that I&#8217;ve seen used in production. My favorite hands-down is Eclipse, especially since it also has configurations to help you develop in other languages such as <a
href="http://www.aptana.org/">PHP (Aptana)</a> and <a
href="http://www.eclipse.org/cdt/">C/C++</a>.</p><p>For general basics and a broad overview of Java; I would recommend you take a look at <a
href="http://www.javabeginner.com/">the Java Beginner site</a>.</p><p>There&#8217;s also several handy video tutorials (mostly using Eclipse) on YouTube such as this one:<br
/> <object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="src" value="http://www.youtube.com/v/UGmhks4K13g&amp;hl=en_US&amp;fs=1&amp;" /><param
name="allowfullscreen" value="true" /><embed
type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/UGmhks4K13g&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><p>Once you get the basics down, I&#8217;ve found that working on a full project helps. A great place to start would be to help our with an existing open-source project like <a
href="http://www.crosswire.org/jsword/">JSword</a>.</p><div
class="betterrelated none"><p>No related content found.</p></div><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;count=none&amp;text=Learning%20Languages%3A%20Java" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;count=none&amp;text=Learning%20Languages%3A%20Java" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;linkname=Learning%20Languages%3A%20Java" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F05%2F18%2Flearning-languages-java%2F&amp;title=Learning%20Languages%3A%20Java" id="wpa2a_2">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2010/05/18/learning-languages-java/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Writing a &#8220;punch the monkey&#8221; Flash application</title><link>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/</link> <comments>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#comments</comments> <pubDate>Sat, 20 Jun 2009 20:57:08 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[software development]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[game]]></category> <category><![CDATA[punch the monkey]]></category> <category><![CDATA[reverse engineering]]></category> <category><![CDATA[tutorial]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=59</guid> <description><![CDATA[Recently I was asked to develop a simple "punch the monkey" type game for an Augusta-based radio personality Austin Rhodes who apparently garners as many enemies as fansbut both, it seems, wouldn't mind taking a swing at him, even if it were a virtual one.]]></description> <content:encoded><![CDATA[<p>Recently I was asked to develop a simple &#8220;punch the monkey&#8221; type game for an Augusta-based radio personality <a
href="http://www.facebook.com/pages/The-Austin-Rhodes-Show/75430353279?ref=ts">Austin Rhodes</a> who apparently garners as many enemies as fans<sup><a
href="http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#footnote_0_59" id="identifier_0_59" class="footnote-link footnote-identifier-link" title="sort of like a local Rush Limbaugh">1</a></sup>. Both, it seems, wouldn&#8217;t mind taking a swing at him, though, even if its only a virtual one.</p><p>Not wanting to spend a whole lot of time on this project and remembering the plethora of &#8220;punch the monkey&#8221; Flash applets that used to plague us<sup><a
href="http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/#footnote_1_59" id="identifier_1_59" class="footnote-link footnote-identifier-link" title="before ad blockers largely toned them down that is">2</a></sup> in the early days of the internet. I figured it would be pretty easy to simply modify one of them to fit our needs.</p><p>So here&#8217;s a simple 3 step process you can use to create your own &#8220;punch the monkey&#8221; game for that special someone in your life.</p><p>Step 1, rogue a base game from <a
href="http://www.deepmojo.com/sucker-punch-saloon/">Sucker Punch Saloon</a>. You&#8217;ll need to download the compiled  Flash binary, the .swf. I liked the look of the one with President George Bush because it seemed clean and easy enough to modify.</p><p>Step 2, decompile the compiled Flash binary (.swf) using something like <a
href="http://www.sothink.com/product/flashdecompiler/">Sothink&#8217;s SWF Decompiler</a> or one of the <a
href="http://www.bestflashanimationsite.com/resources/decompilers/">countless others</a>. Sothink&#8217;s decompiler is my favorite, though, since it has managed to consistently handle the latest versions of Flash.</p><p>Step 3, take the decompiled .fla and open it in Flash and replace the images you need with the ones you create. For the game I chose to modify, this meant swapping out 3 images in all along with the advertising at the bottom.  I also threw in some free sound effects from <a
href="http://www.findsounds.com">findsounds.com</a> just to make the game more interesting. Additionally, <a
href="http://www.bluesfear.com/tutorials/Blood.htm">this tutorial</a> came in handy when it came to adding blood to the image (well, something that remotely resembles blood anyway).</p><p>Well there you have it. Quick, simple, and painless. <a
href="http://werxltd.com/austin-rhodes-punchout/">Here&#8217;s the finished product</a>, knock yourself (or Austin, rather) out.</p><div
class="betterrelated none"><p>No related content found.</p></div><ol
class="footnotes"><li
id="footnote_0_59" class="footnote">sort of like a local Rush Limbaugh</li><li
id="footnote_1_59" class="footnote">before ad blockers largely toned them down that is</li></ol>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/06/20/writing-a-punch-the-monkey-flash-application/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 2/14 queries in 0.127 seconds using apc
Object Caching 384/409 objects using apc

Served from: werxltd.com @ 2012-02-05 03:10:13 -->
