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
版本:quick3.3或3.6都行。lua语言
WIN平台主要是方便调试而已。其它没啥