<?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"
	>

<channel>
	<title>Crayzero</title>
	<atom:link href="http://crayzero.gamedevpinoy.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://crayzero.gamedevpinoy.net</link>
	<description>Press a key! Move a pixel!</description>
	<pubDate>Wed, 26 Mar 2008 18:41:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Create WordPress theme with Flash header</title>
		<link>http://crayzero.gamedevpinoy.net/create-your-first-wordpress-theme-with-flash-header/</link>
		<comments>http://crayzero.gamedevpinoy.net/create-your-first-wordpress-theme-with-flash-header/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 20:34:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[customized]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[header]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://crayzero.gamedevpinoy.net/create-your-first-wordpress-theme-with-flash-header/</guid>
		<description><![CDATA[After 48 hours of sleepless, tutorial marathon, I am finally done with my first WordPress theme. It&#8217;s not so much to look at, but like I said it&#8217;s my first and I&#8217;m proud of it. Learning is quite easy, it&#8217;s how to get around the messy codes that almost made me pulled my hair-off. I [...]]]></description>
			<content:encoded><![CDATA[<p>After 48 hours of sleepless, tutorial marathon, I am finally done with my first WordPress theme. It&#8217;s not so much to look at, but like I said it&#8217;s my first and I&#8217;m proud of it. Learning is quite easy, it&#8217;s how to get around the messy codes that almost made me pulled my hair-off. I say, I&#8217;m just lucky to see tons of tutorial in the web; really saved a few days of tail chasing. <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>When I got started, I was planning for a dark and loud colored theme with lots of images that depicts various video game characters but then a bit of mind changing and I&#8217;ve come up with a clean-minimalist look, few pastel colors + bright gradients to accent the logo and an animated Flash banner. I&#8217;m just so glad I finished it, so glad that I would like to share some pointers from what I learned.</p>
<p><strong>To make the theme:</strong></p>
<p>1. Create a template design then slice the necessary image using Photoshop<br />
2. Copy and rename the folder of the <a href="http://binarybonsai.com/kubrick/">Default Theme</a> by Michael Heilemann of <a href="http://binarybonsai.com">Binarybonsai</a> in the themes folder.<br />
3. Modify necessary CSS, PHP pages and images. Since I&#8217;m doing basic revision, I only edited 5 files from the default theme:</p>
<p><strong>a. index.php</strong> - contains the sidebar, header and footer and the primary page of your website;<br />
<strong>b. sidebar.php</strong> - this contains functions that shows different components/stats of your blog;<br />
<strong>c. footer.php</strong> - located at the bottom of the page, contain links.<br />
<strong>d. header.php</strong> - located at the top of the page. This contains the header image. You can also put the nav buttons here.<br />
<strong>e. style.css</strong> - where you can control the design and layout of your WordPress.</p>
<p><em>Remember you must have a mid-level knowledge on how CSS and PHP works and it will also help if you read the tutorials and roam around the <a href="http://wordpress.org">wordpress</a> <a href="http://wordpress.org/support/">forum </a>for a day or two.<br />
</em><br />
<strong>Customizing WordPress header - animated Flash banner:</strong></p>
<ol>
<li>Open header.php</li>
<li>Locate and remove this code:</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;<span class="kw2">&lt;?php</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Checks to see whether it needs a sidebar or not</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span><span class="br0">&#40;</span>!<span class="re0">$withcomments</span> &amp;amp;&amp;amp; !is_single<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="kw2">?&gt;</span></div>
</li>
<li class="li1">
<div class="de1">#page {</div>
</li>
<li class="li1">
<div class="de1">background: url(&quot;<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8217;stylesheet_directory&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span> /images/kubrickbg-<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;text_direction&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span>.jpg&quot;) repeat-y top; border: none;</div>
</li>
<li class="li1">
<div class="de1">}</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw2">&lt;?php</span> <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span> <span class="co1">// No sidebar ?&gt;</span></div>
</li>
<li class="li1">
<div class="de1">#page { background: url(&quot;<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8217;stylesheet_directory&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span>/images/kubrickbgwide.jpg&quot;) repeat-y top; border: none; }</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">&lt;?php</span> <span class="br0">&#125;</span> <span class="kw2">?&gt;</span></div>
</li>
<li class="li1">
<div class="de1">&lt;/style&gt;</div>
</li>
</ol>
</div>
<p>This is a part of the kubrick Default Theme that determines the location of the sidebar or if it really needs one. We&#8217;ll not use that one, so we can just discard it.</p>
<li>Now locate this code:</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&lt;h1&gt;&lt;a href=&quot;<span class="kw2">&lt;?php</span> <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> get_option<span class="br0">&#40;</span><span class="st0">&#8216;home&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span>/&quot;&gt;<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;name&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span>&lt;/a&gt;&lt;/h1&gt;&lt;div class=&quot;description&quot;&gt;<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;description&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span>&lt;/div&gt;</div>
</li>
</ol>
</div>
<p>and replace it with:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">&lt;?php</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span>is_home<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">codebase = &quot;http://download.macromedia.com/pub/sh &#8230; ash/swflash.cab#version=6,0,0,0&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">WIDTH=&quot;955&quot; HEIGHT=&quot;200&quot; id=&quot;homePage&quot; ALIGN=&quot;&quot;&gt;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="st0">&lt;PARAM NAME=movie</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">VALUE =</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&quot;http://YOURWEBSITE.COM/wp-content/themes/YOURTHEME/flash/index.swf&quot;&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;PARAM NAME=quality VALUE=high&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;PARAM NAME=bgcolor VALUE=#FFFFFF&gt;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="st0">&lt;EMBED src = &quot;http://YOURWEBSITE.COM/wp-content/themes/YOURTHEME/flash/index.swf&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">quality=high bgcolor=#FFFFFF WIDTH=&quot;955&quot; HEIGHT=&quot;200&quot; NAME=&quot;homePage&quot; ALIGN=&quot;&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;http://www.macromedia.com/go/getflash &#8230; r&quot;&gt;&lt;/EMBED&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;/OBJECT&gt;&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="kw2">?&gt;</span></div>
</li>
</ol>
</div>
<p>In this code I named my swf file &#8220;index.swf&#8221; and placed it on the themes folder under &#8220;YOURTHEME/flash/index.swf&#8221;. Now this displays the Flash header on the index page only. If you want to show it on all pages, just remove this code:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"> if (is_home()){}</div>
</li>
</ol>
</div>
</ol>
<p>And that&#8217;s it. You now have an animated Flash banner as a header for your WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://crayzero.gamedevpinoy.net/create-your-first-wordpress-theme-with-flash-header/feed/</wfw:commentRss>
		</item>
		<item>
		<title>2% Loaded&#8230;</title>
		<link>http://crayzero.gamedevpinoy.net/2-loaded/</link>
		<comments>http://crayzero.gamedevpinoy.net/2-loaded/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 17:54:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Nonsense]]></category>

		<guid isPermaLink="false">http://crayzero.gamedevpinoy.net/2-loaded/</guid>
		<description><![CDATA[My apologies for the current status of this online journal. I haven&#8217;t finished yet fixing some parts of this blog.  Meanwhile, you might want to check out my uber humble reel. It shows some of my latest and past works. Just click the Demo Reel link on the sidebar, and let me know any comments [...]]]></description>
			<content:encoded><![CDATA[<p>My apologies for the current status of this online journal. I haven&#8217;t finished yet fixing some parts of this blog.  Meanwhile, you might want to check out my uber humble reel. It shows some of my latest and past works. Just click the <a href="http://crayzero.gamedevpinoy.net/demo-reel/" title="Demo Reel">Demo Reel</a> link on the sidebar, and let me know any comments or violent reactions. Just drop by always, and you&#8217;ll see a great transformation! I promise. <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://crayzero.gamedevpinoy.net/2-loaded/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://crayzero.gamedevpinoy.net/hello-world/</link>
		<comments>http://crayzero.gamedevpinoy.net/hello-world/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 19:13:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Game Development]]></category>

		<category><![CDATA[Nonsense]]></category>

		<category><![CDATA[game blog]]></category>

		<category><![CDATA[introduction]]></category>

		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi there. Hmm.. I wish there&#8217;s something more to say, but for now I think i just need to let the world know that this site is alive. Yay!  I decided to setup this Game Development Journal to fulfill the following:
 1) To teach the world things about game development.
2) To track all of [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there. Hmm.. I wish there&#8217;s something more to say, but for now I think i just need to let the world know that this site is alive. Yay! <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> I decided to setup this Game Development Journal to fulfill the following:</p>
<blockquote><p> 1) To teach the world things about game development.<br />
2) To track all of my works, for I am one cluttery specie.<br />
3) To serve as my online portfolio(hoping that it would impress someone.. <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> )</p></blockquote>
<p>Here are the topics I plan to write, so you wont expect much. :p</p>
<ul>
<li>Game Design and Development</li>
<li>Flash Games/ActionScript/Animation</li>
<li>3d Modeling/Rigging/Mapping/Animation</li>
<li>Web Design and Development</li>
<li>and other Game/Design/Web/Game related stuff (did I said Game twice? <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</li>
</ul>
<p>I&#8217;m hoping that I could write as many as I want to, but the sad truth is that I might not be able to. Being a corporate slave pays the price of a hectic work, that my break time is the only time that I&#8217;m allowed to breath. <s>Plus the fact, that I&#8217;m not really a good writer, having wrote this post for 3 hours makes me want to go back to making games and stop writing about it.</s> Stay tuned! Or you&#8217;ll miss out the good part! <img src='http://crayzero.gamedevpinoy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://crayzero.gamedevpinoy.net/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
