bhags
Big Hairy Audacious Goals
-
nibを探せないとき
nibファイルを探せないエラーが発生し、iOS7では正常に動作した。 https://github.com/kstenerud/iOS-Universal-Framework/issues/152 resources load in iOS 7 but not iOS 6 No milestone No one is assigned When running in the simulator, I’m adding the embedded framework to a test app. When run under 7.0.3, it runs with no issues. When run under 6.1 or less, it’s crashing with the following: ‘NSInternalInconsistencyException’, reason: ‘Could not…
-
-
RANK Update
SELECT @rank:=0; UPDATE student SET rank=@rank:=@rank+1 ORDER BY rank //ranking 1,2,3,4,4,6,7,8… select ( select count( B.point) + 1 from daily_rankers as B where B.point > A.point ) as RANK, A.point , A.agency_id ,A.user_id,A.counting_date from daily_rankers as A order by point desc; //1,2,3,4,4,5, use app_crm; select ( select count(distinct B.point) from daily_rankers as B where B.point…
-
Cakephp Session 共有
http://jamnite-japan.blogspot.jp/2009/04/cakephp-user.html セッション共有時切れる時の対象 1. cakephp 1.x 系はsecurity.level -> lowに変更
-
ruby error
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for rb_thread_blocking_region()… yes checking for rb_wait_for_single_fd()… yes checking for rb_hash_dup()… yes checking for rb_intern3()… yes checking for mysql_query() in -lmysqlclient… yes checking for mysql.h… no checking for mysql/mysql.h… yes checking for errmsg.h… no —– errmsg.h is missing. please check your installation of mysql and…
-
UIView – viewDidLoadがinitWithNibnameより先に呼ばれるような気がしたら。。。
UIViewの initializeで initが終了する前にあるいは先にviewDidLoadがよばれる気がしたら super classのinit内部でself.viewなどでviewにアクセスしていないかを確認. self.viewをよぶことによってsuper classのinitializerで viewDidLoadがよばれてしまう。
-
Fantasy Runner
1.GameObject 1.1Background Object 1.1.1 tree,rock,shop 1.2Player Object 1.2.1 enemy 1.2.1.1 ground enemy 1.2.1.2 flying enemy 1.2.2 hero 1.2.2.1 みならい勇者 1.2.2.1.1 -> 戦士→、聖騎士、モンク →中級勇者→英雄→伝説 1.2.2.2 みならい魔法使い 1.2.2.1.2 -> 白魔王師、黒魔法師、召喚師→
-
-
Unity Tips – データのやり取り
JSONでのやり取りはメモリと速度の面であまりよくない よいもの MessagePack Scriptable Object -> Unity おすすめ unityのおすすめ アプリに含めるデータ:Scriptable Object 定期的に更新するデータ:Sciptable Object or Message Pack 動的にサーバから取得するデータ: Message Pack ほかの方法 ローカルに保存する方法 PlayerPrefs -> 容易に編集可能、メモリに全データを展開:設定の保存に最適 sqlite -> asset storeで購入して使用 ストレージ -> IO (iOSはアップデートするたびにデータのパスが変わるのでデータのパスを保存して使うのは危険!) 暗号化