bhags

Big Hairy Audacious Goals

  • Objective-C Animation Menu

    http://iosdevelopertips.com/open-source/ios-open-source-circular-rotating-menu.html

    続きを読む

  • [Unity] Colliderの衝突まとめ

    Unityには複数のColliderが存在する。Collider同士の衝突を考えるときは下記リンクを必ず参照 物理コンポーネント / Physics Components

    続きを読む

  • [Unity] Rigid body Options

    From Unity Site Rigid body options Mass オブジェクトの質量 (単位 : kg)。 質量は、他のリジッドボディのおよそ 100 倍 以上にすべきではありません。 Drag 力により動く際に、オブジェクトに影響する空気抵抗の量。 0 の場合、空気抵抗が 0 で、無限の場合、オブジェクトは直ちに動きを止めます。 Angular Drag トルクにより回転する際に、オブジェクトに影響する空気抵抗の量。 0 の場合、空気抵抗なし。このパラメータの値を無限 (infinity) に設定するだけでは、オブジェクトの回転を直ちにを止められないことに留意して下さい。 Use Gravity 有効にすると、オブジェクトは重力の影響を受けます。 Is Kinematic 有効にすると、オブジェクトは物理特性エンジンによって駆動されませんが、その Transform によってのみ操作できます。 これは、プラットフォームを移したい場合や、HingeJoint を追加したリジッドボディをアニメート化したい場合に便利です。 Interpolate Rigidbody の動きがぎこちないとき、次のオプションを試して下さい。 None 補間を適用しない。 Interpolate 前フレームの Transform にもとづいて Transform のスムージング。 Extrapolate 次フレームの Transform 予測にもとづいて Transform のスムージング。…

    続きを読む

  • , ,

    phpstorm subversion branch merge random directory.

    mac phpstormで任意のフォルダをsubversionを利用しbranchする方法 1.branch作成 directory 右クリック->Subversion-> Branch or tag branch 作成対称directoryが Working Copy にあるかを確認 作成されるbranchようのdirectoryをCopy ToセッションのName欄に入力  OK でbranchは作成完了

    続きを読む

  • ,

    [iOS] app url for itunes store

    To send customers to a specific application: http://itunes.com/apps/appname To send customers to a list of apps you have on the App Store: http://itunes.com/apps/developername To send customers to a specific app with your company name included in the URL: http://itunes.com/apps/developername/appname

    続きを読む

  • UIView flickering – ちかちか – 깜빡거림

    UIViewがチカチカするときの対応 CGRectMakeの値にint値を入れてないか確認 UIAlertViewがメインスレッドでないところでshow , dismissされているかを確認 

    続きを読む

  • ,

    iOS Tips for beginner

    ネットサーフィングしながらかき集めたTIPS. いつか誰かの役に立つはず。(自分含む) Open an URL in Safari Hide the status bar Dial a Phone Number (iPhone Only) Launch the Apple Mail stop responding to touch events active the touch events Show the network Activity Indicator Hide the network Activity Indicator Prevents iPhone goes into sleep mode Display an alert window Get the path to the…

    続きを読む

  • ,

    Unity 2dToolkit iOS 容量最適化

    unity + 2dToolktでiOS用にビルドした時の容量最適化TIP 画像ファイルの最適化 Inspector のOverride for iPhoneで画像を圧縮する Unity 公式サイトよりiPhone用のPlayer settingを最適化 http://docs-jp.unity3d.com/Documentation/Components/class-PlayerSettings40.html

    続きを読む

  • [対策] There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.

    Unityで There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene. のようなメッセージが出る場合には複数のAudioListenerが同じsceneの中にあるかを確認し一つに減らす。 heirarchy viewでAudioListenerで検索するとAudioListenerのcomponentのチェックを外す。Audio Sourceは外さないように

    続きを読む

  • ,

    AWS S3 Bucketを instanceにマウント

    aws php library http://aws.amazon.com/jp/developers/getting-started/php/ サーバで発生する大量のログをS3上で保管するための作業ログ –>> s3をCDNとして活用するためのログ S3 上で Bucket 生成 S3上で生成されたBucketに下記権限を追加 { “Version”:”2012-10-17″, “Statement”:[{ “Sid”:”AddPerm”, “Effect”:”Allow”, “Principal”: { “AWS”: “*” }, “Action”:[“s3:GetObject”], “Resource”:[“arn:aws:s3:::{bucket name}/*” ] } ] } s3マウントに必要なライブラリインストール アクセスーキーの登録(AWSトップページの上部にあるメニューから[Your Account]-[Security Credentials]で「Access Credentials」のセクションにある[Access Keys]で「Access Key ID」と「Secret Access Key」の英数字列 権限設定 s3fsのインストール Requested ‘fuse >= 2.8.4’ but version of fuse is 2.8.3 エラー時 マウントは上記で終了 以下ログバックアップのためのロジック batch時点の日付directory生成 #prev_batch_date <…

    続きを読む