Archive for the ‘unity’ Category

 

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 | コメントは受け付けていません。

unity : skyboxを回転させたい。

9月 28th, 2014

ということで、カメラは固定なんだけど、背景は少し動かしたいなと思い。 もう一つskybox用のカメラを用意して回転させる main camera : depth only depth : -1 skybox camera : skybox depth : -2 にして、skybox cameraに回転用スクリプトを設置。 これだけでOKでした。 一枚の画像でシンプルにやるにはこちらの方法で出来るようです。 【Unity】SkyBox(背景)を簡単に360度回転させる方法 http://makers.hatenablog.com/entry/2014/03/01/053213 keijiro/GalaxyBox https://github.com/keijiro/GalaxyBox

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

iOS : ready for saleでも公開されない。

9月 5th, 2014

だいたい。 8/金 火 : 修正更新 9/4 金(朝):wating for review , 3: 26 in review 5: 53 processing for app store 7: 14 ready for sale まで問題なく更新されました。 が、、、待てど暮らせど公開されません。。。 今までの7個は、ready for saleから数分で公開されていたのですが・・・ 検索したところ24時間以内に公開されなければ連絡を?と書かれているページがあるようなのですが 12時間経過しても公開されないのでメールしておきました。 unity で 3D actionゲームを作成しました。是非お試しください。 iOS版 https://itunes.apple.com/ja/app/lost-knight-3d-action/id900917032?ls=1&mt=8 Android版 https://play.google.com/store/apps/details?id=com.groundroad.lostknight unityでのお仕事も募集中です。お気軽にご連絡ください。山手線近辺であれば対面での打ち合わせ可能です。

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

unity : 4.6 uGUI

8月 31st, 2014

http://unity3d.com/learn/tutorials/modules/beginner/ui ちょっと使い始めました。 動画見てるだけでもかなり良い感じですね。

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

unity : ネットワークメモ

8月 23rd, 2014

基本はこのあたりらしいです。 http://docs-jp.unity3d.com/Documentation/Components/NetworkReferenceGuide.html bluetoothしたいときはassetstoreで bluetooth le for iosあたりを利用してみたいと思います。

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

unity : targetframerate fps

8月 20th, 2014

iosは30に固定されているようですが androidは端末による?ようで40 – 50などになるので http://docs.unity3d.com/ScriptReference/Application-targetFrameRate.html androidは30を設定してみました。 26-30.5くらいに落ち着くようなので35にしました。 前回の処理同様30を下回ったらカメラの遠景を下げています。

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

unity : 他言語対応 ios,androidに設定ファイルを追加

8月 18th, 2014

android http://icoc-dev.hatenablog.com/entry/2014/02/03/092543 res/values-jp/strings.xmlを追加 iOS http://blog.be-style.jpn.com/article/57050228.html InfoPlist.stringsを追加

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

unity : fpsをチェックしてcamera描画範囲を変更する

8月 17th, 2014

http://wiki.unity3d.com/index.php?title=FramesPerSecond このスクリプトでfpsをチェックして30未満のときは camera.farClipPlaneを下げていきます。

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

unity : particle position がずれる

8月 13th, 2014

移動するプレイヤーからパーティクルを発生させるときにズレる。 sumilation space を world から localに変えると playerとのズレが無くなりますが playerを回転させるとパーティクルもlocal座標でついてくるのでどうバランスを取るかが難しいですね 起点がイメージする場所に合えば良いので起点を確定させてからworldに変更出来ると良いのですが http://docs.unity3d.com/ScriptReference/ParticleSystem-simulationSpace.html 例えば 1 秒後にlocalからworldに変更のような感じでと思ったのですが、play中に変更は駄目でした。 ので、同じparticleですが、prefabにして毎回発生・消去することにしました。。。

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