function GameLayer:resetView()
self:setAnchorPoint(cc.p(0,0))
local targetPlatform = cc.Application:getInstance():getTargetPlatform()
if targetPlatform == cc.PLATFORM_OS_WINDOWS then
self:setScale(0.55)
else
self:setRotation(-90)
self:setPositionX(display.width)
self:setPositionY(0)
end
end
WIN平臺主要是方便調試而已。其它沒啥