Archive for 10月, 2014

 

[titanium] [iOS] rsync failed v3.4.0

10月 27th, 2014

iOS版を更新しようとしたら。。。 archiveをvalidateできませんでした。 https://developer.appcelerator.com/question/177627/app-store-build—340—rsync-failed ということで Validate, Submitすると出る確認画面で “Include app symbols for your application to receive symbolicated crash logs from Apple.” のチェックを外すとOKでした。

Read full article | コメントは受け付けていません。

[titanium] Titanium.App.Properties 設定値を保存しておく。

10月 26th, 2014

http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.App.Properties 初期設定をxmlに。と思ったら xmlに書いた場合は上書き出来なくなります。固定値のみと言う感じのようです。 var propName = “myprop”; if(!Ti.App.Properties.hasProperty(propName)){ Ti.App.Properties.setBool(propName, true); } と初期値を設定。

Read full article | コメントは受け付けていません。

[titanium][android] titanium.jar not found

10月 26th, 2014

ERROR: Asset package include ‘/Titanium/mobilesdk/osx/3.4.0.GA/android/titanium.jar’ not found. [ERROR] Application Installer abnormal process termination. Process exit value was 1 After update to 3.4.0 GA nothing works any more https://developer.appcelerator.com/question/178514/ android build tools が 20じゃないとダメっぽい?感じです。 build-tools/21.0.x などを他の場所へ退避しておくと大丈夫でした。 とりあえずtitaniumだけでの利用であれば一旦削除しても大丈夫そうです。

Read full article | コメントは受け付けていません。

iOS : アプリ申請時のIDFAや権利関連の質問メモ

10月 24th, 2014

一通りデータを入れて、バイナリーもアップロード完了後。 submitする際の質問になります。 admobを利用している場合ですが、結果を保証するわけではございませんのでご了承ください。 Third party content ・サードパーティコンテンツを利用しているか ・権利はあるのか の両方チェックしています。広告内のデータかなと。 IDFA ・Serve advertisements within the app ・Attribute this app installation to a previously served advertisement ・Attribute an action taken within this app to a previously served advertisement – ・確認 の4つのチェックボックスがありますが、 自分の経験としては、4つチェックしても、1つめと4つめでもOKでした。 出稿したらコンバージョンをとれるので、2,3番目のもチェックしておいた方が良いのかな?と思いますが チェックしなくても通っているようです。

Read full article | コメントは受け付けていません。

unity : waitforsecondsが動かない時

10月 21st, 2014

ちょっと IEnumerator Example() { print(Time.time); yield return new WaitForSeconds(5); print(Time.time); } がなぜか動かない・・・ WaitForEndOfFrame は問題なく動く なんでかな・・・と思っていたら停止処理で Time.timeScale = 0; としていたので動かなかった。 待ちのときだけ timeScale を1に戻して。 WaiteForSeconds(1); の後に timeScale を 0に戻した。 ゲーム中のポーズではこれは使えないけど・・・終了後の得点表示なので今回はこれで。

Read full article | コメントは受け付けていません。

unity シェア、キャプチャ画像も投稿

10月 7th, 2014

http://japan.unity3d.com/developer/document/tutorial/2d-shooting-game/ios/01.html iOSはunityのサンプルだけで行けるようですね android対応は参考にintent送ってみます。 http://noshipu.hateblo.jp/entry/2014/07/07/021531 https://github.com/anchan828/social-connector

Read full article | コメントは受け付けていません。

unity : google game services リーダーボードと実績を入れる

10月 1st, 2014

https://github.com/playgameservices/play-games-plugin-for-unity アプリを登録して、 https://developers.google.com/games/services/console/enabling の感じで、登録・・・ https://github.com/playgameservices/play-games-plugin-for-unity のzipをダウンロードして、current-build以下のものをインポート 0.9.05でした。 androidのsdkのExtrasのGoogle Play servicesが入っているか確認して 入っていなかったら入れる。 android sdkの場所がunityに設定されていない場合は、preference -> external tools -> android sdk あたりを修正 unityのメニューに Google Play Gamesがでるので、setup androidしてみる。 数字のidを入力してsetup 何か実行されokだそうだ・・・ あとは、適当に、init, sign in , reportscore, ShowLeaderboardUIとかそのままやってみる。 問題なくデータ更新出来ました。

Read full article | コメントは受け付けていません。