iphone - Problem with textfields and scene transition + cocos2d -
I have no problem in my textfield, which does not flowing with visual transaction. Actually my view is transitioned with this call:
view * gs = [[questionsscene alloc] initWithPage: 2] autorelage]; [[Director shared director] Replaced Sassine: [Slide Inertransmission Transvision Duration: 0.5 Season: GS]];
However in my init I have a text file here:
[answerbox settextcolor: [UIColor blackcolor]]; [Answer Box Settextualment: UITXElignment Left]; [Answer box set contentHoriodical alignment: UCentral contentional alignment left]; [Answer Box SetclairsAnbain Editing: Yes]; [Answer box setborder style: UITExwordsRealRoderate];
[answer box set deliate: self]; [Answer Type: SetterNet Type: UIReturnKeyDone]; [Answer box setautocapitalization type: UITxAutcapitalizationTap Words]; [[[Directors Share Director] Open GLView] Ad Swoewiew: Answerbox];
does not follow the textbox transition, it just sits in the next scene. Anyone have an idea about fixing it?
You add answerLL directly to answerGox, not location So when the scene changes naturally, the answer box is not affected.
If you use UILB, you can not add Cocos node object as a child, so you can not add it to your view. / P>
Instead, try using the Cocoa 2D label class. Either use it or this fast cousin
I have not investigated how Cocos 2D manages his ideas, maybe there can be another option? You can try on the cocos2d forum.
Comments
Post a Comment