I'm fairly experienced in cocos2d-x, and it seems that the motion streak code which should just work seems to be not working for me. I'm wondering what I'm doing wrong. My requirement is that I'd like to use motion streak to draw some glowing lines. As a simple test, I did the following in my main scene class init method (I'm developing for iOS 7.0).
CCMotionStreak* streak = CCMotionStreak::create(5, 4, 2, ccWHITE, "strike.png");
I assume this should draw me a box. I checked out the samples in TestCpp and all they do is change the position. The samples do work for me, so I must be doing something wrong here (this shows that there is nothing wrong with the cocos2d-x version I'm using).
Hope someone can kindly tell me what I'm doing wrong. Thanks in advance.