분류 전체보기

    [SVN] git을 쓰다가 svn을 써보니...

    1. 폴더 단위로 status 관리가 된다?! 된다. 하위 폴더에서 상위 폴더의 변화를 인식하지 못한다.그래서 작업하던 곳에서 마로 status로 확인해서 commit하면 된다. 2. 중간에 작업 내용을 add하는 것이 없다. 그냥 commit이다.

    [ubuntu] ruby 수동으로 완전 삭제하기

    10down vote At first find out where ruby is? then rm -rf /usr/local/lib/rubyrm -rf /usr/lib/rubyrm -f /usr/local/bin/rubyrm -f /usr/bin/rubyrm -f /usr/local/bin/irbrm -f /usr/bin/irbrm -f /usr/local/bin/gemrm -f /usr/bin/gem http://stackoverflow.com/questions/3957730/how-can-i-uninstall-ruby-on-ubuntu

    [cocos studio] sprite를 setPosition했는데 화면에 안보일때,

    [cocos studio] sprite를 setPosition했는데 화면에 안보일때,

    여러가지 원인이 있겠지만 제가 만났던 문제입니다. Size winSize = Director::getInstance()->getWinSize(); Size visibleSize = Director::getInstance()->getVisibleSize(); Vec2 origin = Director::getInstance()->getVisibleOrigin(); 3가지의 의미를 파악해야 정확한 위치에 이미지를 추가할 수 있습니다. 아래 그림은 정확하진 않지만 개인적인 삽질을 하여 이해한 그림입니다.

    [cocos studio] menu toggle에 대해서

    http://mrkim0118.tistory.com/14 http://www.cocos2d-x.org/docs/api-ref/cplusplus/v3x/d1/d1d/classcocos2d_1_1_menu_item_toggle.html#abc7d42d912cf978b1ed9efd241c395cc MenuItemToggle Class Reference2D NodesA MenuItemToggle. More...Inherits MenuItem.

    [cocos studio] [cocos2d-x 3.0 beta2] Action 액션 사용

    [cocos2d-x 3.0 beta2] Action 액션 사용 Reference : http://zzaps.tistory.com/189 ------------------------------------------------------- 레이어에 붙여놓은 스프라이트를 조작하는 방법쯤 되겠다. 원하는 위치에 놓은것부터 옮기기, 회전시키기, 크기를 조정하기 등등 무수한 액션들이 존재한다. 얼마나 많은지는 아래 사이트를 참고하자. 우선 대충 훑어보기를 바란다. 뭐가 있는지 알아서 써먹을 수도 있지.. http://www.cocos2d-x.org/reference/native-cpp/V3.0beta2/dd/d0d/group__actions.html 보고나면 질린다..ㅡ.ㅡ 그래도 정리를 해야하니까... 스프라이트..

    [ubuntu] 마우스 휠 방향 바꾸기(mac osx처럼)

    Reference : http://adminplay.com/?mid=LETC&document_srl=262563&listStyle=viewer&page=3 [dgkim@~]$ xmodmap -ppThere are 13 pointer buttons defined. Physical Button Button Code 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 휠 기능 역방향 으로는 아래 명령어 한다 xmodmap -e "pointer = 1 2 3 5 4 6 7 8 9 10 11 12 13" 상세 설명은 man xmodmap 참조 한다

    [mac osx] static변수를 사용하려다가 링크에러!!

    에러 메세지Undefined symbols for architecture x86_64: c++ static static 변수는 반드시 cpp파일에서 선언한다. 해결방법 : http://stackoverflow.com/questions/9282354/static-variable-link-error

    [cocos studio] CCLOG 로그찍어보기

    로그를 찍고 싶으면 아래 주소에 나온대로 처리해보면 된다. http://www.cocos2d-x.org/wiki/How_to_use_CCLOG#How-to-use-CCLOG