<?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>iphoneアプリで稼げるのか</title>
	<atom:link href="http://iphone.longearth.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphone.longearth.net</link>
	<description></description>
	<lastBuildDate>Mon, 01 Feb 2010 13:26:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>01/25〜01/31のAppダウンロード数</title>
		<link>http://iphone.longearth.net/2010/02/01/0125%e3%80%9c0131%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/</link>
		<comments>http://iphone.longearth.net/2010/02/01/0125%e3%80%9c0131%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:26:47 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[ダウンロード]]></category>
		<category><![CDATA[App Store]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[売上]]></category>
		<category><![CDATA[週次]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/2010/02/01/0125%e3%80%9c0131%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/</guid>
		<description><![CDATA[
2010/01/25〜2010/01/31の週次Appダウンロードレポート。

	タグ: App Store, iphone, ダウンロード, 売上, 週次

	関連する投稿
	
	11/09〜11/15のAppダウン [...]]]></description>
			<content:encoded><![CDATA[<p>
2010/01/25〜2010/01/31の週次Appダウンロードレポート。<br /><br /><span id="more-1795"></span><script type="text/javascript" charset="utf-8" src="http://www.jschart.jp/t/?gt=2&#038;gd[FakeCamera]=1055&#038;gd[iPachinko]=529&#038;gd[iTaskTimer Lite]=146&#038;w=500&#038;h=300&#038;xl=%E7%84%A1%E6%96%99%E3%82%A2%E3%83%97%E3%83%AA"></script><br/><script type="text/javascript" charset="utf-8" src="http://www.jschart.jp/t/?gt=2&#038;gd[iSlot Pro]=92&#038;gd[iTask Timer]=40&#038;w=500&#038;h=300&#038;xl=%E6%9C%89%E6%96%99%E3%82%A2%E3%83%97%E3%83%AA"></script></p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/app-store/" title="App Store" rel="tag nofollow">App Store</a>, <a href="http://iphone.longearth.net/tag/iphone/" title="iphone" rel="tag nofollow">iphone</a>, <a href="http://iphone.longearth.net/tag/%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89/" title="ダウンロード" rel="tag nofollow">ダウンロード</a>, <a href="http://iphone.longearth.net/tag/%e5%a3%b2%e4%b8%8a/" title="売上" rel="tag nofollow">売上</a>, <a href="http://iphone.longearth.net/tag/%e9%80%b1%e6%ac%a1/" title="週次" rel="tag nofollow">週次</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/11/17/1109%e3%80%9c1115%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/" title="11/09〜11/15のAppダウンロード数 (2009 年 11 月 17 日)">11/09〜11/15のAppダウンロード数</a> </li>
	<li><a href="http://iphone.longearth.net/2009/11/10/1102%e3%80%9c1108%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/" title="11/02〜11/08のAppダウンロード数 (2009 年 11 月 10 日)">11/02〜11/08のAppダウンロード数</a> </li>
	<li><a href="http://iphone.longearth.net/2009/11/03/1026%e3%80%9c1101%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/" title="10/26〜11/01のAppダウンロード数 (2009 年 11 月 3 日)">10/26〜11/01のAppダウンロード数</a> </li>
	<li><a href="http://iphone.longearth.net/2009/10/27/1019%e3%80%9c1025%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/" title="10/19〜10/25のAppダウンロード数 (2009 年 10 月 27 日)">10/19〜10/25のAppダウンロード数</a> </li>
	<li><a href="http://iphone.longearth.net/2009/10/11/0921%e3%80%9c0927%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/" title="09/21〜09/27のAppダウンロード数 (2009 年 10 月 11 日)">09/21〜09/27のAppダウンロード数</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/02/01/0125%e3%80%9c0131%e3%81%aeapp%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e6%95%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ１年間の売上報告</title>
		<link>http://iphone.longearth.net/2010/02/01/iphone%e3%82%a2%e3%83%97%e3%83%aa%ef%bc%91%e5%b9%b4%e9%96%93%e3%81%ae%e5%a3%b2%e4%b8%8a%e5%a0%b1%e5%91%8a/</link>
		<comments>http://iphone.longearth.net/2010/02/01/iphone%e3%82%a2%e3%83%97%e3%83%aa%ef%bc%91%e5%b9%b4%e9%96%93%e3%81%ae%e5%a3%b2%e4%b8%8a%e5%a0%b1%e5%91%8a/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 00:00:37 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[ダウンロード]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1727</guid>
		<description><![CDATA[


気づけばこのブログを書き始めて１年経ってました。

ブログタイトルの通り、iphoneアプリでどんだけ稼げるのかを検証するのがこのブログの目的であり、使命であります。

今回はこれまでにリリースしたアプリ達のダウン [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.0031.png"><img src="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.0031-300x225.png" alt="作ったアプリ達" title="作ったアプリ達" width="300" height="225" class="alignnone size-medium wp-image-1735" /></a><br />
<br />
気づけばこのブログを書き始めて１年経ってました。<br />
<br />
ブログタイトルの通り、iphoneアプリでどんだけ稼げるのかを検証するのがこのブログの目的であり、使命であります。<br />
<br />
今回はこれまでにリリースしたアプリ達のダウンロード数と売上を惜しみなく完全公開します！<br />
対象期間は始めてアプリをリリースした2009/02/13から2010/01/23までです。<br />
<br />
<span id="more-1727"></span><br />
<br />
<a href="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.006.png"><img src="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.006-300x225.png" alt="DL数" title="DL数" width="300" height="225" class="alignnone size-medium wp-image-1737" /></a><br />
<br />
<a href="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.009.png"><img src="http://iphone.longearth.net/wp-content/uploads/2010/01/iphone_development_nomovie.009-300x225.png" alt="売上" title="売上" width="300" height="225" class="alignnone size-medium wp-image-1738" /></a><br />
<br />
表にするとこんな感じです。<br />
<br />
<table  border="1px">
<tr>
<th>アプリ名</th><th>DL数</th><th>売上(30%カット済)</th>
</tr>
<tr><td>iPachi</td><td>14,986</td><td>-</td></tr>
<tr><td>iSlot Pro</td><td>1,698</td><td>372,799</td></tr>
<tr><td>iTaskTimer</td><td>1,067</td><td>138,799</td></tr>
<tr><td>iTaskTimer Lite</td><td>830</td><td>-</td></tr>
<tr><td>FakeCamera</td><td>5,827</td><td>6,886</td></tr>
</table>
<br />
総DL数は24,409ダウンロード。<br />
総売上は518,484円でした。<br />
(2000万なんて無理&#8230;)<br />
<br />
ちなみにアプリ販売にかかったコストは、iMac、iPhone3G、iPhone3GS、iPod Touch、Macbook Air、アイコン・翻訳その他もろもろで<br />
<br />
515000円！！！<br />
<br />
開発コストはプライスレス換算です。<br />
<br />
つまり一年間の利益は&#8230;<br />
<br />
3434円！！！<br />
<br />
やったぜとうちゃん！&#8230;orz<br />
<br />
ちなみにちょうど先週から黒字のチャンスタイム突入中です。<br />
<br />
無料アプリに有料アプリリンクをつけてからは売上が３倍くらいに増えたので、売上のうち40%は12月と1月のもの。<br />
<br />
1月は13万くらいの売上でフィニッシュしそうです。<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p>
この投稿にタグはありません。
	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li>関連する投稿はありません。</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/02/01/iphone%e3%82%a2%e3%83%97%e3%83%aa%ef%bc%91%e5%b9%b4%e9%96%93%e3%81%ae%e5%a3%b2%e4%b8%8a%e5%a0%b1%e5%91%8a/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Androidアプリで稼げるのかはじめました</title>
		<link>http://iphone.longearth.net/2010/01/31/android%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e7%a8%bc%e3%81%92%e3%82%8b%e3%81%ae%e3%81%8b%e3%81%af%e3%81%98%e3%82%81%e3%81%be%e3%81%97%e3%81%9f/</link>
		<comments>http://iphone.longearth.net/2010/01/31/android%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e7%a8%bc%e3%81%92%e3%82%8b%e3%81%ae%e3%81%8b%e3%81%af%e3%81%98%e3%82%81%e3%81%be%e3%81%97%e3%81%9f/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 00:00:51 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[お知らせ]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1721</guid>
		<description><![CDATA[
Androidアプリを作ろうと考えてたんですが、Androidアプリ開発のことをこのブログで書くのはどうかなぁと思ったので「Androidアプリで稼げるのか」を別ブログとしてはじめました。

Androidアプリで稼げ [...]]]></description>
			<content:encoded><![CDATA[<p>
Androidアプリを作ろうと考えてたんですが、Androidアプリ開発のことをこのブログで書くのはどうかなぁと思ったので「Androidアプリで稼げるのか」を別ブログとしてはじめました。<br />
<br />
<a href="http://android.longearth.net" target="_blank">Androidアプリで稼げるのか</a><br />
<br />
こちらのブログの更新も滞っているのでちょっとどこまでかけるか分かりませんが、やれるところまでやってみようと思います。<br />
<br />
一個一個の記事をもっと雑にしてもよいかな。</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/android/" title="Android" rel="tag nofollow">Android</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li>関連する投稿はありません。</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/01/31/android%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e7%a8%bc%e3%81%92%e3%82%8b%e3%81%ae%e3%81%8b%e3%81%af%e3%81%98%e3%82%81%e3%81%be%e3%81%97%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPadをどう使うべきか？</title>
		<link>http://iphone.longearth.net/2010/01/29/ipad%e3%82%92%e3%81%a9%e3%81%86%e4%bd%bf%e3%81%86%e3%81%b9%e3%81%8d%e3%81%8b%ef%bc%9f/</link>
		<comments>http://iphone.longearth.net/2010/01/29/ipad%e3%82%92%e3%81%a9%e3%81%86%e4%bd%bf%e3%81%86%e3%81%b9%e3%81%8d%e3%81%8b%ef%bc%9f/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 15:18:10 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[アイデア]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1710</guid>
		<description><![CDATA[
昨日ついにiPad発表されましたね。



前評判通りでがっかりだったとか、予想と外れたとか、iPhoneあるのにわざわざ買う必要あるの？とか、iPadアプリ開発するためにiMac27インチ買うかなとか、iPodと紛ら [...]]]></description>
			<content:encoded><![CDATA[<p>
昨日ついにiPad発表されましたね。<br />
<br />
<a href="http://iphone.longearth.net/wp-content/uploads/2010/01/hero_20100127.png"><img src="http://iphone.longearth.net/wp-content/uploads/2010/01/hero_20100127-247x300.png" alt="hero_20100127" title="hero_20100127" width="247" height="300" class="alignnone size-medium wp-image-1712" /></a><br />
<br />
前評判通りでがっかりだったとか、予想と外れたとか、iPhoneあるのにわざわざ買う必要あるの？とか、iPadアプリ開発するためにiMac27インチ買うかなとか、iPodと紛らわしいよねとか、いろいろ意見が飛び交ってますが、PCとモバイルの隙間を埋めるデバイスだと言われるiPadはどのようなシーンで使えるのか、幸せなiPad生活を妄想してみようと思います。<br />
<span id="more-1710"></span><br />
<h3>デジタルフォトフレーム</h3>
これが僕の大本命な使い方。デジタルフォトフレームは前から欲しかったんです。お好みの写真がふわふわ変わってくiPadのあるお部屋。おしゃれな感じでよさそう。ただ、写真はやっぱりiPhoneから転送できたり、iPhoneをリモコンとして写真選択とかもしたい。そんなアプリを期待。出なければ作る。飾る写真は特にないけど。<br />
<br />
<h3>時計</h3>
次は時計です。僕のイメージでは主に使うのは夜寝るとき。LCD Clockの高解像度版のようなイメージで美しい時計を横目にまどろみたい。夜なのでアラーム機能は欲しいな。もちろんアラーム時間設定はiPhoneから設定できるように。<br />
<br />
<h3>電子ブックリーダー</h3>
あとはやっぱiBooksですね。普段はデジタルフォトフレームとして使っていて、じゃちょっと本でも読もうかなという時にさっとiPadを手に取り椅子に座りながらなめらかぬるぬる読書。うーん妄想しただけでもうたまらない。iPadのおかげでKindleの影がだいぶ薄くなってしまった。何かKindleも打ち出してきて欲しい。<br />
<br />
<h3>家庭内伝言板・コルクボード</h3>
これはファミリー向け。一家に一台iPadを的発想で、コルクボードにメッセージを書いたり、写真を飾ったり、忙しいおかんが子供への伝言板として「冷凍庫に晩ご飯あるから解凍してね」みたいな使い方。そんなの今時メールで十分かなと思ったのですが、小さい子供だったり、反抗期でメールを不快に思うようなお年頃のお子様相手には、逆にこの伝言板が家庭の潤滑油になってくれそうな気もしている。<br />
<br />
<h3>麻雀台</h3>
iPadを麻雀代に見立てて４人で画面をタッチしてじゃらじゃら混ぜてゲーム開始。手配は手元のiPhone/iPod touchで確認。iPadには山と捨て牌を表示。手元のiPhoneで鳴きを指示。あがりはもちろんiPhoneを前へ倒してロン。捨て牌の強打だけは注意。<br />
<br />
<h3>ノート</h3>
やっぱiPadのサイズはノートに最適。手書きメモアプリをiPad用に用意して手書きでメモメモ。学校の授業、ミーティングなどいろいろ使えそう。ページめくりはもちろんスワイプで。音声録音なんかもつけたら音声で議事録とりながら、重要所だけメモとかもできそう。どうせならTwitterへポスト機能もつけてしまえ。うっかり社外秘ポストだけは要注意。<br />
<br />
<h3>アンケート用紙</h3>
このサイズ、紙の代替になんでもマッチしてしまう気がする。なかなか答えてもらえない街角アンケートもiPadなら回答率アップなんてこともあるかも。１ページに収まらなくても指ですーっとスクロールさせるだけでOK。<br />
<br />
<h3>会社の受付に</h3>
会社の受付で担当者をiPadで探してつないでくれるとか想像しただけで憧れる。<br />
<br />
<h3>デスクの横に</h3>
普通にデスクの横にiPad置いて、RSSやTwitter垂れ流しも悪くない。もちろんiCalで予定を表示しておくのもOK。付箋を貼れるアプリでメモも充実。MTGの時はさっそうと手にとりスマートに会議室へ向かおう。<br />
<br />
<h3>寝室に</h3>
iPadは同棲や結婚している二人のコミュニケーションにも最適。恥ずかしがりやでどうしても自分から夜の営みを言い出せない、そんなあなたにiPadを。操作は簡単、タップでハートマークを出すだけ。これがOKサインだ！アプリ名は「i♥u」。完璧すぎる。<br />
<br />
<br />
<br />
などなど。<br />
まだまだいくらでもバリエーションはありそうです。<br />
５万弱でこれだけのことができる端末だと考えるととてもお買い得感があります。<br />
今時ケータイでも６万くらいしますよ。<br />
それがiPadなら少し余分なお金を払うだけでありとあらゆる機能を追加できると。<br />
<br />
男は黙って購入です。<br />
<br />
<br />
</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/ipad/" title="iPad" rel="tag nofollow">iPad</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/09/01/%e3%80%90iphone%e3%80%91push-notification%e3%81%ae%e5%ae%9f%e8%a3%85%e6%96%b9%e6%b3%95/" title="【iPhone】Push Notificationの実装方法 (2009 年 9 月 1 日)">【iPhone】Push Notificationの実装方法</a> </li>
	<li><a href="http://iphone.longearth.net/2009/03/29/%e3%80%90%e3%83%8b%e3%82%b3%e3%83%8b%e3%82%b3%e3%80%91iphone%e3%82%a2%e3%83%97%e3%83%aa%e8%b2%a9%e4%bf%83%e7%94%a8%e3%83%87%e3%83%a2%e5%8b%95%e7%94%bb%e3%82%92%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6/" title="【ニコニコ】iPhoneアプリ販促用デモ動画を作成してみた (2009 年 3 月 29 日)">【ニコニコ】iPhoneアプリ販促用デモ動画を作成してみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/06/21/%e3%80%90%e3%82%a2%e3%83%97%e3%83%aa%e3%80%91%e3%81%84%e3%81%9f%e3%81%a5%e3%82%89%e7%b3%bb%e3%82%ab%e3%83%a1%e3%83%a9%e3%82%a2%e3%83%97%e3%83%aafakecamera%e9%96%8b%e7%99%ba%e4%b8%ad/" title="【アプリ】いたづら系カメラアプリFakeCamera開発中 (2009 年 6 月 21 日)">【アプリ】いたづら系カメラアプリFakeCamera開発中</a> </li>
	<li><a href="http://iphone.longearth.net/2009/06/30/%e3%80%90iphone%e3%80%913gs%e3%81%ae%e3%81%93%e3%81%93%e3%81%8c%e3%82%a4%e3%82%a4%ef%bc%81%ef%bc%95%e3%81%a4%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%ef%bc%86%e3%82%a2%e3%83%97%e3%83%aa%e3%83%8d%e3%82%bf/" title="【iPhone】3GSのここがイイ！５つのポイント＆アプリネタ (2009 年 6 月 30 日)">【iPhone】3GSのここがイイ！５つのポイント＆アプリネタ</a> </li>
	<li><a href="http://iphone.longearth.net/2009/07/13/%e3%80%90appstore%e3%80%91%e3%80%90iphone%e3%80%91camera%e3%82%a2%e3%83%97%e3%83%aa%e3%81%af%e3%82%82%e3%81%86%e3%83%80%e3%83%a1%e3%81%8b%e3%82%82/" title="【AppStore】【iPhone】Cameraアプリはもうダメかも (2009 年 7 月 13 日)">【AppStore】【iPhone】Cameraアプリはもうダメかも</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/01/29/ipad%e3%82%92%e3%81%a9%e3%81%86%e4%bd%bf%e3%81%86%e3%81%b9%e3%81%8d%e3%81%8b%ef%bc%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AppStoreリンクの小ネタ</title>
		<link>http://iphone.longearth.net/2010/01/18/appstore%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e5%b0%8f%e3%83%8d%e3%82%bf/</link>
		<comments>http://iphone.longearth.net/2010/01/18/appstore%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e5%b0%8f%e3%83%8d%e3%82%bf/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 00:00:06 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[販売促進]]></category>
		<category><![CDATA[App Store]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ネタ]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1700</guid>
		<description><![CDATA[
AppStoreへの簡単なリンクの作り方が以下に載ってます。
Technical Q&#38;A QA1633: Creating easy-to-read links to the App Store for you [...]]]></description>
			<content:encoded><![CDATA[<p>
AppStoreへの簡単なリンクの作り方が以下に載ってます。<br />
<a href="http://developer.apple.com/iphone/library/qa/qa2008/qa1633.html">Technical Q&amp;A QA1633: Creating easy-to-read links to the App Store for your applications and company</a><br />
<ul>
	<li>アプリ名でリンク</li>
http://itunes.com/apps/アプリ名<br />
	<li>会社名でリンク</li>
http://itunes.com/apps/会社名<br />
	<li>アプリ名と会社名でリンク</li>
http://itunes.com/apps/会社名/アプリ名</ul>
リンクにする時は<br />
<ul>
	<li>大文字は小文字に</li>
	<li>スペースは取り除く</li>
	<li>&#8220;&amp;&#8221;は&#8221;and&#8221;に</li>
	<li>&#8220;!¡&#8221;#$%&#8217;()*+,\-./:;&lt;=&gt;¿?@[\]^_`{|}~&#8221;は取り除く</li>
	<li>アクセント文字(ü, åなど)は元の文字(u, aなど)に置き換える</li>
	<li>&#8220;©&#8221;や&#8221;™&#8221;や&#8221;®&#8221;を取り除く</li>
</ul>
でOK。<br />
<br />
iTaskTimer Liteを例にするなら<br />
<ul>
	<li>アプリ名リンク</li>
http://itunes.com/apps/itasktimerlite<br />
	<li>会社名リンク</li>
http://itunes.com/apps/daichicho<br />
	<li>会社名＋アプリ名リンク</li>
http://itunes.com/apps/daichicho/itasktimerlite<br />
</ul>
でいける。<br />
<br />
こういう情報が流れてくる以下のRSSはとりあえずフィード登録して損なしです。<br />
http://developer.apple.com/rss/iphonedevnews.rss</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/app-store/" title="App Store" rel="tag nofollow">App Store</a>, <a href="http://iphone.longearth.net/tag/iphone/" title="iphone" rel="tag nofollow">iphone</a>, <a href="http://iphone.longearth.net/tag/%e3%83%8d%e3%82%bf/" title="ネタ" rel="tag nofollow">ネタ</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/07/01/%e3%80%90iphone%e3%80%91%e6%b5%b7%e5%a4%96%e3%83%ac%e3%83%93%e3%83%a5%e3%83%bc%e3%82%b5%e3%82%a4%e3%83%88382%e3%81%aeuu%e3%82%84pv%e3%82%92google-ad-planer%e3%81%a7%e8%aa%bf%e3%81%b9%e3%81%a6/" title="【iPhone】海外レビューサイト38+2のUUやPVをGoogle Ad Planerで調べてみた (2009 年 7 月 1 日)">【iPhone】海外レビューサイト38+2のUUやPVをGoogle Ad Planerで調べてみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/06/21/%e3%80%90iphone%e3%80%91%e5%85%ac%e9%96%8b%e5%89%8d%e3%81%ab%e3%82%a2%e3%83%97%e3%83%aa%e3%83%8d%e3%82%bf%e3%82%92%e6%99%92%e3%81%99%e3%81%93%e3%81%a8%e3%81%ae%e6%84%8f%e7%be%a9/" title="【iPhone】公開前にアプリネタを晒すことの意義 (2009 年 6 月 21 日)">【iPhone】公開前にアプリネタを晒すことの意義</a> </li>
	<li><a href="http://iphone.longearth.net/2009/04/20/%e3%80%90iphone%e3%80%91%e3%82%a2%e3%83%97%e3%83%aa%e3%83%8d%e3%82%bf%e3%82%92%e8%80%83%e3%81%88%e3%82%8b%e3%83%a1%e3%83%a2/" title="【iPhone】アプリネタを考えるメモ (2009 年 4 月 20 日)">【iPhone】アプリネタを考えるメモ</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/01/%e3%80%90iphone%e3%80%91flight-controll%e3%81%ae%e5%a3%b2%e4%b8%8a%e3%83%87%e3%83%bc%e3%82%bf%e3%81%8b%e3%82%89%e8%a6%8b%e3%82%8biphone%e5%b8%82%e5%a0%b4/" title="【iPhone】Flight Controllの売上データから見るiPhone市場 (2009 年 5 月 1 日)">【iPhone】Flight Controllの売上データから見るiPhone市場</a> </li>
	<li><a href="http://iphone.longearth.net/2009/07/30/%e3%80%90ipachi%e3%80%91%e3%80%90islot-pro%e3%80%91%e3%83%91%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%83%ad%e3%83%83%e3%82%af%e5%ae%9f%e8%a3%85%e4%b8%ad/" title="【iPachi】【iSlot Pro】パスコードロック実装中 (2009 年 7 月 30 日)">【iPachi】【iSlot Pro】パスコードロック実装中</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/01/18/appstore%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e5%b0%8f%e3%83%8d%e3%82%bf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTaskTimerLiteリリースしました！</title>
		<link>http://iphone.longearth.net/2010/01/16/itasktimerlite%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/</link>
		<comments>http://iphone.longearth.net/2010/01/16/itasktimerlite%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 12:44:28 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[アプリ]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1685</guid>
		<description><![CDATA[
だいぶ更新が滞っていました。
遅ればせながら明けましておめでとうございます。
今年もひとつよろしくお願いします。

早速ですが、iTaskTimer Liteリリースしました！
ダウンロードはこちらから

せっかくアプ [...]]]></description>
			<content:encoded><![CDATA[<p>
だいぶ更新が滞っていました。<br />
遅ればせながら明けましておめでとうございます。<br />
今年もひとつよろしくお願いします。<br />
<br />
早速ですが、iTaskTimer Liteリリースしました！<br />
ダウンロードは<a href="http://itunes.com/apps/itasktimerlite">こちら</a>から<br />
<a href="http://iphone.longearth.net/wp-content/uploads/2010/01/itasktimerlite_list.png"><img class="alignnone size-medium wp-image-1690" title="タスクリスト" src="http://iphone.longearth.net/wp-content/uploads/2010/01/itasktimerlite_list-180x300.png" alt="タスクリスト" width="180" height="300" /></a><a href="http://iphone.longearth.net/wp-content/uploads/2010/01/itasktimerlite_timer.png"><img class="alignnone size-medium wp-image-1691" title="タイマー" src="http://iphone.longearth.net/wp-content/uploads/2010/01/itasktimerlite_timer-180x300.png" alt="タイマー" width="180" height="300" /></a><br />
せっかくアプリを作っても使ってくれる人が少ないのは寂しいことです。なのでお気軽に使ってもらえるようにと去年リリースしたタイマーアプリiTaskTimerの無料版という位置づけでiTaskTimer Liteを用意しました。<br />
<br />
アプリで何ができるかというと<br />
<ul>
	<li>タスクの見積もり</li>
	<li>タスクの計測(バックグラウンドでもOK)</li>
	<li>見積もりとの差違をレポートで確認</li>
</ul>
ができます。<br />
これにより<br />
<ul>
	<li>やることを登録して気持ちよくお仕事できる！</li>
	<li>計測することで集中力アップ！</li>
	<li>振り返りで見積もり精度アップ！</li>
</ul>
なんていう効果が期待できます。<br />
<br />
気になる有料版との違いは<br />
<ul>
	<li>Google Calendar連携なし</li>
	<li>Twitter連携なし</li>
	<li>アプリリンクがある</li>
</ul>
です。<br />
<br />
無料なので気軽にお試しください！→<a href="http://itunes.com/apps/itasktimerlite">試してやるか</a><br />
<br />
<h4>おまけ</h4>
去年の年末のAppleさんのクリスマス休暇以降、アプリ審査が爆速で行われているようです。<br />
このアプリも申請からReady for Saleまでたったの5時間という爆速っぷり。さすがに５時間は出来過ぎかなと思ってますが、１日や２日で審査が終わるというケースが多いようです。審査期間が長いことは開発者にとっても、ユーザにとってもネックになる部分だったので嬉しい改善ですね。今後もこれが続くとよいです。<br />
<br />
最後に無料なので気軽にお試しください！→<a href="http://itunes.com/apps/itasktimerlite">しつこいので試してやるか</a></p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/%e3%82%a2%e3%83%97%e3%83%aa/" title="アプリ" rel="tag nofollow">アプリ</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/05/16/%e7%b7%8f%e5%90%88%e5%a3%b2%e4%b8%8a/" title="総合売上 (2009 年 5 月 16 日)">総合売上</a> </li>
	<li><a href="http://iphone.longearth.net/about/" title="紹介 (2008 年 12 月 22 日)">紹介</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/21/%e3%82%bf%e3%83%96%e3%83%90%e3%83%bc%e3%81%a8%e3%81%8b%e3%83%84%e3%83%bc%e3%83%ab%e3%83%90%e3%83%bc%e7%94%a8%e3%81%ae%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e8%b2%b7%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f/" title="タブバーとかツールバー用のアイコン買ってみた (2009 年 5 月 21 日)">タブバーとかツールバー用のアイコン買ってみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/09/%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92iphone-os-30%e3%81%b8%e5%af%be%e5%bf%9c%e3%81%95%e3%81%9b%e3%82%8b%e6%99%82%e3%81%8c%e3%81%8d%e3%81%be%e3%81%97%e3%81%9f/" title="アプリをiPhone OS 3.0へ対応させる時がきました (2009 年 5 月 9 日)">アプリをiPhone OS 3.0へ対応させる時がきました</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/29/%e3%81%93%e3%82%93%e3%81%aa%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e6%81%90%e7%b8%ae%e3%81%a7%e3%81%99%e3%80%82islot-pro%e3%81%8c%e3%83%9e%e3%82%a4%e3%82%b3%e3%83%9f%e3%82%b8%e3%83%a3%e3%83%bc%e3%83%8a/" title="こんなアプリで恐縮です。iSlot Proがマイコミジャーナルで紹介されました (2009 年 5 月 29 日)">こんなアプリで恐縮です。iSlot Proがマイコミジャーナルで紹介されました</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2010/01/16/itasktimerlite%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【FakeCamera】ついにリリースされました！</title>
		<link>http://iphone.longearth.net/2009/12/29/%e3%80%90fakecamera%e3%80%91%e3%81%a4%e3%81%84%e3%81%ab%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%95%e3%82%8c%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/</link>
		<comments>http://iphone.longearth.net/2009/12/29/%e3%80%90fakecamera%e3%80%91%e3%81%a4%e3%81%84%e3%81%ab%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%95%e3%82%8c%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 00:32:06 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[アプリ]]></category>
		<category><![CDATA[AppStore]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1666</guid>
		<description><![CDATA[
Appleとの熾烈なリジェクト戦争を乗り越え、ついにいたづら系カメラアプリFakeCameraがリリースされました！
AppStoreへのリンクはこちら


FakeCameraは普段気取っているアイツの素の表情を撮り [...]]]></description>
			<content:encoded><![CDATA[<p>
Appleとの熾烈なリジェクト戦争を乗り越え、ついにいたづら系カメラアプリFakeCameraがリリースされました！<br />
AppStoreへのリンクは<a href="http://itunes.apple.com/jp/app/fakecamera/id320764624?mt=8">こちら</a><br />
<a href="http://iphone.longearth.net/wp-content/uploads/2009/12/fakecamera2.png"><img src="http://iphone.longearth.net/wp-content/uploads/2009/12/fakecamera2-180x300.png" alt="fakecamera2" title="fakecamera2" width="180" height="300" class="alignnone size-medium wp-image-1671" /></a><a href="http://iphone.longearth.net/wp-content/uploads/2009/12/fakecamera3.png"><img src="http://iphone.longearth.net/wp-content/uploads/2009/12/fakecamera3-180x300.png" alt="fakecamera3" title="fakecamera3" width="180" height="300" class="alignnone size-medium wp-image-1672" /></a><br />
<br />
FakeCameraは普段気取っているアイツの素の表情を撮りたい、気になるあの子の無防備な表情を撮りたい、そんな本能的な欲求を満たすカメラアプリ。<br />
<br />
怖いもので、人間カメラのシャッター音を聞くと、実際写真を撮られていないとしても、撮られたと思いますよね。このアプリはその潜在的な部分をツキます。つまり、最初に写真を撮ってもいないのに、シャッター音だけならしてしまうのです。<br />
すると、完全にキメた顔をしていたアイツやあの子の表情は緩みます。そこを本当のシャッターが捕えるというもの。<br />
<br />
ぜひお試しください！</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/appstore/" title="AppStore" rel="tag nofollow">AppStore</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/08/06/%e3%80%90%e3%82%a2%e3%83%97%e3%83%aa%e3%80%91islot-pro%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b31-6%e6%8f%90%e5%87%ba/" title="【アプリ】iSlot Proバージョン1.6提出 (2009 年 8 月 6 日)">【アプリ】iSlot Proバージョン1.6提出</a> </li>
	<li><a href="http://iphone.longearth.net/2009/08/06/%e3%80%90%e3%82%a2%e3%83%97%e3%83%aa%e3%80%91ipachi-%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b31-4%e6%8f%90%e5%87%ba/" title="【アプリ】iPachi バージョン1.4提出 (2009 年 8 月 6 日)">【アプリ】iPachi バージョン1.4提出</a> </li>
	<li><a href="http://iphone.longearth.net/2009/07/03/%e3%80%90%e3%82%a2%e3%83%97%e3%83%aa%e3%80%91fakecamera%e5%86%8d%e7%94%b3%e8%ab%8b%e4%b8%ad/" title="【アプリ】FakeCamera再申請中 (2009 年 7 月 3 日)">【アプリ】FakeCamera再申請中</a> </li>
	<li><a href="http://iphone.longearth.net/2009/07/01/%e3%80%90iphone%e3%80%91%e6%b5%b7%e5%a4%96%e3%83%ac%e3%83%93%e3%83%a5%e3%83%bc%e3%82%b5%e3%82%a4%e3%83%88382%e3%81%aeuu%e3%82%84pv%e3%82%92google-ad-planer%e3%81%a7%e8%aa%bf%e3%81%b9%e3%81%a6/" title="【iPhone】海外レビューサイト38+2のUUやPVをGoogle Ad Planerで調べてみた (2009 年 7 月 1 日)">【iPhone】海外レビューサイト38+2のUUやPVをGoogle Ad Planerで調べてみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/06/21/%e3%80%90iphone%e3%80%91%e5%85%ac%e9%96%8b%e5%89%8d%e3%81%ab%e3%82%a2%e3%83%97%e3%83%aa%e3%83%8d%e3%82%bf%e3%82%92%e6%99%92%e3%81%99%e3%81%93%e3%81%a8%e3%81%ae%e6%84%8f%e7%be%a9/" title="【iPhone】公開前にアプリネタを晒すことの意義 (2009 年 6 月 21 日)">【iPhone】公開前にアプリネタを晒すことの意義</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2009/12/29/%e3%80%90fakecamera%e3%80%91%e3%81%a4%e3%81%84%e3%81%ab%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%95%e3%82%8c%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>【AppStore】Private API使ってても審査通った</title>
		<link>http://iphone.longearth.net/2009/12/13/%e3%80%90appstore%e3%80%91private-api%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%a6%e3%82%82%e5%af%a9%e6%9f%bb%e9%80%9a%e3%81%a3%e3%81%9f/</link>
		<comments>http://iphone.longearth.net/2009/12/13/%e3%80%90appstore%e3%80%91private-api%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%a6%e3%82%82%e5%af%a9%e6%9f%bb%e9%80%9a%e3%81%a3%e3%81%9f/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 09:35:08 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[販売準備]]></category>
		<category><![CDATA[App Store]]></category>
		<category><![CDATA[undocumented API]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1661</guid>
		<description><![CDATA[
先日、iTaskTimerをアップデートしたのですが、その時、Ready for Saleとリジェクトメールが２つ来ました。

Ready for Saleメールで安心していて、しばらく気づいてなかったのですが、リジェ [...]]]></description>
			<content:encoded><![CDATA[<p>
先日、iTaskTimerをアップデートしたのですが、その時、Ready for Saleとリジェクトメールが２つ来ました。<br />
<br />
Ready for Saleメールで安心していて、しばらく気づいてなかったのですが、リジェクトメールにはこんなことが書いてありました。<br />
<br />
</p>
<blockquote><p>
この度はApp Storeに｢iTask Timer 1.4｣を提出頂き、誠にありがとうございます。 貴社アプリケーションの審査中に、非公開APIが使用されている事が発見されました。iPhone Developer Program License Agreementセクション3.3.1に記載されているように、公開されていないAPIの使用は禁止されています：&#8221;3.3.1 Applications may only use Published APIs in the manner prescribed by Apple and must not use or call any unpublished or private APIs. &#8221; 今回は貴社アプリケーションは非承認とはなりませんが、次回のアップデートを提出される際にはこの問題を解決してください。<br />
<br />
貴社のアプリケーションには以下の非公開APIが含まれております：<br />
firstResponder<br />
<br />
次回のアップデートにてこの問題を解決してください。<br />
以上宜しくお願い致します。<br />
<br />
iPhoneデベロッパプログラム<br />
</p></blockquote>
<p>
今回はThree20を使っていたのですが、そこでPrivate APIの使用にひっかかってしまったようです。<br />
<br />
探してみると他にもこんな方がいるようです。<br />
<a href="http://www.apptoiphone.com/2009/12/app-storeapi.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+apptoiphone%2FVJZQ+%28iPhone%E3%81%82%E3%81%A3%E3%81%B7%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%81%9F%29&amp;utm_content=Google+Reader">iPhoneあっぷ使ってみた: App StoreがプライベートAPIを使っているアプリを承認</a><br />
<br />
今月から緩くなったのかな。<br />
よくわからんけどこんなこともあるんだというご報告。<br />
<br />
そういえば、以前変なメールをよこしたDavidですが、<br />
<a href="http://iphone.longearth.net/2009/10/31/%e3%80%90appstore%e3%80%91apple%e3%81%8b%e3%82%89%e5%a4%89%e3%81%aa%e3%83%a1%e3%83%bc%e3%83%ab%e6%9d%a5%e3%81%9f/">【AppStore】Appleから変なメール来た | iphoneアプリで稼げるのか</a><br />
一度留守電にメッセージを入れてくれて以来、こっちから電話しても全然出てくれない。<br />
fakecameraもずっとレビュー中。もう２ヶ月くらいたったんじゃないだろうか。<br />
なので怒られそうな部分を直してもっかい申請しました。</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/app-store/" title="App Store" rel="tag nofollow">App Store</a>, <a href="http://iphone.longearth.net/tag/undocumented-api/" title="undocumented API" rel="tag nofollow">undocumented API</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/05/16/%e7%b7%8f%e5%90%88%e5%a3%b2%e4%b8%8a/" title="総合売上 (2009 年 5 月 16 日)">総合売上</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/09/%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92iphone-os-30%e3%81%b8%e5%af%be%e5%bf%9c%e3%81%95%e3%81%9b%e3%82%8b%e6%99%82%e3%81%8c%e3%81%8d%e3%81%be%e3%81%97%e3%81%9f/" title="アプリをiPhone OS 3.0へ対応させる時がきました (2009 年 5 月 9 日)">アプリをiPhone OS 3.0へ対応させる時がきました</a> </li>
	<li><a href="http://iphone.longearth.net/2009/03/29/%e3%80%90%e3%83%8b%e3%82%b3%e3%83%8b%e3%82%b3%e3%80%91iphone%e3%82%a2%e3%83%97%e3%83%aa%e8%b2%a9%e4%bf%83%e7%94%a8%e3%83%87%e3%83%a2%e5%8b%95%e7%94%bb%e3%82%92%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6/" title="【ニコニコ】iPhoneアプリ販促用デモ動画を作成してみた (2009 年 3 月 29 日)">【ニコニコ】iPhoneアプリ販促用デモ動画を作成してみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/05/06/%e3%80%90ruby%e3%80%91itunes-connect%e3%81%8b%e3%82%89%e5%a3%b2%e4%b8%8a%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e3%82%92/" title="【Ruby】iTunes Connectから売上データを取得するスクリプトを書いてみた (2009 年 5 月 6 日)">【Ruby】iTunes Connectから売上データを取得するスクリプトを書いてみた</a> </li>
	<li><a href="http://iphone.longearth.net/2009/06/14/%e3%80%90os3-0%e3%80%91%e3%82%a8%e3%83%aa%e3%82%ab%e6%a7%98%e3%81%ae%e3%82%88%e3%81%86%e3%81%ab%e9%9d%9e%e5%85%ac%e5%bc%8fapi%e3%82%92%e3%83%aa%e3%82%b9%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%99/" title="【OS3.0】エリカ様のように非公式APIをリストアップする方法 (2009 年 6 月 14 日)">【OS3.0】エリカ様のように非公式APIをリストアップする方法</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2009/12/13/%e3%80%90appstore%e3%80%91private-api%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%a6%e3%82%82%e5%af%a9%e6%9f%bb%e9%80%9a%e3%81%a3%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>【cocos2d入門】cocos2dのイベント</title>
		<link>http://iphone.longearth.net/2009/12/11/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88/</link>
		<comments>http://iphone.longearth.net/2009/12/11/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 00:00:00 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[iphone開発]]></category>
		<category><![CDATA[cocos2d]]></category>
		<category><![CDATA[チュートリアル]]></category>
		<category><![CDATA[ライブラリ]]></category>
		<category><![CDATA[入門]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1653</guid>
		<description><![CDATA[
前回までのcocos2d入門。
【cocos2d入門】cocos2dのアニメーション &#124; iphoneアプリで稼げるのか

前回でcocos2dのアニメーションが終了。
今回はcocos2dでイベント処理します。
ここ [...]]]></description>
			<content:encoded><![CDATA[<p>
前回までのcocos2d入門。<br />
<a href="http://iphone.longearth.net/2009/12/09/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3/">【cocos2d入門】cocos2dのアニメーション | iphoneアプリで稼げるのか</a><br />
<br />
前回でcocos2dのアニメーションが終了。<br />
今回はcocos2dでイベント処理します。<br />
ここで使うcocos2dのバージョンは、前回同様cocos2d-0.9.0-alphaです。<br />
<span id="more-1653"></span><br />
<h3>Event</h3>
イベントとしてユーザからの応答を受け付ける処理の実装の仕方を見て行きます。<br />
<br />
イベント部分に関しては、ざっと見てみた限りUIKit系と同じでした。<br />
すなわち、タップと傾き(加速度)です。<br />
<h3>タップを検知</h3>
cocos2dでタップを検知するのはとても簡単です。<br />
検知してくれるのはCCLayerです。<br />
<br />
CCLayerクラスのプロパティisTouchEnabledにYESをセットすればOK。<br />
isTouchEnabledをYESにすると以下のコールバックメソッドが呼ばれるようになります。<br />
<ul>
	<li> &#8211; (BOOL)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event</li>
	<li> &#8211; (BOOL)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event</li>
	<li> &#8211; (BOOL)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event</li>
	<li> &#8211; (BOOL)ccTouchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event</li>
</ul>
どこかで見たことがあるメソッド名です。そうです。<br />
UIViewのタップ関連メソッドとほとんど同じです。頭にccがついてるだけです。<br />
# 0.9.0だからついてるのかも。0.8系のものは未確認<br />
<br />
なので、特別な説明はここではしません。<br />
<h3>傾きを検知</h3>
傾き検知も簡単。<br />
CCLayerのisAccelerometerEnabledプロパティにYESをセットすれば検知開始。<br />
YESにすると以下のメソッドが呼ばれます。<br />
<br />
- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration<br />
<br />
これもUIKit系と同じですね。<br />
なので、イベントに関しては特別なことはあまりない感じでした。<br />
サンプルを載せておきます。# といってもcocos2dに含まれるソースのまんまです。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1653code2'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p16532"><td class="code" id="p1653code2"><pre class="objective-c" style="font-family:monospace;">#import &lt;UIKit/UIKit.h&gt;
#import &quot;HelloEvents.h&quot;
&nbsp;
// A simple 'define' used as a tag
enum {
	kTagSprite = 1,
};
&nbsp;
// HelloWorld implementation
@implementation HelloEvents
&nbsp;
// on &quot;init&quot; you need to initialize your instance
-(id) init
{
	// always call &quot;super&quot; init
	// Apple recommends to re-assign &quot;self&quot; with the &quot;super&quot; return value
	if( (self=[super init] )) {
&nbsp;
		// isTouchEnabled is an property of Layer (the super class).
		// When it is YES, then the touches will be enabled
		self.isTouchEnabled = YES;
&nbsp;
		// isTouchEnabled is property of Layer (the super class).
		// When it is YES, then the accelerometer will be enabled
		self.isAccelerometerEnabled = YES;
&nbsp;
		//
		// CCLabel
		//
&nbsp;
		// create and initialize a CCLabel
		CCLabel* label = [CCLabel labelWithString:@&quot;Hello Events&quot; fontName:@&quot;Marker Felt&quot; fontSize:64];
&nbsp;
		// ask director the the window size
		CGSize size = [[CCDirector sharedDirector] winSize];
&nbsp;
		// position the label on the center of the screen
		// &quot;ccp&quot; is a helper macro that creates a point. It means: &quot;CoCos Point&quot;
		label.position =  ccp( size.width /2 , size.height/2 );
&nbsp;
		// add the label as a child to this Layer
		[self addChild: label];
&nbsp;
		//
		// Sprite
		//
&nbsp;
		CCSprite *sprite = [CCSprite spriteWithFile:@&quot;grossini.png&quot;];
		sprite.position = ccp( 50, 50);
&nbsp;
		// z is the z-order. Greater values means on top of lower values.
		// Default z value is 0. So the sprite will be on top of the label.
		// Add the sprite with a tag, so we can later 'get' the sprite by this tag
		[self addChild:sprite z:1 tag:kTagSprite];		
	}
	return self;
}
&nbsp;
// on &quot;dealloc&quot; you need to release all your retained objects
- (void) dealloc
{
	// in case you have something to dealloc, do it in this method
	// in this particular example nothing needs to be released.
	// cocos2d will automatically release all the children (CCLabel)
&nbsp;
	// don't forget to call &quot;super dealloc&quot;
	[super dealloc];
}
&nbsp;
&nbsp;
// This callback will be called because 'isTouchesEnabled' is YES.
// Possible events:
//   * ccTouchesBegan
//   * ccTouchesMoved
//   * ccTouchesEnded
//   * cctouchesCancelled
- (BOOL)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
	UITouch *touch = [touches anyObject];
&nbsp;
	if( touch ) {
		CGPoint location = [touch locationInView: [touch view]];
&nbsp;
		// IMPORTANT:
		// The touches are always in &quot;portrait&quot; coordinates. You need to convert them to your current orientation
		CGPoint convertedPoint = [[CCDirector sharedDirector] convertToGL:location];
&nbsp;
		CCNode *sprite = [self getChildByTag:kTagSprite];
&nbsp;
		// we stop the all running actions
		[sprite stopAllActions];
&nbsp;
		// and we run a new action
		[sprite runAction: [CCMoveTo actionWithDuration:1 position:convertedPoint]];
&nbsp;
		// no other handlers will receive this event
		return kEventHandled;
	}
&nbsp;
	// we ignore the event. Other receivers will receive this event.
	return kEventIgnored;
}
&nbsp;
// This callback will be called because 'isAccelerometerEnabled' is YES.
- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration
{	
	CCNode *sprite = [self getChildByTag:kTagSprite];
&nbsp;
	// Convert the coordinates to 'landscape' coords
	// since they are always in 'portrait' coordinates
	CGPoint converted = ccp( (float)-acceleration.y, (float)acceleration.x);	
&nbsp;
	// update the rotation based on the z-rotation
	// the sprite will always be 'standing up'
	sprite.rotation = (float) CC_RADIANS_TO_DEGREES( atan2f( converted.x, converted.y) + M_PI );
&nbsp;
	// update the scale based on the length of the acceleration
	// the higher the acceleration, the higher the scale factor
	sprite.scale = 0.5f + sqrtf( (converted.x * converted.x) + (converted.y * converted.y) );
}
@end
&nbsp;
//
// Application Delegate implementation.
// Probably all your games will have a similar Application Delegate.
// For the moment it's not that important if you don't understand the following code.
//
@implementation AppController
&nbsp;
// window is a property. @synthesize will create the accesors methods
@synthesize window;
&nbsp;
// Application entry point
- (void) applicationDidFinishLaunching:(UIApplication*)application
{
&nbsp;
	// Try to use CADisplayLink director
	// if it fails (SDK &lt; 3.1) use Threaded director
	if( ! [CCDirector setDirectorType:CCDirectorTypeDisplayLink] )
		[CCDirector setDirectorType:CCDirectorTypeDefault];
&nbsp;
	// create an initilize the main UIWindow
	window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
&nbsp;
	// Enable Multiple Touches ? No
	[window setMultipleTouchEnabled:NO];
&nbsp;
	// Attach cocos2d to the window
	[[CCDirector sharedDirector] attachInWindow:window];
&nbsp;
	// before creating any layer, set the landscape mode
	[[CCDirector sharedDirector] setDeviceOrientation:CCDeviceOrientationLandscapeLeft];
&nbsp;
	// Make the window visible
	[window makeKeyAndVisible];
&nbsp;
	// Create and initialize parent and empty Scene
	CCScene *scene = [CCScene node];
&nbsp;
	// Create and initialize our HelloEvents Layer
	CCLayer *layer = [HelloEvents node];
	// add our HelloEvents Layer as a child of the main scene
	[scene addChild:layer];
&nbsp;
	// Run!
	[[CCDirector sharedDirector] runWithScene: scene];
}
&nbsp;
- (void) dealloc
{
	[window release];
	[super dealloc];
}
&nbsp;
@end
&nbsp;
&nbsp;
//
// main entry point. Like any c or c++ program, the &quot;main&quot; is the entry point
//
int main(int argc, char *argv[]) {
	// it is safe to leave these lines as they are.
	NSAutoreleasePool *pool = [NSAutoreleasePool new];
	UIApplicationMain(argc, argv, nil, @&quot;AppController&quot;);
	[pool release];
	return 0;
}</pre></td></tr></table></div>

<br />
cocos2dはドキュメントも豊富で、サンプルコードのコメントも充実してるのでThree20と比べるとだいぶ助かります。<br />
<br />
と、今回までで、HelloWorld、アニメーション、イベントが終了したので、<br />
簡単なゲームアプリはこれだけでできてしまいそうです。<br />
五目並べとか、ソリティアとか、イベントを起点に動作が始まるゲームで、<br />
画面遷移を必要としないものなら。<br />
<br />
でもそれだと寂しいので、Sceneの切り替わりと、後はSprite(画像)の切り替え、メニューの表示、スレッド処理、当たり判定あたりをやれば、シューティングゲームまで作れそうな予感。<br />
<br />
まだまだやることは盛りだくさん。</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/cocos2d/" title="cocos2d" rel="tag nofollow">cocos2d</a>, <a href="http://iphone.longearth.net/tag/%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab/" title="チュートリアル" rel="tag nofollow">チュートリアル</a>, <a href="http://iphone.longearth.net/tag/%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa/" title="ライブラリ" rel="tag nofollow">ライブラリ</a>, <a href="http://iphone.longearth.net/tag/%e5%85%a5%e9%96%80/" title="入門" rel="tag nofollow">入門</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/12/07/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91hello-world/" title="【cocos2d入門】Hello World! (2009 年 12 月 7 日)">【cocos2d入門】Hello World!</a> </li>
	<li><a href="http://iphone.longearth.net/2009/12/09/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3/" title="【cocos2d入門】cocos2dのアニメーション (2009 年 12 月 9 日)">【cocos2d入門】cocos2dのアニメーション</a> </li>
	<li><a href="http://iphone.longearth.net/2009/12/07/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e5%b0%8e%e5%85%a5/" title="【cocos2d入門】cocos2dの導入 (2009 年 12 月 7 日)">【cocos2d入門】cocos2dの導入</a> </li>
	<li><a href="http://iphone.longearth.net/2009/01/19/%e3%80%90uitableview%e3%80%91%e9%81%b8%e6%8a%9e%e8%a1%8c%e3%81%8b%e3%82%89%e5%88%a5%e7%94%bb%e9%9d%a2%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99/" title="【UITableView】選択行から別画面を呼び出す (2009 年 1 月 19 日)">【UITableView】選択行から別画面を呼び出す</a> </li>
	<li><a href="http://iphone.longearth.net/2009/01/20/%e3%80%90uitableview%e3%80%91uitableview%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e8%a9%b3%e7%b4%b0%e7%94%bb%e9%9d%a2%e3%82%92%e4%bd%9c%e3%82%8b-1%e3%80%90uitableviewdatasource%e3%80%91/" title="【UITableView】UITableViewを使って詳細画面を作る-1【UITableViewDataSource】 (2009 年 1 月 20 日)">【UITableView】UITableViewを使って詳細画面を作る-1【UITableViewDataSource】</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2009/12/11/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【cocos2d入門】cocos2dのアニメーション</title>
		<link>http://iphone.longearth.net/2009/12/09/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3/</link>
		<comments>http://iphone.longearth.net/2009/12/09/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 00:00:04 +0000</pubDate>
		<dc:creator>daichi</dc:creator>
				<category><![CDATA[iphone開発]]></category>
		<category><![CDATA[cocos2d]]></category>
		<category><![CDATA[チュートリアル]]></category>
		<category><![CDATA[ライブラリ]]></category>
		<category><![CDATA[入門]]></category>

		<guid isPermaLink="false">http://iphone.longearth.net/?p=1635</guid>
		<description><![CDATA[
前回までのcocos2d入門。
【cocos2d入門】Hello World! &#124; iphoneアプリで稼げるのか

前回でcocos2dのHelloWorldが終了。
今回はcocos2dでアニメーションします。
こ [...]]]></description>
			<content:encoded><![CDATA[<p>
前回までのcocos2d入門。<br />
<a href="http://iphone.longearth.net/2009/12/07/%E3%80%90cocos2d%E5%85%A5%E9%96%80%E3%80%91hello-world/">【cocos2d入門】Hello World! | iphoneアプリで稼げるのか</a><br />
<br />
前回でcocos2dのHelloWorldが終了。<br />
今回はcocos2dでアニメーションします。<br />
ここで使うcocos2dのバージョンは、前回同様cocos2d-0.9.0-alphaです。<br />
<span id="more-1635"></span><br />
<h3>Action</h3>
今回からプロジェクトの作成手順は書きません。<br />
前回の記事を参考にしてください。<br />
本当は新たにターゲットを作ろうと思いましたが、面倒なので前回のHelloWorldターゲットに処理を追加することにします。<br />
ActionはLabelやSpriteに対して有効なので、今回はLayerクラスの中での処理がメインになります。<br />
<br />
cocos2dでアニメーションはActionと呼ばれます。Actionは移動、回転、拡大といったベーシックなアニメーションからそれらのリバース、繰り返し、同時実行、順次実行、イージング、メソッド実行等の複雑な操作までが簡単に行えるように作られています。<br />
<br />
<h3>ベーシックアニメーション</h3>
<h4>移動</h4>
移動はCCMoveBy, CCMoveToクラスで指定します。<br />
Layerクラスのinitメソッド内で,CCMoveByアニメーションを記述してみます。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code16'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163516"><td class="code" id="p1635code16"><pre class="objective-c" style="font-family:monospace;">-(id) init
{
	if( (self=[super init] )) {
&nbsp;
		CCLabel* label = [CCLabel labelWithString:@&quot;Hello World&quot; fontName:@&quot;Marker Felt&quot; fontSize:64];
		CGSize size = [[CCDirector sharedDirector] winSize];
		label.position =  ccp( size.width /2 , size.height/2 );
		[self addChild: label];
&nbsp;
		id moveBy = [CCMoveBy actionWithDuration:2.0f position:ccp(10,0)];
		[label runAction:moveBy];
        }
        return self;
}</pre></td></tr></table></div>

<br />
<br />
アクションはLayerへaddChildした後に記述すれば問題ありません。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code17'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163517"><td class="code" id="p1635code17"><pre class="objective-c" style="font-family:monospace;">	id moveto = [CCMoveBy actionWithDuration:2.0f position:ccp(10,0)];</pre></td></tr></table></div>

<br />
上の部分でactionを生成しています。<br />
actionWithDurationで実行する時間を、positionで移動する場所を指定しています。この場合、X方向に+10の場所まで、２秒かけて移動するアニメーションになります。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code18'); return false;">View Code</a> OBJECTIVIE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163518"><td class="code" id="p1635code18"><pre class="objectivie-c" style="font-family:monospace;">	[label runAction:moveBy];</pre></td></tr></table></div>

<br />
上のようにLabelやSpriteのrunActionメソッドにactionインスタンスを渡すだけです。簡単すぎます。アニメーションが！<br />
<br />
これをUIKit系でやろうとするとこんな形になります。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code19'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163519"><td class="code" id="p1635code19"><pre class="objective-c" style="font-family:monospace;">[UIView beginAnimation:nil context:nil];
[UIView setAnimationDuration:2.0f];
frame = CGRectMake(frame.origin.x + 10,frame.origin.y, frame.size.width, frame.size.height);
[UIView commitAnimation];</pre></td></tr></table></div>

<br />
これはまだ移動のみのアニメーションなのでよいですが、このアニメーション終了後に別のアニメーションを、さらに別のを、と続けていくと、だいぶ面倒になってきます。<br />
が、cocos2dを使うとさくっとできます。すばらしい！<br />
<br />
ちなみに、Actionクラスで最後にByとつくものは相対的なAction、Toとつくものは絶対的なActionになります。上の例でCCMoveToと指定すると(10, 0)の位置にLabelが移動する感じです。<br />
<h4>回転</h4>
回転はCCRotateBy,CCRotateToクラスです。以降はActionクラス関連のみのソースを書くことにします。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code20'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163520"><td class="code" id="p1635code20"><pre class="objective-c" style="font-family:monospace;">id rotateBy = [CCRotateBy actionWithDuration:2.0f angle:180*2];
[label runAction:rotateBy];</pre></td></tr></table></div>

<br />
これは２秒かけて一回転するアニメーション。１秒で半回転します。引数なども直感で分かると思います。<br />
<h4>拡大</h4>
拡大はCCScaleBy, CCScaleToクラスです。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code21'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163521"><td class="code" id="p1635code21"><pre class="objective-c" style="font-family:monospace;">id scaleBy = [CCScaleBy actionWithDuration:1.0f scale:2.0f];
[label runAction:scaleBy];</pre></td></tr></table></div>

<br />
これは１秒間で大きさを２倍にするアニメーション。それ以上の説明はいりませんね。<br />
<h4>ジャンプ</h4>
ジャンプはCCJumpBy, CCJumpToクラス。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code22'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163522"><td class="code" id="p1635code22"><pre class="objective-c" style="font-family:monospace;">id jumpBy = [CCJumpBy actionWithDuration:4.0f position:ccp(100,0) height:200 jumps:4];
[label runAction:jumpBy];</pre></td></tr></table></div>

<br />
これは４秒間かけて、高さ200の位置までのジャンプを４回繰り返し、X+100の位置まで移動するアニメーション。多少ごちゃごちゃしますが、UIKitを思えばものすごくシンプルです。<br />
<br />
他のベーシックなアニメーションの詳細はこちらに。<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:actions">prog_guide:actions [cocos2d for iPhone]</a><br />
<h3>リバース</h3>
リバースとは、アニメーションの逆再生のイメージです。例えば、<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code23'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163523"><td class="code" id="p1635code23"><pre class="objective-c" style="font-family:monospace;">id scaleBy = [CCScaleBy actionWithDuration:1.0f scale:2.0f];
id reverse = [scaleBy reverse];
[label runAction:reverse];</pre></td></tr></table></div>

<br />
などとすると、最初に2倍に拡大された状態から、１秒かけて等倍まで縮小されるアニメーションになります。<br />
actionインスタンスのreverseメソッドでリバースActionが生成できます。<br />
<h3>繰り返し</h3>
繰り返しはCCRepeat, CCRepeatForeverクラスです。ベーシックアニメーションに対して繰り返し処理をさせることができます。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code24'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163524"><td class="code" id="p1635code24"><pre class="objective-c" style="font-family:monospace;">id scaleBy = [CCScaleBy actionWithDuration:1.0f scale:2.0f];
id repeat = [CCRepeat actionWithAction:scaleBy times:2];
[label runAction:repeat];</pre></td></tr></table></div>

<br />
上の例では、拡大アニメーションを２回繰り返します。<br />
<h3>同時実行</h3>
同時実行はCCSpawnクラスです。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code25'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163525"><td class="code" id="p1635code25"><pre class="objective-c" style="font-family:monospace;">id rotateAction = [CCRotateBy actionWithDuration:4 angle:180*4];
id jumpAction = [CCJumpBy actionWithDuration:4 position:ccp(size.width,0) height:100 jumps:4];
id spawn = [CCSpawn actions:rotateAction, jumpAction, nil];
[label runWithAction:spawn];</pre></td></tr></table></div>

<br />
CCSpawnのactionsメソッドにactionクラスを列挙すれば、それらが同時に実行されます。この例では回転とジャンプが同時に行われます。<br />
これはcocos2dのサンプルコードにもあるので、動きを見てみてください。<br />
ジャンプを４回するのですが、１回ジャンプするごとに半回転していきます。<br />
<h3>順次実行</h3>
順次実行はCCSequenceクラスです。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code26'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163526"><td class="code" id="p1635code26"><pre class="objective-c" style="font-family:monospace;">id spawn = [CCSpawn actions:rotateAction, jumpAction, nil];
id backwards = [spawn reverse];
id sequence = [CCSequence actions: spawn, backwards, nil];</pre></td></tr></table></div>

<br />
同時実行のところで作ったジャンプ＆回転アニメーションとそのリバースアニメーションを順番に実行します。CCSequenceのactionsメソッドにActionクラスを指定すると、その順に実行されます。<br />
このあたりのことはこちらに詳細が。<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:actions_composition">prog_guide:actions_composition [cocos2d for iPhone]</a><br />
<h3>イージング</h3>
イージングはたくさんあるので、CCEaseInだけ紹介しておきます。イージングでは移動する速度を変化させてアニメーションできます。<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code27'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163527"><td class="code" id="p1635code27"><pre class="objective-c" style="font-family:monospace;">id move = [CCMoveBy actionWithDuration:1.0f position:ccp(100,0)];
id ease = [CCEaseBackIn actionWithAction:move];</pre></td></tr></table></div>

<br />
口では説明しづらいので、実際に試してみてください。<br />
速度の変化のグラフはここにまとまっています。<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:actions_ease">prog_guide:actions_ease [cocos2d for iPhone]</a><br />
<h3>メソッド実行</h3>
メソッド実行はCCCallFuncクラスです。例えばこのようにすると、<br />
<br />

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1635code28'); return false;">View Code</a> OBJECTIVE-C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p163528"><td class="code" id="p1635code28"><pre class="objective-c" style="font-family:monospace;">                id move = [CCMoveBy actionWithDuration:1.0f position:ccp(100,0)];
		id fanc = [CCCallFunc actionWithTarget:self selector:@selector(fanc)];
		id seq = [CCSequence actions:move, fanc, nil];
		[label runAction:seq];</pre></td></tr></table></div>

<br />
moveが実行された後で、fancメソッドが実行されます。<br />
これも詳細はこちらで。<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:actions_special">prog_guide:actions_special [cocos2d for iPhone]</a><br />
<br />
アニメーションはこの辺で。<br />
他にもアニメーションはあるので、詳しくはAPIを確認してみてください。<br />
<br />
# ほんとはアニメーション動画も用意したかったですが、心が折れました。<br />
<br />
次はイベントやります。<br />
</p>

	<p>タグ: <a href="http://iphone.longearth.net/tag/cocos2d/" title="cocos2d" rel="tag nofollow">cocos2d</a>, <a href="http://iphone.longearth.net/tag/%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab/" title="チュートリアル" rel="tag nofollow">チュートリアル</a>, <a href="http://iphone.longearth.net/tag/%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa/" title="ライブラリ" rel="tag nofollow">ライブラリ</a>, <a href="http://iphone.longearth.net/tag/%e5%85%a5%e9%96%80/" title="入門" rel="tag nofollow">入門</a></p>

	<h4>関連する投稿</h4>
	<ul class="st-related-posts">
	<li><a href="http://iphone.longearth.net/2009/12/07/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91hello-world/" title="【cocos2d入門】Hello World! (2009 年 12 月 7 日)">【cocos2d入門】Hello World!</a> </li>
	<li><a href="http://iphone.longearth.net/2009/12/11/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88/" title="【cocos2d入門】cocos2dのイベント (2009 年 12 月 11 日)">【cocos2d入門】cocos2dのイベント</a> </li>
	<li><a href="http://iphone.longearth.net/2009/12/07/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e5%b0%8e%e5%85%a5/" title="【cocos2d入門】cocos2dの導入 (2009 年 12 月 7 日)">【cocos2d入門】cocos2dの導入</a> </li>
	<li><a href="http://iphone.longearth.net/2009/01/19/%e3%80%90uitableview%e3%80%91%e9%81%b8%e6%8a%9e%e8%a1%8c%e3%81%8b%e3%82%89%e5%88%a5%e7%94%bb%e9%9d%a2%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99/" title="【UITableView】選択行から別画面を呼び出す (2009 年 1 月 19 日)">【UITableView】選択行から別画面を呼び出す</a> </li>
	<li><a href="http://iphone.longearth.net/2009/01/20/%e3%80%90uitableview%e3%80%91uitableview%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e8%a9%b3%e7%b4%b0%e7%94%bb%e9%9d%a2%e3%82%92%e4%bd%9c%e3%82%8b-1%e3%80%90uitableviewdatasource%e3%80%91/" title="【UITableView】UITableViewを使って詳細画面を作る-1【UITableViewDataSource】 (2009 年 1 月 20 日)">【UITableView】UITableViewを使って詳細画面を作る-1【UITableViewDataSource】</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://iphone.longearth.net/2009/12/09/%e3%80%90cocos2d%e5%85%a5%e9%96%80%e3%80%91cocos2d%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
