petterli
V2EX  ›  2015

lua cocos2dx 结合怎么实现精灵的移动呢

  •  
  •   petterli · Dec 11, 2015 · 3442 views
    This topic created in 3929 days ago, the information mentioned may be changed or developed.

    sprite1:runAction(cc.MoveTo:create(visiblieSize.width/2,visiblieSize.height/2)
    用这句话能实现起来有错误,那正确的语法应该是什么呢。 有木有大神指点下啊

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2726 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 09:58 · PVG 17:58 · LAX 02:58 · JFK 05:58
    ♥ Do have faith in what you're doing.