cocos2d-x 3.x (3.16) 안드로이드 스튜디오에서 앱 버전 변경 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 12월 29, 2017 build.gradle 파일에서 android { ... defaultConfig { ... versionCode 2 versionName "1.1" } productFlavors { demo { ... versionName "1.1-demo" } full { ... } } } 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 댓글
cocos2d-x 3.x (3.16) SDKBox IAP 1월 25, 2016 콘솔이나 커멘드라인에서 python -c "import urllib; s = urllib.urlopen('https://raw.githubusercontent.com/sdkbox-doc/en/master/install/install.py').read(); exec s" 환경변수에 sdkbox 추가 c:\develop\TestGame>sdkbox import iap 하면 설치 끝 Resoures에 sdkbox_config.json를 편집 다음과 같은 리스너 생성 # include "PluginIAP/PluginIAP.h" class MyClass : public sdkbox::IAPListener { private : virtual void onInitialized ( bool ok) override ; virtual void onSuccess (sdkbox::Product const & p) override ; virtual void onFailure (sdkbox::Product const & p, const std :: string &msg) override ; virtual void onCanceled (sdkbox::Product const & p) override ; virtual void onRestored (sdkbox::Product const & p) override ; virtual void onProductRequestSuccess ( std :: vector <sdkbox::Product> const &products) override ; virtual void onProductRequestFailure ( const std :: string &msg) override ; void onRestoreComplete ( b... 자세한 내용 보기
cocos2d-x 3.x (3.10) error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] 에러 해결 1월 25, 2016 Application.mk 에서 APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char -Wno-error=format-security 로 변경 자세한 내용 보기
cocos2d-x 3.x (3.10) Layer의 AnchorPoint 조정 1월 27, 2016 Layer는 AnchorPoint 수정을 해도 되지 않는다. ignoreAnchorPointForPosition(false); 를 호출하면 된다. 자세한 내용 보기
댓글
댓글 쓰기