EffectNodes-for-cocos2dx icon indicating copy to clipboard operation
EffectNodes-for-cocos2dx copied to clipboard

Could you update your code to The V3.3 please

Open yagjak opened this issue 10 years ago • 6 comments

Hi, i'm very interested by your EffectNodes , could you please update it to the V3.3 ?

kind regards

yagjak avatar Jan 04 '15 16:01 yagjak

sorry for my late reply! thanks for your attention. but i am too busy with company's project those month and it also will take one or two month to be finished. after that, i will update EffectNodes to v3.x and together add some more effects.

wantnon2 avatar Mar 03 '15 12:03 wantnon2

i tried to translate effectNodes to 3.x yesterday, and i found it is quite easy except some small obstacles. i think i can make it done in several days now. i will update it as soon as possible.

wantnon2 avatar Mar 05 '15 05:03 wantnon2

Thanks, its will be very helpful for me :)

yagjak avatar Mar 05 '15 05:03 yagjak

3.x version has been uploaded, see branch v3: https://github.com/wantnon2/EffectNodes-for-cocos2dx/tree/v3

wantnon2 avatar Mar 07 '15 09:03 wantnon2

I'm using the code from v3, with only the files code/shatter/ensShatterNode.h and code/shatter/ensShatterNode.cpp, without the common header.

It could be a change from cocos2d-x v3.6, but the original sprite doesn't doesn't disappear, and the shatter effect's stick around after they've finished moving. Is this related at all, or should I make a new issue?

e: Oh, the shatter sticking around was because I set the duration to 0.5f, switching it to 4 fixed the issue, so there's a bug, I'll try to fix. The original sprite still doesn't go invisible though.

e2: Nevermind, it looks like you manually setOpacity(0) on the sprite before you run the action on it, so all in all, the only bug is the 0.5f duration thing, which I'll make a ticket for.

tankorsmash avatar Jul 05 '15 01:07 tankorsmash

https://github.com/tankorsmash/Cocos2dx-ShatterSprite Made a new repo just for the shatter sprite, I'm on cocos2d-x 3.10 but it would probably work on any v3.

tankorsmash avatar Sep 05 '17 02:09 tankorsmash