전체 글

전체 글

    게임 개발

    디자인 포토샵, 인디자인 Spine 3D MAX Unity AssetsMaya 마케팅페이스북 커뮤니티 지인 마케팅 회사 퍼블리셔개발 유니티 (https://unity3d.com/kr)언리얼 엔진 (https://www.unrealengine.com/ko)Cocos2D (http://cocos2d.org/) Indie Game: The Movie (https://www.youtube.com/watch?v=dINgx0y4GqM) tisohjung@gmail.com

    AWS SNS iOS push certificate

    create pem file download filename.cer from itunes and doubleclick to add to key chaingo to key chain and export Apple Push Services (and key below) to filename.p12save both as same name save the macro below as awssnscert```FILENAME="$1"pem=".pem"p12=".p12"cer=".cer"out="_out"cert="_cert"key="_key"openssl x509 -in $FILENAME$cer -inform DER -out $FILENAME$cert$pemopenssl pkcs12 -in $FILENAME$p12 -..

    ERROR ITMS-90206

    For using extensions (watch extension, today extension) with Cocoapods (v1.0) ERROR ITMS-90206 Build Settings -> Embedded Content Contains Swift Code -> "NO"Build Phases -> Embed Pod Frameworks -> X (Delete this) Build Phases -> + (add Run Script) -> add below script cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/" if [[ -d "Frameworks" ]]; then rm -fr Frameworks fi"

    NGINX https로 계속 rewrite될때

    1. http 를 https로 자동으로 바꾸는 설정을했을때location / {rewrite ^ https://$host$uri permanent;}다시locaiton / {proxy_pass http://localhost:8080;}같이 해줘도 계속 https로 가면인터넷 사용자 정보를 삭제 (브라우저 캐쉬 삭제)를 해줘야됨브라우저에 rewrite가 저장이 되기때문에 삭제를 안하면 계속 같은 조취를 취해준다 2. service nginx restart 가 안될 수 있음 (1.4 버젼대)업데이트를 하던 service nginx stop, service nginx start 로 재시작한다

    Cocos2d-x Box2d 설정

    Cocos2d-x Box2d 설정

    0. 기본적으로 간단한 개발을 위해서는 chipmunk를, 정확한 물리엔진을 위해서는 box2d를 추천함하지만 전체적으로는 chipmunk를 추천함. 플랫폼이면 모르겠지만 cocos2d-x에서는 chipmunk가 훨신 코드가 간단해짐 1.ccConfig.h 를 열어서 CC_USE_PHYSICS 를 0으로 바꿔줌 (PHYSICS가 기본이 chipmunk를 쓰게 되어있다) 2.cocos2d/CMakeListes.txt를 열어서 USE_BOX2D ON, USE_CHIPMUNK OFF 로 바꿔줌 3.cocos2d_libs에서 Preprocessor Macros 를 찾아서CC_ENABLE_BOX2D_INTEGRATION=1CC_ENABLE_CHIPMUNK_INTEGRATION=0으로 바꿔줌

    링크

    Javascript debugging - 자바스크립트 디버깅 css color nginx compile configure

    Mac 에서 mssql 접속

    Mac 에서 mssql 접속

    Oracel 에서 SQL Developer 다운로드http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html참고로 가입하면 그냥 다운로드됨 http://sourceforge.net/projects/jtds/files/jtds/1.2.5/jtds-1.2.5-dist.zip/download위에서 jtds 를 다운로드받는다 (최근에 나온 1.3으로 해봤지만 안됨)그다음에 설정을 한다커맨드+, 를 눌러서 데이터베이스>타사 JDBC 드라이버 에서 항목 추가 (jtds-1.2.5.jar) 좌측상단에 +를 누르면 다음과 같이 새로운 탭이 생긴다(mssql 기본포트는 1433이다)주소를 주고 데이터베이스 검색하면 데이터베이스를..

    mac libtool: unrecognized option '-static' and ERR 'node-gyp rebuild'

    libtool: unrecognized option `-static'libtool: Try `libtool --help' for more information.make: *** [Release/magic.a] Error 1gyp ERR! build errorgyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)gyp ERR! stack at ChildProcess.emit (events.js:110:17)gyp ERR! stack at Process.ChildPro..

    관심사

    https://github.com/facebook/AsyncDisplayKit https://github.com/colemancda/NetworkObjects Dynamic Grid LayoutSalvattore (from left to right) - http://salvattore.comJQuery.waterfall (from highest to lowest) - http://dfcreative.github.io/projects/waterfall/ handlebars tutorial - 19th of below linkhttps://www.youtube.com/user/ht4eg/videos http://www.dringend.cc/ipad 개발 TUIO protocol 통신을 이용한 제어https:..

    AppDelegate UIViewController Transition Animation

    UIViewController *nextViewController = [[UIViewController alloc] init]; UIView *screenShot = [self.window snapshotViewAfterScreenUpdates:YES]; [nextViewController.view addSubview:screenShot]; self.window.rootViewController = viewController; [UIView animateWithDuration:0.5 animations:^{ screenShot.layer.opacity = 0.0; } completion:^(BOOL finished) { [screenShot removeFromSuperview]; }]; for uivie..

    Xcode plugin

    alcatraz 를 이용해서 설치fuzzyautocomplete - 타이핑 자동완성 도움injectionplugin - 실행중에 코드 인젝션scxcodeminimap - 서브라임텍스트 처럼 미니맵xalign - '=' 을 기준으로 정렬

    UIWebView remove top 20px

    UIWebView automatically sets 20px margin on the top of mobile web view inside UIViewController set this: [self setAutomaticallyAdjustsScrollViewInsets:NO]; 20px should be now gone

    NSData dataWithContentsOfURL returns nil

    NSData dataWithContentsOfURL returns nil solution :just restart ios simulator (exit the simulator comletely)this often happens after xcode 6 don't know why (when wifi changes to another place simulator error occurs)

    cocos2d-x 안드로이드 한번에 컴파일

    LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) $(call import-add-path,$(LOCAL_PATH)/../../cocos2d)$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos) LOCAL_MODULE := cocos2dcpp_shared LOCAL_MODULE_FILENAME := libcocos2dcpp CLASSES_FILES := $(wildcard $(LOCAL_PATH)/../../Classes/*.cpp)CLASSES_FILES := $(CLASSES_FILES:$(LOCAL_PA..

    안드로이드 admob 설치

    안드로이드 admob 설치

    eclipse errorhttp://dissonanz.tistory.com/38 아래 링크따라 진행4.x 대에서 구글 플레이에 도입되서 따로 받을필요없음https://developers.google.com/mobile-ads-sdk/docs/방법 : http://www.cocos2d-x.org/wiki/User_Tutorial-Integrate_AdMobadmob->수익올리기-> +새로운 앱에서 수익창출앱 직접 추가로 만들기플랫폼 -> android

    맥 개발 셋팅

    1.xcode-앱스토어에서 다운로드-다른거하기전에 xcode를 열어서 xcode->preferences->Downloads->Command Line Tools 설치-없으면 이미 설치가 되어있을수있음 (terminal 켜서 gcc를 쳐본다)2.homebrew-우분투,리눅스의 apt-get yum install 같은거-http://brew.sh/index_ko.html3.android stidio +sdk+ndk-https://developer.android.com/sdk/installing/studio.html4.sublime text -웹개발툴(사실 뭘개발해도됨)-http://sublimetext.com-강좌 : http://opentutorials.org/course/671/35955.coda (유료)..

    Cocos2d-x 3.2 admob needs more frameworks

    https://developers.google.com/mobile-ads-sdk/download?hl=koNeed more frameworks to add -GameController.framework-MediaPlayer.framework-EventKitUI.framework-EventKit.framework-CoreTelephoney.framework defaults:-AudioToolBox.framework-libGoogleAdMobAds.a-SystemConfiguration.framework-StoreKit.framework-MessageUI.framework-AdSupport.framework-AVFoundation.framework-CoreGraphics.framework-QuartzCore..

    디지털오션 gitlab 안될때

    우선 디지탈 오션에 가입한다:https://www.digitalocean.com/?refcode=2e73960a5da1 설치과정:https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone 설치과정에서 생기는 문제:modernizr 문제NOTE: It looks like some people are still having problems with this solution, so something else we can do is replace a few lines in Gemfile and Gemfile.lock (both on /home/git/gitlab), switchi..