cocos2d用のアニメーションテクスチャを簡単に作れる「Zwoptex」というソフトが非常に便利なので、今回その使い方を紹介します。アニメーションの画像を一つの画像にまとめられるので、データの節約にもなりますし、ファイルの中身も見た目がすっきりします。無料で使えますので、是非cocos2dでゲームなどを作りたいと思っている方に利用して欲しいです。まずはこちらのサイトから「Zwoptex」ダウンロードして下さい。 画像を用意する まずはアニメーションに利用する画像を用意してください。 アニメーションの作成に関しては「Photoshopでドット絵のアニメーションを作るために僕が実践していること。」のエントリーで詳しく書いています。 画像ができたなら、「Zwoptex」を立ち上げます。 この画面上に、アニメーションを構成する画像を貼り付けてください。 画像のレイアウト 初期の状態ですと下記のよ

「BigShot」というゲームをcocos2dで作りました。 ダウンロードはこちら 射的屋「BigShot」 カテゴリ:ゲーム 価格: 無料GitHub ソースコードはhttps://github.com/kasajei/BigShotに置いてあります。書く記事ごとにchapterとしてbranchを残しているので、各回ごとに追っていきたい人はそちらからも御覧ください。 記事一覧 cocos2dで簡単なゲームを作っていくよ(0) cocos2dで簡単なゲームを作っていくよ(1) cocos2dで簡単なゲームを作っていくよ(2) cocos2dで簡単なゲームを作っていくよ(3) cocos2dで簡単なゲームを作っていくよ(4) cocos2dで簡単なゲームを作っていくよ(5) cocos2dで簡単なゲームを作っていくよ(6) cocos2dで簡単なゲームを作っていくよ(7) coc
早くも開催されたさいたまiPhone勉強会 vol2に登壇してきました。 今回の内容は、タイトル通り「cocos2dユーザーのためのKobold2D入門」です。 ”入門”とか言ってるのにガッツリ1時間以上喋りまくって本当にすいませんでした^^; Kobold2Dって基本的にcocos2dなんですけど、cocos3dもサポートしていて 3Dもできたり、色々揃っていてワンパッケージになっているのです。 まだ、1.0 preview3ですがそろそろ1.0も出てくる勢いで開発のほうも進んでます。 また、この翻訳スライドがきっかけで、Kobold2D作者であり、 cocos2d本原著の作者である@gaminghorror氏から直接依頼があり、 日本語化のために正式メンバーとして加入しました。 ウェブサイトは、英語ですが日本語のドキュメントも随時整備していきます。 Kobold2d users_gui

Hi, after developing 2 games for theIphone, I decided to make a port of one of them to theAndroid, naturally, after using cocos2D on the first two, I decided to try and use the cocos2D-Android to do so. I used Zhouweikuan’s latestiteration on the evergoing project of developing this great tool for theAndroid system. So lets start, firstcreate a newAndroid project on Eclipse, then go here a
One of the most frequently asked questions I see about cocos2d foriPhone is “how do you animate sprites?”. This was also one of the first questions we had when developing Addicus.It’s actually quitesimple to do using cocos2d’s CCSpriteSheet, CCSprite and CCAnimation classes. These classes take atexture atlas andswitch between frames at regular intervals. In other words:animation! Here is how
SpriteBuilderを使っていてちょっとハマったのでメモっておきます。 アプリケーションの名前を日本語にする場合、XcodeのBuild Settingsにて、Product Nameを日本語にしてしまうと、SpriteBuilderが出力するccbiファイルからクラスを生成する際にマングル化してから取得する都合上、クラス名を取得する処理でこけます。 具体的には、以下の箇所です。 CCBReader.m:1371行あたり CCBReader.m ホーム画面のアイコン名だけを日本語にするのであれば、Info.plistのBundle Display Nameを設定することで、この問題を回避することができます。

cocos2dのサンプルを勉強がてら読みといていくメモです。ほとんどのテストが同じ基本的な構造を持っているみたいなので、ActionManagerTestを見ながら各テストが実行される全体の流れを先ず見てみます。勉強上のメモなので記載内容に責任は、、、もし間違いがあったらどなたか指摘ください。 1)ActionManagerTest.hの宣言を見ると AppControllerというのが、メインのDelegateっぽい処理をしているらしい ActionManagerTestがCCLayerを継承していて、その他のクラス「CrashTest」「LogifTezt」、「PauseTest」、「RemoveTest」がActionManagerTestを継承しているので共通のLayer情報がActionManagerTestに書かれているらしい。 2)ActionManagerTest.mをざっ
Tailored learning experiences With options ranging from independent study to immersive learning cohorts, Kodeco learners have the flexibility to choose the pathway that best fits their lifestyle, schedule, and learning preferences. World-class contentcreators At Kodeco, our content is crafted by industry leaders and world-class mobile developers, ensuring that learners receivetop-tier educationa

version 0.99.4 はサンプルソースはコンパイルできずmac上で実行できないデバイスに転送させてならできるサンプルを転送エラー specifies device capability requirements, which are not met byiPhone とでるplistの UIRequiredDeviceCapabilities 項目を削除するhttp://blog.syuhari.jp/archives/2102CCOrbitCamera, actionWithDuration:のパラメータが不明コード、リファレンスを見る限りカメラがスクリーン中央をくるくる回るっぽいactionWithDuration: アクションにかける時間radius:deltaRadius:angleZ:初期Z角度(DEG)deltaAngleZ: actionWithDuration後ま
BeginningHTML withCSS and XHTML incorporates practical examples that will show you how to structure your data correctly using (X)HTML, together with styling and layout basics usingCSS.It also shows how to add dynamic behavior to your data using theJavaScript. language. All of the featured code andtechniques are standards compliant and demonstrate best practices.so you will not waste time on
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く