<?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>Photics.com &#187; development</title>
	<atom:link href="http://photics.com/tag/development/feed" rel="self" type="application/rss+xml" />
	<link>http://photics.com</link>
	<description>Online since 1998</description>
	<lastBuildDate>Fri, 10 Sep 2010 00:06:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Aiko &amp; iOS4</title>
		<link>http://photics.com/aiko-ios4</link>
		<comments>http://photics.com/aiko-ios4#comments</comments>
		<pubDate>Mon, 21 Jun 2010 19:50:53 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Photics Features]]></category>
		<category><![CDATA[aiko]]></category>
		<category><![CDATA[daz3d]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1603</guid>
		<description><![CDATA[There&#8217;s an old cliché &#8211; the best things in life are free. Here in the northern hemisphere, as I was enjoying the sunniest day of the year, two downloads proved the old adage true. While working on my next game, I went hunting for some more artwork. Aiko &#8211; the Anime Star Fighter is a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/aiko-ios4"><img class="alignleft size-full wp-image-1604" title="aiko-thumbnail" src="http://photics.com/wp-content/uploads/2010/06/aiko-thumbnail1.jpg" alt="" width="150" height="88" /></a>There&#8217;s an old cliché &#8211; the best things in life are free. Here in the northern hemisphere, as I was enjoying the sunniest day of the year, two downloads proved the old adage true. While working on my next game, I went hunting for some more artwork. Aiko &#8211; the Anime Star Fighter is a free download from Daz3d.com. Even though it&#8217;s older artwork, it still looks awesome. Meanwhile, Apple gave new life to an old device. My iPod Touch (8 GIG) was upgraded to iOS 4.</p>
<p><span id="more-1603"></span>If you&#8217;ve been following this blog, it&#8217;s pretty obvious to see that I&#8217;m incredibly focused on mobile development. That&#8217;s why I&#8217;ve been carefully watching what Apple has to offer. But in making games, I often find myself wandering over to Daz3d for some digital inspiration. Surprisingly, I&#8217;ve been able to create incredibly professional work without having to spend a lot of money. With Daz Studio, I can create visuals that are comparable to big budget hollywood movies and cartoons. Meanwhile, my Mac Mini is chugging along. I use it with GameSalad and my iPod Touch to create new games. Developer kits for the game consoles of yore would cost thousands of  dollars. My setup is around $1000. With budget saving items like this, Photics.com is able to grow.</p>
<p>But hey, you might be more interested about the new features in iOS4 <img src='http://photics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align: left;">
<div id="attachment_1605" class="wp-caption aligncenter" style="width: 330px"><a href="http://photics.com/wp-content/uploads/2010/06/iOS4-folders1.jpg"><img class="size-full wp-image-1605" title="iOS4-folders" src="http://photics.com/wp-content/uploads/2010/06/iOS4-folders1.jpg" alt="" width="320" height="480" /></a><p class="wp-caption-text">iOS4 allows me to organize my Apps by placing them in a folder.</p></div>
<p style="text-align: left;">With the software upgrade for my iPod Touch, I&#8217;m able to enjoy a new look for the dock and now I can use folders to organize my apps. I&#8217;m also able to change the  wallpaper on my home screen, a frivolous but fun feature. For the future, I&#8217;m looking forward to enjoying iBooks. I looked for the iBooks app on the iTunes store, but I didn&#8217;t see it available yet. Apple states that there&#8217;s over 100 new features in iOS4. But unfortunately, my third generation iPod Touch is not peppy enough to enjoy them all. Multitasking is not enabled for my device.  Also, since my iPod touch doesn&#8217;t have a camera, a lot of picture taking features are not available.</p>
<p style="text-align: left;">Don&#8217;t feel bad for the older hardware, as I still like my iPod Touch. I&#8217;m glad that it&#8217;s a slower device. This is very useful for testing my games. If it can run on poky hardware, the frame-rates should be great on the more powerful devices.</p>
<p style="text-align: left;">So, I&#8217;m enjoying the Summer Solstice. Today is a bright, sunny and cheerful day. Pleasant weather and great software, ah, it&#8217;s a good life.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<pre>Fighter</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/aiko-ios4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commove</title>
		<link>http://photics.com/commove</link>
		<comments>http://photics.com/commove#comments</comments>
		<pubDate>Tue, 01 Jun 2010 18:57:23 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[commove]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1574</guid>
		<description><![CDATA[Commove is a relaxing yet challenging strategy / puzzle game, specifically developed for the iPad and other iPhone OS devices. There are no annoying timers, or cumbersome controls. Instead, it&#8217;s great music, crisp graphics, easy to learn interface, and fun gaming. I worked incredibly hard on this project, with the goal of creating an original [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/commove"><img src="http://photics.com/wp-content/uploads/2010/06/commove-thumbnail1.jpg" alt="" title="commove-thumbnail" width="150" height="88" class="alignleft size-full wp-image-1578" /></a>Commove is a relaxing yet challenging strategy / puzzle game, specifically developed for the iPad and other iPhone OS devices. There are no annoying timers, or cumbersome controls. Instead, it&#8217;s great music, crisp graphics, easy to learn interface, and fun gaming. I worked incredibly hard on this project, with the goal of creating an original and entertaining video game. From the clouds that glide in the distance, to the overall enjoyment of the game, the details were not overlooked. Commove is my best iPad game yet and maybe it will be your favorite game too.</p>
<p><span id="more-1574"></span></p>
<p><strong>The Story:</strong> Sometime in the future, a blackout has struck the downtown area. As the chief engineer of the city&#8217;s transportation system, it is up to you to restore power to the train station. By carefully placing power orbs in position — five across of the same color — you can boost the station&#8217;s energy level. However, the conveyor belts that move the orbs also require power. Do you have the smart thinking required to keep the lights on?</p>
<p>But if words are not enough to impress you, here&#8217;s a video of Commove (for iPad)&#8230;</p>
<div align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="525" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="/videos/commove-promo.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="525" src="/videos/commove-promo.swf" allowfullscreen="true"></embed></object>
</div>
<p><strong>Features:</strong></p>
<ul>
<li />No annoying timers. Play at your own pace.
<li />Easy controls, with only one touch at a time required.
<li />Professional background music &#8211; available in stereo!
<li />Carefully crafted artwork and special effects.
<li />Family friendly, a game designed for kids and adults.
</ul>
<p><strong>How to play:</strong><br />
Align five orbs, of the same color, in a row. Press an arrow button to move all objects in that row or column one space in the direction of the arrow. Watch the signal lights to determine what the next colored ball will be. A new ball, if available, will enter the field at the opposite side from the button pressed.</p>
<p><strong>Additional Information:</strong><br />
As the game progresses, Bombs and Star Balls are added for greater challenge. Bombs can be touched to make them explode. If they are not detonated, they will automatically explode after being moved a certain amount of turns. Moving objects off the side will result in a loss of power. The game ends when you run out of power.<br />
<strong><br />
Strategy Guide / Hints:</strong></p>
<ul>
<li />Create combos for massive score bonuses.
<li />Watch to see what changes with each level.
<li />Bombs can help or hurt you. It depends how you use them.
<li />To conserve power, try not to push objects off the side, especially not the white orbs.</ul>
<p><strong>Play with friends:</strong><br />
Commove can even be a great party game. When one person completes five in a row, that person passes the game to the next person. (If more than two people are playing, pass the game around the room/area in a clockwise motion.) The winner is the last person who successfully completed five in a row.</p>
<p>Commove (for iPad) is scheduled to launch on June 4, 2010.<br />
<a href="http://itunes.com/apps/photics">http://itunes.com/apps/photics</a></p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/commove/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Back to the Drawing Board</title>
		<link>http://photics.com/back-to-the-drawing-board</link>
		<comments>http://photics.com/back-to-the-drawing-board#comments</comments>
		<pubDate>Mon, 26 Apr 2010 22:08:51 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[drawing board]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1546</guid>
		<description><![CDATA[So OK, I&#8217;ve created and published four different apps for the iPhone OS&#8230; why am I not rich yet?! Ha ha, I expected to have a bit more success by now. But unfortunately, I&#8217;m still learning about Apple&#8217;s mobile market. After warding off discouraging feelings, I decided to head back to the drawing board. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/back-to-the-drawing-board"><img class="alignleft size-full wp-image-1548" title="photics-rpg-sketch-thumbnail" src="http://photics.com/wp-content/uploads/2010/04/photics-rpg-sketch-thumbnail1.jpg" alt="" width="150" height="88" /></a>So OK, I&#8217;ve created and published four different apps for the iPhone OS&#8230; why am I not rich yet?! Ha ha, I expected to have a bit more success by now. But unfortunately, I&#8217;m still learning about Apple&#8217;s mobile market. After warding off discouraging feelings, I decided to head back to the drawing board. I may not be making a ton of money on the App Store, but I have learned some valuable lessons. I&#8217;m impressed with the apps that I&#8217;ve made so far, but I&#8217;ll have to do a lot better in order to succeed in this ultra-competitive battleground. Developers from all over the world are vying for success. What makes me special?</p>
<p><span id="more-1546"></span><strong>Determination &amp; Foresight</strong> &#8211; I was fighting against the game developer&#8217;s version of writer&#8217;s block. I was starting to see nothing but failure. Every game idea I could think  of was already done&#8230; and done well. &#8220;Why bother?&#8221; Today, I seriously thought about giving up. I didn&#8217;t know what I was going to do next. With thousands of games on the market, trying to stand out felt futile. Yet, this is what I enjoy. Photics.com is a business and a hobby. For decades, I&#8217;ve played through many challenging video games. I was relentless in trying to beat the last boss and make it to the ending. Why should I give up here when the prize is real?</p>
<p>Plus, the next version of the iPhone OS is looking great. With Apple&#8217;s Game Center, some really amazing features can be done. For the longest time I wanted to run my own online game. With features like Matchmaking, Leaderboards, Achievements, and Voice over IP, my mind is racing with the possibilities. I was a latecomer to the iPhone / iPod Touch scene, but I&#8217;ve seriously caught up this month. I was ready with a game for the iPad launch. I&#8217;d like to do the same for Apple&#8217;s Game Center.</p>
<p>With a goal in mind, I tried to figure out the best way to achieve that objective. I came up with this&#8230;</p>
<div id="attachment_1547" class="wp-caption aligncenter" style="width: 490px"><a href="http://photics.com/wp-content/uploads/2010/04/photics-rpg-sketch1.jpg"><img class="size-full wp-image-1547" title="photics-rpg-sketch" src="http://photics.com/wp-content/uploads/2010/04/photics-rpg-sketch1.jpg" alt="Photics RPG Sketch / Blueprint" width="480" height="370" /></a><p class="wp-caption-text">Is this the blueprint for success? I don&#39;t know, but it looks like a lot of fun!</p></div>
<p>One of the things that I learned about developing for the iPhone, iPod Touch and the iPad is that the control scheme is incredibly important. I have a fairly long list of games that I want to make, but that list started to thin out when I was shying away from games that needed on-screen controls or games without strong possibilities for multiplayers. Also, I didn&#8217;t want the artwork to get too complicated. (I have another project that I&#8217;d really like to do, but it&#8217;s just too expensive for right now.) After some testing, I decided to focus on a Gauntlet / Zelda type of game. The difference here is that this game is entirely designed for mobile phones&#8230; no joysticks&#8230; no buttons&#8230; just touching.</p>
<p>My advice for managing complicated problems &#8211; break it down into small pieces first, otherwise the enormity of the issue might overwhelm you.</p>
<p>Now that I have a general direction, I can tackle the next problem &#8211; artwork. The game has to look good or it won&#8217;t sell. It&#8217;s going to be a challenge, but at least I&#8217;m moving forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/back-to-the-drawing-board/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Photics: Fireball&#8230; Ready For Launch</title>
		<link>http://photics.com/photics-fireball-ready-for-launch</link>
		<comments>http://photics.com/photics-fireball-ready-for-launch#comments</comments>
		<pubDate>Sun, 28 Mar 2010 14:26:26 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fireball]]></category>
		<category><![CDATA[GameSalad]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1509</guid>
		<description><![CDATA[With the iPad launch less than a week away, I&#8217;ve been pretty busy. Apple sent me an email about the grand opening of the iPad App Store. If I wanted my iPad App to be listed on the launch day, I had to meet the March 27 (8 PM EST) deadline. I made it&#8230; with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/03/photics-fireball1.png"><img class="alignleft size-full wp-image-1511" title="photics-fireball" src="http://photics.com/wp-content/uploads/2010/03/photics-fireball1.png" alt="" width="150" height="88" /></a>With the iPad launch less than a week away, I&#8217;ve been pretty busy. Apple sent me an email about the grand opening of the iPad App Store. If I wanted my iPad App to be listed on the launch day, I had to meet the March 27 (8 PM EST) deadline. I made it&#8230; with about 30 minutes to spare. It was tough, but I&#8217;m pleased with the results. Actually, that&#8217;s not quite right&#8230; I&#8217;m actually amazed. I think Photics: Fireball is a fun game, but it also represents a dramatic shift in my life. Up until this point, I used to get excited about game console release dates. I would often be part of the &#8220;I gotta have it&#8221; crowd. But now I&#8217;m on the other side of the picture &#8211; as a game developer &#8211; with a launch date title ready to go.</p>
<p><span id="more-1509"></span></p>
<p>The Super Nintendo in &#8217;91, the Nintendo 64 in 1996, the Dreamcast on 9/9/99 and the Wii in 2006, I bought those consoles on or near the launch date. I remember the typical launch day frenzy. You had to hustle before the systems sold out. I also remember something else about launch day &#8211; game shortages. Traditionally, a game console would launch with a few titles. There would be a huge drought until the game library was built up.</p>
<p>Things are different with Apple. I imagine that there will be plenty of launch day titles, but is this a fair comparison? I consider the iPad to be a portable gaming console, on par with the Nintendo DS or PSP. I believe that the quality of my game is similar to portable games made not too long ago&#8230; but those were made by established gaming companies. I&#8217;m just one guy!</p>
<div id="attachment_1510" class="wp-caption alignleft" style="width: 330px"><a href="http://photics.com/wp-content/uploads/2010/03/photics-fireball-screenshot1.png"><img class="size-full wp-image-1510 " title="photics-fireball-screenshot" src="http://photics.com/wp-content/uploads/2010/03/photics-fireball-screenshot1.png" alt="" width="320" height="480" /></a><p class="wp-caption-text">Using GameSalad as a development tool, I was able to add dazzling particle effects, animation, positional sound effects and touch controls. </p></div>
<p>The industry is changing and I&#8217;m happy to be part of it. On April 3, when hundreds of thousands of people pick up their iPads, my game should be waiting for them. Heh, I have no illusions. Most will probably skip past my hard work. Yet, the mere fact that I&#8217;m even able to compete in this market is impressive to me. I&#8217;m getting better.</p>
<p>So, more about the game&#8230; Photics: Fireball is a pinball game for the iPhone, iPad and iPod Touch. It was quite a challenge to create a pinball table that was fun to play. <a href="http://gamesalad.com">GameSalad</a> helped a lot with that. With particle effects, it&#8217;s not just a metal ball bouncing around. It looks and sounds like a ball of fire. I find it almost mesmerizing. The physics engine in GameSalad is very good. The way the fireball moves &#8211; the speed and the collisions &#8211; it feel natural. It would be very difficult for me to create a similar project with a different development tool, such as Flash or XNA.</p>
<p>And even though GameSalad is mainly for 2D games, I was able to squeeze some 3D effects into my game. The python is 3D animated and the particle effects on the fireball (and enemy orbs) change shape. I tried to add some perspective to the game and I think it worked out.</p>
<p>The game has features that you&#8217;d expect from a pinball game&#8230; like kickback. The side alleys have pegs that will temporarily prevent the fireball from falling down the sides. Also, you can hold the ball in place with the flippers. Sometimes I like to hold the ball in place, so I can watch the cool fire effects. I also added a different approach to the plunger. I didn&#8217;t want to waste screen space on an area to launch the ball. Instead, you touch and hold the bottom part of the screen to launch a fireball. It as it you are summoning the fire for you to command. When you release your touch, the ball launched upwards to attack the dark wizard&#8217;s stronghold.</p>
<p>And now, the waiting begins. Will Apple approve of my game? If they do, the iPhone / iPod Touch version should be launched on April 2 and the iPad version should be available on April 3.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/photics-fireball-ready-for-launch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photics: Conquest &#8211; Artwork Preview</title>
		<link>http://photics.com/photics-conquest-artwork-preview</link>
		<comments>http://photics.com/photics-conquest-artwork-preview#comments</comments>
		<pubDate>Wed, 10 Mar 2010 19:53:08 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[conquest]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[photics]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1502</guid>
		<description><![CDATA[I&#8217;ve decided that I will be dropping the Guild Wars theme from my online role-playing game. Instead, I will be creating an original theme for Photics: Conquest. As long as the main content is tied to ArenaNet, there will always be limitations on what I can do with my game&#8230; like charging for premium access [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/03/archer-lady-thumbnail1.jpg"><img class="alignleft size-full wp-image-1503" title="archer-lady-thumbnail" src="http://photics.com/wp-content/uploads/2010/03/archer-lady-thumbnail1.jpg" alt="" width="150" height="88" /></a>I&#8217;ve decided that I will be dropping the Guild Wars theme from my online role-playing game. Instead, I will be creating an original theme for Photics: Conquest. As long as the main content is tied to ArenaNet, there will always be limitations on what I can do with my game&#8230; like charging for premium access or breaking away from lore restrictions. Plus, I think it&#8217;s important to build something of my own. There shouldn&#8217;t be any confusion between two completely different games. However, that creates a significant problem. The Guild Wars artwork is beautiful. How will I be able to replace that? How can I keep my game professional looking, without the budgets of a &#8220;AAA&#8221; game studio?</p>
<p><span id="more-1502"></span>After creating such realistic looking Asteroids for Photics: Revisions &#8211; Course Correction, I was reminded about some awesome software that I had used in the past &#8211; Daz Studio. The <a href="http://www.daz3d.com">daz3d.com</a> website has links to a free download. The software is &#8220;Tell-ware&#8221;, which means you&#8217;re supposed to tell two people about it. The idea is that if the software is given away in this fashion, more and more people will return to the website and buy licenses to use additional content. There&#8217;s a significant amount of models, scenes and props available at the website. There&#8217;s so much content that it should be fairly easy to build my own fantasy world.</p>
<p>I only need 2D images, so the Daz content license works out well for me. I&#8217;ve already started work on converting my game. So far, I&#8217;m pleased with the results. What do you think?</p>
<p style="text-align: left;">
<div id="attachment_1504" class="wp-caption aligncenter" style="width: 460px"><a href="http://photics.com/wp-content/uploads/2010/03/archer-lady1.jpg"><img class="size-full wp-image-1504" title="archer-lady" src="http://photics.com/wp-content/uploads/2010/03/archer-lady1.jpg" alt="" width="450" height="277" /></a><p class="wp-caption-text">This image could be used to represent the &quot;Amazons&quot; in Photics: Conquest.</p></div>
<p style="text-align: left;">If this project works out well, I will likely use Daz Studio for future game projects. For years I struggled with game development. I often dreamed about making my own games or running my own arcade. I dabbled in all of the various trades of the profession. I have some knowledge of programming. I have some artistic ability. I have some marketing skills. Yet, it was very tough to attempt all at once. With GameSalad taking the edge off of programming, Daz Studio making it a lot easier to create artwork, and with Apple creating a huge market for independent game developers, I have a better chance of fulfilling my lifelong dream. Plus, Apple isn&#8217;t the only market. There&#8217;s Android and the various &#8220;me-too&#8221; app stores.</p>
<p style="text-align: left;">There&#8217;s also the Internet. My arcade can be here, at Photics.com. I don&#8217;t have to sit behind a counter and make change for kids. I don&#8217;t have to babysit a storefront. I can focus on the fun stuff. It seems that I&#8217;m on the road to success &#8211; far better than I imagined it could be. (When I was younger, I did not know of the Internet.) Although, even with all of this, the road ahead still represents quite a fierce journey. If I&#8217;m successful, it means that I&#8217;ll have a job that I enjoy and you&#8217;ll have fun games to play. Today, I believe that I took a rather large step in the right direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/photics-conquest-artwork-preview/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Now on the App Store&#8230; Photics: Revisions &#8211; Course Correction</title>
		<link>http://photics.com/now-on-the-app-store-photics-revisions-course-correction</link>
		<comments>http://photics.com/now-on-the-app-store-photics-revisions-course-correction#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:56:40 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[course correction]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[GameSalad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[photics]]></category>
		<category><![CDATA[revisions]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1491</guid>
		<description><![CDATA[Wow, what speed. For about two years, the &#8220;Course Correction&#8221; project sat on the back-burner. But in a little over two weeks since I started using GameSalad, my game is on the App store. I&#8217;m impressed with the quality of this App. This is one of my best projects ever. The game has good graphics, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/03/course-correction-thumbnail1.jpg"><img class="alignleft size-full wp-image-1492" title="course-correction-thumbnail" src="http://photics.com/wp-content/uploads/2010/03/course-correction-thumbnail1.jpg" alt="" width="150" height="88" /></a>Wow, what speed. For about two years, the &#8220;Course Correction&#8221; project sat on the back-burner. But in a little over two weeks since I started using GameSalad, <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=358919873">my game is on the App store</a>. I&#8217;m impressed with the quality of this App. This is one of my best projects ever. The game has good graphics, great sound and the presentation is professional. Apple seems to have picked up their game too. I submitted my App on Friday. By Monday my game was available for sale. For only 99¢  you can download this game to your iPhone or iPod Touch. If you don&#8217;t have an iPhone or iPod Touch, a browser version should be available in the future. This is the start of a new era for this website and I&#8217;m really excited about it!</p>
<p><span id="more-1491"></span></p>
<p>Course Correction is an extension of my book Photics: Revisions. This  part of the story happens shortly after the main character (you)  learns their true identity. Here&#8217;s the game&#8217;s description&#8230;</p>
<blockquote><p>Miles &#8220;Hank&#8221; Mulligan and Philip Otis are on a mission to save the Earth  from hostile forces. While traveling back to their home planet, at near  light speeds, a miscalculation was discovered. In order to regain lost  time, A course correction is needed &#8211; straight through an asteroid  field. The capital ship is not equipped to combat this threat. Instead,  it is up to you. By piloting a small fighter, can you blast away the  debris and escort your friends to safety?</p>
<p>Defend the capital ship  from harm as it flies through an asteroid field. Use your fighter&#8217;s  360° cannon to blast away those space rocks. As you progress through  your mission, you will gain useful power-ups, such as regeneration and a  faster gun turret. However, your mission will be a failure if either  spacecraft is destroyed.</p></blockquote>
<p>One of the things I really like about this game is the way the asteroids explode. I put a lot of work into getting that effect just right. I even risked physical harm to record the boom sound. That explosion you hear is a recording of an actual combustion&#8230; I used REAL FIRE.</p>
<p style="text-align: left;">
<div id="attachment_1493" class="wp-caption aligncenter" style="width: 490px"><a href="http://photics.com/wp-content/uploads/2010/03/course-correction-screenshot1.jpg"><img class="size-full wp-image-1493" title="course-correction-screenshot" src="http://photics.com/wp-content/uploads/2010/03/course-correction-screenshot1.jpg" alt="" width="480" height="320" /></a><p class="wp-caption-text">Shoot the asteroids to protect yourself - and your allies - from harm.</p></div>
<p>For those that take the plunge and buy a copy of my game, here are some game play suggestions &#8211; Balance out the damage between both ships. If  the fighter is low on health, it&#8217;s OK to let the capital ship take some  hits. With the regenerative technology, the capital ship can repair itself. You don&#8217;t have to play to perfection. You don&#8217;t have to shoot  every rock&#8230; only the ones that put you in danger. Don&#8217;t trust the  radar to be 100% accurate. This is an asteroid field. The more rocks  there are in range, the less likely it is going to detect all of the  rocks.</p>
<p>Also, the game was designed as a diversion. Hopefully you won&#8217;t obsess about reaching the end. It doesn&#8217;t really have one. It&#8217;s more  about a relaxing way to enjoy some free time.</p>
<p>Here&#8217;s the level chart&#8230;</p>
<pre style="padding-left: 30px;">Level  1 -    0 Points
Level  2 - 1000 Points --- Regeneration
Level  3 - 2000 Points --- Faster Turret
Level  4 - 4000 Points --- Better Gun
Level  5 - 8000 Points --- Faster Shooting
Level  6 - 16000 Points -- More Thrust
Level  7 - 32000 Points -- No Regeneration
Level  8 - 64000 Points -- Regeneration Restored
Level  9 - 128000 Points - We're almost clear.
Level 10 - 256000 Points - Win</pre>
<p>I&#8217;m glad I stayed determined and I didn&#8217;t give up on my Mac hardware / software. For a while, I was discouraged with iPhone / iPod Touch development. I still don&#8217;t know if this is going to be successful business venture, but at least I&#8217;m having a lot more fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/now-on-the-app-store-photics-revisions-course-correction/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Course Correction Artwork</title>
		<link>http://photics.com/course-correction-artwork</link>
		<comments>http://photics.com/course-correction-artwork#comments</comments>
		<pubDate>Sat, 13 Feb 2010 03:17:25 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[course correction]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[GameSalad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[photics]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1481</guid>
		<description><![CDATA[Ever see those big-shot game developers showing off their Concept artwork? As a gamer, I enjoyed seeing previews from the next big game. But as a independent developer, I don&#8217;t have the pressure to impress the venture capitalists or hype the community. I somehow doubt that a screenshot is really going to make a difference [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/02/course-correction-art-thumbnail1.jpg"><img class="alignleft size-full wp-image-1482" title="course-correction-art-thumbnail" src="http://photics.com/wp-content/uploads/2010/02/course-correction-art-thumbnail1.jpg" alt="" width="150" height="88" /></a>Ever see those big-shot game developers showing off their Concept artwork? As a gamer, I enjoyed seeing previews from the next big game. But as a independent developer, I don&#8217;t have the pressure to impress the venture capitalists or hype the community. I somehow doubt that a screenshot is really going to make a difference in future sales&#8230; but do I know that for sure? No, so maybe I should try it. Do you want to see what I&#8217;ve been working on this week? I do admit, this makes me nervous. Will you like it? Will you steal my ideas? It&#8217;s a wonder why game developers even bother talking to gamers until the game is done. Maybe it&#8217;s because they like to show off their best work&#8230; I know I do!</p>
<p><span id="more-1481"></span>The thumbnail preview is from a screenshot of my desktop. It&#8217;s covered in rocks. I have five asteroids completed. I figure I need about three more. I&#8217;m not going to cheapskate on this part of the process. When you&#8217;re playing the game, my goal is to make you feel like you&#8217;re in an asteroid field, not looking at a bunch of .png files. I figure that sensation will be more likely if the asteroids are varied. In the thumbnail, you can see the first asteroid of the most recent batch. I had an older asteroid image from some years ago (when I first started this project) but I decided to start from scratch.</p>
<p>I think my asteroid looks a lot like the death star from <em>Return of the Jedi</em>. Heh, but that wasn&#8217;t intentional. <img src='http://photics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Next you can see the main character, a fighter-class space craft. It still needs a gun turret. That&#8217;s what the circle in the middle is about. I&#8217;ll also need to get to work on the particle effects for the engines. I want it to feel cool when you move around. I remember when Super Mario first hit the Nintendo 64. When I played that game for the first time, I was happy with just jumping around&#8230; woo hoo&#8230; woo hoo! That&#8217;s my goal for space flight. I want it to feel fast and fun. So far, I&#8217;m moving closer to the goal. When I first dropped the fighter into the game, I was extremely happy and impressed with my progress.</p>
<p>I moved the sprite around the screen while making space sounds. <img src='http://photics.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>I probably would have kept this all a secret until the game launched, but I was extremely impressed with my capital ship design. The objective of the game is to protect the Captial Ship as it flies through the asteroid field. The capital ship is supposed to be much larger than the fighter. I figured that 256&#215;512 would be a good size. (That means you&#8217;ll never see all of it on the screen at one time. The game screen is 480&#215;320.) I prefer to do illustration in Adobe Flash, rather than Adobe Illustrator. I find it easier to make curvy lines in flash.</p>
<p style="text-align: left;">
<div id="attachment_1483" class="wp-caption aligncenter" style="width: 282px"><a href="http://photics.com/wp-content/uploads/2010/02/capital-ship1.png"><img class="size-full wp-image-1483" title="capital-ship" src="http://photics.com/wp-content/uploads/2010/02/capital-ship1.png" alt="" width="272" height="528" /></a><p class="wp-caption-text">It&#39;s like Spaceball One and The Space Shuttle fell in love, and then they had a kid.</p></div>
<p style="text-align: left;">I&#8217;m kidding with the caption. Spaceball One is much bigger. While it might be cool to have a similar sized ship, there are hardware limitations to be concerned about. This is a game to be played on the iPhone.</p>
<p style="text-align: left;">Anway, I like my illustration. My only complaint was that it looks a little too phallic. But then again, after a quick look at rocket science and the military, this could be art imitating life. It&#8217;s funny how that happens. Once you get an image in your head, it&#8217;s hard to get it out. Like with the fighter design. The first version looked too much like Batman&#8217;s Batwing or a demon laughing at me. While working on the second version, I kept seeing an Owl. I think that happens when you stare at the screen too long, your mind starts playing tricks on you.</p>
<p style="text-align: left;">I wasn&#8217;t trying to copy any design or pre-existing artwork. I simply started with a shape. The fighter is round because that will make collision detection easier. The capital ship is square for the same reasons. I just kept drawing curvy lines in Flash until I saw something I liked. If I didn&#8217;t like the lines, I&#8217;d delete or adjust them. I kept going with this process, forcing myself to get some usable artwork. When I started this project, I was preparing myself to buy clipart or hire a freelancer. Unfortunately, I couldn&#8217;t find artwork with a compatible license agreement and/or illustrations that I felt was worth buying. So instead, I simply did it myself. I&#8217;m surprised that the results are so professional.</p>
<p style="text-align: left;">So hey, here it is&#8230; a preview of my game. I&#8217;m creating original artwork for you! Are you psyched to buy my game yet? <img src='http://photics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/course-correction-artwork/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Photics: Revisions &#8211; Course Correction (Can it be done?)</title>
		<link>http://photics.com/photics-revisions-course-correction-can-it-be-done</link>
		<comments>http://photics.com/photics-revisions-course-correction-can-it-be-done#comments</comments>
		<pubDate>Sun, 07 Feb 2010 23:59:16 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[GameSalad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1474</guid>
		<description><![CDATA[It all starts with an idea. There&#8217;s a vision in my head&#8230; a space-shooter video game. I&#8217;ve been wanting to make a video game based on my book Photics: Revisions. With the iPhone and GameSalad, there appears to be a road to victory, but can it be done? I&#8217;m not sure, but I&#8217;m going to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/02/photics-revisions-course-correction-thumbnail1.jpg"><img class="alignleft size-full wp-image-1475" title="photics-revisions-course-correction-thumbnail" src="http://photics.com/wp-content/uploads/2010/02/photics-revisions-course-correction-thumbnail1.jpg" alt="" width="150" height="88" /></a>It all starts with an idea. There&#8217;s a vision in my head&#8230; a space-shooter video game. I&#8217;ve been wanting to make a video game based on my book <a href="/books/photics-revisions">Photics: Revisions</a>. With the iPhone and GameSalad, there appears to be a road to victory, but can it be done? I&#8217;m not sure, but I&#8217;m going to document my progress. The more I research the matter, the more confident I become. Yet, the idea to make &#8220;Photics: Revisions &#8211; Course Correction&#8221; is not new. That idea has been bouncing around in my brain for years. Has technology finally caught up to fantasy? Do I finally have the tools to make my dreams a reality?</p>
<p><span id="more-1474"></span></p>
<p>When I first had the idea for PR:CC, I was looking into XNA. Could it be possible to actually make a game for the XBOX 360 and PC? Well&#8230; it was possible&#8230; but it was just too hard for me. I tried messing around with 3D graphics programs and a complicated programming language. I didn&#8217;t have much success. I ultimately gave up on the project. I felt that Flash was an easier platform to work with. But that was also too cumbersome. With ActionScript 3, I felt lost. I felt like I had to start over with each upgrade. It was discouraging. My idea was pushed aside.</p>
<p>But recently, I&#8217;ve had some success with mobile development. Google Android sparked my interest in game development. Thousands of players joined up to try <a href="/conquest">Guild Wars: Conquest</a>. Why couldn&#8217;t I achieve similar success with the iPhone? The bar is raised higher in that market. But with a copy of GameSalad and my Mac Mini, perhaps I should try again.</p>
<p>Here&#8217;s an old drawing of what I envisioned&#8230;</p>
<p style="text-align: left;">
<div id="attachment_1476" class="wp-caption aligncenter" style="width: 310px"><a href="http://photics.com/wp-content/uploads/2010/02/691.jpg"><img class="size-medium wp-image-1476" title="Photics: Revisions - Course Correction" src="http://photics.com/wp-content/uploads/2010/02/69-300x164.jpg" alt="" width="300" height="164" /></a><p class="wp-caption-text">Can I make this idea real?</p></div>
<p style="text-align: left;">Since it&#8217;s going to be primarily for the iPhone, I realized that I had to make a few adjustments to the controls. Yet, I&#8217;m still not sure if my control scheme is even possible.</p>
<p style="text-align: left;"><strong>Question #1:</strong> Can I use the accelerometer in my game?</p>
<ul>
<li>Yes &#8211; http://gamesalad.com/wiki/how_tos:gsc_iphone_controls shows how to do it. There&#8217;s even a video tutorial that makes the process seem ridiculously easy.</li>
</ul>
<p><strong>Question #2:</strong> Can I have directional fire, with the click of a mouse or a touch on the iPhone?</p>
<ul>
<li>I don&#8217;t know. I&#8217;m still researching the matter. I don&#8217;t know if my controls are going to work. Considering this is primarily for the iPhone, I might have to drop the cross-hair or figure out a really creative way to make it work. (I think I&#8217;ll make the cross-hair appear when pressed, not constant like before. That might solve the problem.)</li>
</ul>
<p><strong>Question #3:</strong> Wait a minute, how is a $99 program going to handle something complicated like radar?</p>
<ul>
<li>Apparently, it&#8217;s not that complicated. http://gamesalad.com/wiki/how_tos:create_a_minimap shows how it&#8217;s done. Except, it&#8217;s referred to as a mini map.</li>
</ul>
<p><strong>Question #4:</strong> What about health bars and power ups?</p>
<ul>
<li>That information is available too&#8230; http://gamesalad.com/wiki/how_tos:gsc_health_bar &#8230;and I could probably modify it to add some cool power-ups. Do it in reverse to power-up the main gun.</li>
</ul>
<p><strong>Question #5:</strong> Can I have user preferences? What if a user doesn&#8217;t want to use the accelerometer? What if they&#8217;d rather have an on-screen controller instead?</p>
<ul>
<li>I&#8217;m not sure. But if so, I have room for it at the bottom right of the screen.</li>
</ul>
<p>I&#8217;ll have to work on graphics and I already have cool music selected. That&#8217;s the majority of the heavy lifting here, but GameSalad seems to have resolved a lot of the challenging parts. I&#8217;ll just have to figure out how to make the asteroids/enemies, character interactions, game presentation and make the game fun/pretty. The Space Rocks example included with GameSalad is close to how I want the Asteroids to react. I&#8217;ll probably have to do some more research on camera movement, as a lot of the action will happen off-screen.</p>
<p>Today was a big day. I went from feeling like this project was impossible, to becoming incredibly motivated. Yet, the main question remains&#8230; can it be done? Yes, of course! A better question is&#8230; can I do this?</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/photics-revisions-course-correction-can-it-be-done/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The iPad &#8211; Game Development Inspiration</title>
		<link>http://photics.com/the-ipad-game-development-inspiration</link>
		<comments>http://photics.com/the-ipad-game-development-inspiration#comments</comments>
		<pubDate>Wed, 27 Jan 2010 23:19:45 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1448</guid>
		<description><![CDATA[Considering the frustration that I experienced while developing iPhone / iPod Touch apps, I&#8217;m not a big fan of Apple. However, I do like new gadgets. I had seen the hype about a new Apple tablet and I decided to check it out. Surprisingly, I was impressed. The iPad looks like a fun device &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/01/ipad-thumbnail1.jpg"><img class="alignleft size-full wp-image-1450" title="ipad-thumbnail" src="http://photics.com/wp-content/uploads/2010/01/ipad-thumbnail1.jpg" alt="" width="150" height="88" /></a>Considering the frustration that I experienced while developing iPhone / iPod Touch apps, I&#8217;m not a big fan of Apple. However, I do like new gadgets. I had seen the hype about a new Apple tablet and I decided to check it out. Surprisingly, I was impressed. The iPad looks like a fun device &#8211; great for Internet browsing, watching movies, reading books and playing games.  The price is pretty good too. The basic model is only $499. That&#8217;s not too bad for an Apple product. I like it. I&#8217;m not sure if I&#8217;ll actually buy one though, as I have a pretty good laptop, but the unveiling has re-energized me. I&#8217;ve been inspired to try Apple app development once again.</p>
<p><span id="more-1448"></span>Although, the excitement didn&#8217;t hit everyone. On Twitter, iTampon was the #1 topic. Many people were comparing the name &#8220;iPad&#8221; to a feminine hygiene product. I would have thought society would have advanced beyond such silly references. Do people call notepads note-tampons&#8230; or keypads / key-tampons&#8230; or shoulder pads / shoulder tampons?</p>
<p>I&#8217;m surprised to be in the situation of defending Apple, but perhaps the world needs to grow up. I remember all the ridiculous comments when the Wii was announced. My initial thought was to dismiss Nintendo&#8217;s new console. The Internet was buzzing with references to urine and penises. I thought that &#8220;Wii&#8221; was a silly name. After careful review of the system&#8217;s features, I changed my mind. I decided to buy it. I&#8217;m glad that I did. Otherwise, I would have missed out on a lot of fun.</p>
<p>Anyway, since I am a registered developer, I decided to wander over to the iPhone Dev Center and download the beta (version 3.2) of the iPhone software development kit. It&#8217;s still downloading as I type this, so I decided to add a new blog post. According to the iPad press release, &#8220;The SDK includes a simulator that lets developers test and debug their  iPad apps on a Mac, and also lets developers create Universal  Applications that run on iPad, iPhone and iPod touch.&#8221; There are already millions of iPhones and iPods in the world. There&#8217;s going to be a new &#8220;gold rush&#8221; with the iPad. I&#8217;m figuring that a head-start might lead to better success. With the iPhone, I was playing catchup. But with the iPad, I can be part of the action from the very beginning.</p>
<div id="attachment_1449" class="wp-caption aligncenter" style="width: 460px"><a href="http://photics.com/wp-content/uploads/2010/01/ipad1.jpg"><img class="size-full wp-image-1449" title="ipad" src="http://photics.com/wp-content/uploads/2010/01/ipad1.jpg" alt="" width="450" height="287" /></a><p class="wp-caption-text">The iPad - image courtesy of apple.</p></div>
<p>I am hungry for a new project. I also have a new idea &#8211; I could use GameSalad to create iPhone games. Apparently, this software is designed for non-programmers. That&#8217;s good, as I&#8217;m better at content management / content creation. That&#8217;s been my approach with <a href="/conquest">Guild Wars: Conquest</a> and it seems to be working out. Unfortunately, GameSalad is also in beta. I don&#8217;t know if it will get the job done. My preliminary experimentation has left me feeling doubtful. I am a bit tired though. Probably tomorrow, I&#8217;ll look at it with my eyes rested.</p>
<p>So, what does all of this have to do with the iPad? I think it&#8217;s a great platform. It could be a new branch of gaming. I don&#8217;t think it will completely replace consoles or portables. Yet, the iPad seems great for casual gaming. The iPad looks so cozy. I can imagine myself curling up with it on the couch. The iPad seems like a great TV companion or coffee table accessory.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/the-ipad-game-development-inspiration/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Add Menu Items to Android Apps</title>
		<link>http://photics.com/how-to-add-menu-items-to-android-apps</link>
		<comments>http://photics.com/how-to-add-menu-items-to-android-apps#comments</comments>
		<pubDate>Sun, 10 Jan 2010 19:05:01 +0000</pubDate>
		<dc:creator>Photics</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://photics.com/?p=1411</guid>
		<description><![CDATA[I&#8217;ve been looking at the new Android phones and a lot of them do not have keyboards. I don&#8217;t know why the industry is still playing &#8220;me too&#8221; with iPhone-like interfaces. But as an app developer, I have to be aware of this issue. Considering that keyboard-less android phones have few buttons, the menu button [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://photics.com/wp-content/uploads/2010/01/menu-contact-thumbnail1.png"><img class="alignleft size-full wp-image-1413" title="menu-contact-thumbnail" src="http://photics.com/wp-content/uploads/2010/01/menu-contact-thumbnail1.png" alt="" width="150" height="88" /></a>I&#8217;ve been looking at the new Android phones and a lot of them do not have keyboards. I don&#8217;t know why the industry is still playing &#8220;me too&#8221; with iPhone-like interfaces. But as an app developer, I have to be aware of this issue. Considering that keyboard-less android phones have few buttons, the menu button becomes more important. That meant I had to get past a developer hurdle &#8211; learning how to add menus to my android apps.</p>
<p><span id="more-1411"></span></p>
<p>If you&#8217;ve seen my apps from last year, you might have noticed that most of them had a menu item&#8230; one&#8230; singular&#8230; <em><strong>a</strong></em> menu item. Even though I read Google&#8217;s android documentation, I couldn&#8217;t figure out how to add more than one menu item to an app.</p>
<ul>
<li>http://developer.android.com/guide/topics/ui/menus.html</li>
</ul>
<p>I dropped the menu code into my eclipse project. Naturally, errors appeared and they were highlighted in red. I trimmed down the code until the errors disappeared.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="java" style="font-family:monospace;">    <span style="color: #666666; font-style: italic;">/* Creates the menu items */</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> onCreateOptionsMenu<span style="color: #009900;">&#40;</span><span style="color: #003399;">Menu</span> menu<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        menu.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>, MENU_CONTACT, <span style="color: #cc66cc;">0</span>, <span style="color: #0000ff;">&quot;little screens for big discussions!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">/* Handles item selections */</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> onOptionsItemSelected<span style="color: #009900;">&#40;</span><span style="color: #003399;">MenuItem</span> item<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">switch</span> <span style="color: #009900;">&#40;</span>item.<span style="color: #006633;">getItemId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    	<span style="color: #000000; font-weight: bold;">case</span> MENU_CONTACT<span style="color: #339933;">:</span>
    		mWebView.<span style="color: #006633;">loadUrl</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;file:///android_asset/contact.html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>The problem was with the top&#8230; not the code here&#8230; near the top of my Java file. You can&#8217;t just expect to paste in code and have an android app work&#8230; ha ha&#8230; no&#8230; that would be way to easy. This was the line&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="java" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> MENU_CONTACT <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>What does that mean?! I have no idea. I let eclipse fix the errors and it dropped that code into my app. Eclipse highlighted MENU_CONTACT with a red squiggly line. The balloon pop-up stated that, &#8220;MENU_CONTACT cannot be resolved.&#8221; I chose one of the quick fixes. I created a constant called &#8216;MENU_CONTACT&#8217; and it put a new line of code near the top of my java file. But when I tried to add another menu item, with a separate case, More red squiggly lines appeared. The error stated, &#8220;duplicate case&#8221; with no additional instructions.</p>
<div id="attachment_1415" class="wp-caption aligncenter" style="width: 417px"><a href="http://photics.com/wp-content/uploads/2010/01/menu-contact-error-screenshot1.png"><img class="size-full wp-image-1415" title="menu-contact-error-screenshot" src="http://photics.com/wp-content/uploads/2010/01/menu-contact-error-screenshot1.png" alt="Eclipse cannot resolve MENU_CONTACT... but can you resolve it?!" width="407" height="273" /></a><p class="wp-caption-text">Eclipse cannot resolve MENU_CONTACT... but can you resolve it?!</p></div>
<p>I clicked around, trying to figure things out. Eventually, I decided to change the number in the &#8220;private static final int MENU_CONTACT&#8221; line. I changed it from zero to one&#8230; and I gave the second menu item constant a different number&#8230; the number two. Could something so simple work? Why yes, it did. Soon after, I launched my app with a new menu and even sub menus. How does it work? I DON&#8217;T KNOW! What is a private static final int and why does it need a different number? It is a mystery to me, but my apps seem to work. There were 22 constants in the finished app.</p>
<p>Basically, it seems that I had to number my constants. That sounds weird, doesn&#8217;t it? I was happy by this accomplishment, but it&#8217;s not something I can throw into normal conversation.</p>
<p>&#8220;Hi Mike, how are you?!&#8221;<br />
&#8220;I numbered my constants, allowing me to add multiple options to my Android app menu.&#8221;</p>
<p>Anyway, if you&#8217;re having trouble understanding Google&#8217;s menu tutorial, this might be something to consider. I was having a hard time with this problem, until I realized what the &#8220;duplicate case&#8221; error meant.</p>
]]></content:encoded>
			<wfw:commentRss>http://photics.com/how-to-add-menu-items-to-android-apps/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
