2012年3月2日

COCOS2D API 之 CompositionAction

摘要: Actions: CompositionThere are some actions that let you compose actions.Sequence actionSpawn actionRepeat actionRepeatForever actionSequenceTheCCSequenceaction is a list of actions. The actions are executed in the order that they are defined.Example:id action1 = [CCMoveTo actionWithDuration:2 positi 阅读全文

posted @ 2012-03-02 16:57 jackbutler 阅读(164) 评论(0) 推荐(0) 编辑

COCOS2D API 之 BaseAction

摘要: ActionsActions are like orders given to anyCCNodeobject. These actions usually modify some of the object's attributes likeposition,rotation,scale, etc. If these attributes are modified during a period of time, they areCCIntervalActionactions, otherwise they areCCInstantActionactions.For example, 阅读全文

posted @ 2012-03-02 16:17 jackbutler 阅读(112) 评论(0) 推荐(0) 编辑

导航