にしあぷ

札幌在住のエンジニア。コンサドーレ、甘いもの、ドット絵が好き。

Chapter 4. Pasting Labels(ラベルの貼り付け)

Cocos2d for Iphone 0.99 Beginner's Guide

Cocos2d for Iphone 0.99 Beginner's Guide

  • Learn how to use CCLabels to display tutorial messages
  • Using CCLabelAtlas to display the score
  • Create and use CCBitmapFontAtlas to display feedback and animate it with actions
  • CCLabel でチュートリアルを表示
  • CCLabelAtlas でスコアを表示
  • CCBitmapFontAtlas を使う

first time tutorials (P.126)

チュートリアルを表示する Tutorial クラスを作成。

dafont.com(フォント集)
http://www.dafont.com/

displaying and updating scores with CCLabelAtlas (P.134)

CCLabelAtlas を使ってスコアを表示。

show feedback (P.137)

CCBitmapFontAtlas を使って、ストーンが消えるときの得点を表示。
CCBitmapFontAtlas は非推奨。

CCLabelBMFont *scoreLabel = [CCLabelBMFont labelWithString:@"0" fntFile:@"feedbackFont.fnt"];

running actions on texts (P.140)

得点表示のテキストをアニメーション。

creating your own Bitmap font (P.142)

ビットマップフォントを作る。

Hiero Bitmap Font Tool(ダウンロード)
http://slick.cokeandcode.com/demos/hiero.jnlp

Wraping up the game (P.148)

ゲームを面白くするアイデア

  • A combo system: ...
  • Multiple swapping: ...
  • New stones with different properties: ...
  • Multiplayer: ...
  • コンボ(連鎖すると得点が増える)
  • アクティブ連鎖(ストーン落下中も交換できる)
  • 特殊ストーン(周囲のストーンを爆破する、ワイルドカードなストーン、など)
  • 対戦モード

Cocos2d for Iphone 0.99 Beginner's Guide

Cocos2d for Iphone 0.99 Beginner's Guide