platform | maxsize in pixelsr |
---|---|
win32 | 2048 * 2048 |
android | 4096 * 4096 |
iPhone3 | 1024 * 1024 |
iPhone3GS | 2048 * 2048 |
iPhone4 | 2048 * 2048 |
if in android, sprite size over 4096 => not show
on visual studio, I think 8196px x 8196px
platform | maxsize in pixelsr |
---|---|
win32 | 2048 * 2048 |
android | 4096 * 4096 |
iPhone3 | 1024 * 1024 |
iPhone3GS | 2048 * 2048 |
iPhone4 | 2048 * 2048 |
#if (CC_TARGET_PLATFORM==CC_PLATFORM_WIN32) #include <curl\include\win32\curl\curl.h> #elif (CC_TARGET_PLATFORM==CC_PLATFORM_ANDROID) #include "curl/curl.h" #endif
cocos2d-x/samples/Cpp/TestCpp/proj.android/src/org/cocos2dx/testcpp/TestCpp.java
ckage org.cocos2dx.cpp_tests; import org.cocos2dx.lib.Cocos2dxActivity; import org.cocos2dx.lib.Cocos2dxGLSurfaceView; public class AppActivity extends Cocos2dxActivity { public Cocos2dxGLSurfaceView onCreateView() { Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); // TestCpp should create stencil buffer glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8); return glSurfaceView; } }
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;
public Cocos2dxGLSurfaceView onCreateView() { Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); // TestCpp should create stencil buffer glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8); return glSurfaceView; }
관련 글 소개 #1: https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...