![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
cocos2d勉強会(2011/6/20)まとめ
-
sin_jintan
- 4891
- 0
- 4
- 3
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
RGBA5555なんてフォーマットあったのか。RGBA4444は馴染みがあるけど、アルファの段階が少ないから使いどころに困るよね。半透明をなるべく辞めて5551,565で加算使ったほうが綺麗ってこともある。 #cocos2d_devmtg_jp
2011-06-20 17:03:03![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
こんなのあるんだ|TexturePacker | Sprite sheet creation and image optimization http://bit.ly/jNvrVy
2011-06-20 17:00:31![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
画像最適化についての手法について。TexturePackerを使うと良いとのこと。バラバラの絵を再配置して1枚のテクスチャにできる。減色。圧縮。描画用の最適化ができる。 #cocos2d_devmtg_jp
2011-06-20 16:59:44![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
popSceneWithTransitionというメソッドを用意して対応しましょう。フォーラムに載っている。cocos2d本の付録にも載っているそうです。ただし一部のメソッドしか使えない。 #cocos2d_devmtg_jp
2011-06-20 16:56:45![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
pushScene, popSceneを使用する際の問題点。CCTransitionSceneを使用できるのはpushSceneのみになっている。公式フォーラムでも問題になっている。popSceneの際にパキっと戻ってしまう。 #cocos2d_devmtg_jp
2011-06-20 16:54:54![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
んー?SEやBGMが画面遷移時に途切れるという経験がないんですが、僕の実装がおかしいのかな… #cocos2d_devmtg_jp
2011-06-20 16:51:52![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
pushSceneというものがある。現状のメモリに上乗せして次のシーンを載せていくことができる。 #cocos2d_devmtg_jp
2011-06-20 16:50:06![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
replaceSceneを使うといちいち前のシーンが破棄される。読み込みが遅いシーンの場合にはロード待ちが出てしまう。またシーン内で再生しているBGM等が途切れてしまう。 #cocos2d_devmtg_jp
2011-06-20 16:47:13![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
弊社cocos2dで開発しております。RT @uranodai: cocos2d本予約しました。 http://amzn.to/mIn3Ae #cocos2d_devmtg_jp
2011-06-20 16:45:08![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
画面遷移:クロスフェードで遷移したい。ありがちな実装はreplaceSceneのCCTransitionCrossFadeでやったりする。 #cocos2d_devmtg_jp
2011-06-20 16:44:38![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
倉木麻衣★ムービーパズルで使ったテクニックについて。これツイートしてもいいのかな?ドキドキ #cocos2d_devmtg_jp
2011-06-20 16:40:38![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
速すぎwww “@uranodai: cocos2d本予約しました。 http://t.co/rrKlSCT #cocos2d_devmtg_jp”
2011-06-20 16:39:50![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
翻訳本が出ます。cocos2dで作るiPhone&iPadゲームプログラミング、付録30ページ(Seasonsさん、splhackさん)500ページに迫るボリュームだそうです。 #cocos2d_devmtg_jp
2011-06-20 16:39:37