Demo entry 6682639

Beispielcode für Action

   

Submitted by anonymous on Dec 09, 2017 at 20:40
Language: C++. Code size: 202 Bytes.

auto mySprite = Sprite::create("mysprite.png");
auto moveTo = MoveTo::create(2, Vec2(50,0));
mySprite->runAction(moveTo);
auto moveBy = MoveBy::create*2, Vec2(50, 0));
mySprite->runAction(moveBy);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).