标签:style blog color io os ar sp div art
auto bgPic = Sprite :: create( "StartGameBg.jpg" ); bgPic ->setContentSize ( Size( 800.0f , 1246.0f)); bgPic ->setPosition ( Vec2( visibleSize .width / 2 , - bgPic -> getContentSize(). height /2 + visibleSize . height)); this -> addChild( bgPic ); FiniteTimeAction * moveAction = EaseExponentialInOut:: create (MoveTo :: create( 6.0f , Vec2 (visibleSize . width / 2 ,bgPic -> getContentSize(). height / 2))); bgPic ->runAction ( Sequence:: create ( moveAction , CallFunc ::create ( CC_CALLBACK_0( GameStartScene ::buttonLogin , this )), nullptr ));
标签:style blog color io os ar sp div art
原文地址:http://www.cnblogs.com/seabrea/p/4001132.html