Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.11.1 TitleSceneクラスを作る #34

Open
niku opened this issue Mar 12, 2015 · 0 comments
Open

4.11.1 TitleSceneクラスを作る #34

niku opened this issue Mar 12, 2015 · 0 comments

Comments

@niku
Copy link
Owner

niku commented Mar 12, 2015

cocos2d-x の FadeTo::create
cocos2d-js では cc.fadeTo で表す.

cocos2d-x の RepeatForever::create
cocos2d-js では cc.repeatForever で表す.

cocos2d-x の DelayTime::create
cocos2d-js では cc.delayTime で表す.

cocos2d-x の TransitionPageTurn::create
cocos2d-js では new cc.TransitionPageTurn で表す.

二度押し防止のためにリスナーを無効化する実装は
cocos2d-x では getEventDispatcher()->removeAllEventListeners() となっている.
cocos2d-js には該当する関数がないようだったので「対象の listener を消す」という処理にした.

niku added a commit that referenced this issue Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant