有誰能告訴我如何配置圖表助推添加平臺和引擎遊戲中顯示添加的遊戲。 我已經下載了SDK chartboost,我試圖像配置ChartBoost在onCreateEngineOption -使用Chartboost和andengine在遊戲中顯示添加
public EngineOptions onCreateEngineOptions()
{
camera = new BoundCamera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
EngineOptions engineOptions = new EngineOptions(true, ScreenOrientation.LANDSCAPE_FIXED, new FillResolutionPolicy(), this.camera);
engineOptions.getAudioOptions().setNeedsMusic(true).setNeedsSound(true);//turn on the music and sound option
engineOptions.getRenderOptions().getConfigChooserOptions().setRequestedMultiSampling(true);
engineOptions.setWakeLockOptions(WakeLockOptions.SCREEN_ON);//tell the engine to always keep the screen unloced while game is running
engineOptions.getRenderOptions().setDithering(true);//enable the Dithering for the whole game by default
return engineOptions;
// Configure Chartboost
this.cb = Chartboost.sharedChartboost();
String appId = "YOUR_APP_ID";
String appSignature = "YOUR_APP_SIGNATURE";
this.cb.onCreate(this, appId, appSignature, null);
}
和我的遊戲崩潰... 謝謝!