Game Development Reference
In-Depth Information
GLViewDepthFormat = GLViewDepthFormat.DepthNone,
GLViewMultiSampling = NO,
GLViewNumberOfSamples = 0,
Enable2DProjection = NO,
EnableRetinaDisplaySupport = YES,
EnableGLViewNodeHitTesting = NO,
EnableStatusBar = NO,
-- Orientation & Autorotation
-- Kobold2D uses the supported orientations from the Target's Summary pane
-- (same as Info.plist "Supported interface orientations")
-- iAd setup
EnableAdBanner = YES,
LoadOnlyPortraitBanners = YES,
LoadOnlyLandscapeBanners = NO,
PlaceBannerOnBottom = NO,
AdProviders = "iAd, AdMob", -- comma seperated list
AdMobRefreshRate = 15,
AdMobFirstAdDelay = 5,
AdMobPublisherID = "YOUR_ADMOB_PUBLISHER_ID",
AdMobTestMode = YES,
-- Mac OS specific settings
AutoScale = NO,
AcceptsMouseMovedEvents = NO,
WindowFrame = RectMake(1024-640, 768-480, 640, 480),
},
}
return config
Most of these settings should be self-explanatory and may seem familiar to you. The
settings are documented in the KKStart-upConfig class in the Kobold2D API Re-
ference and here: www.kobold2d.com/display/KKDOC/Config.lua +Set-
tings+Reference.
Search Nedrilad ::




Custom Search