Forums » C# Framework » Bugs »
| The Devil | Bugs | ||||
|---|---|---|---|---|---|
|
Added by The Devil about 1 year ago
Hi, Thanks. |
||||
| shivalingesh nashipur | RE: Bugs | ||||
|
Added by shivalingesh nashipur about 1 year ago
are you removing the correct one by removechild like this? public void spritemovefinished(SelectorProtocol sender)
{ |
||||
| The Devil | RE: Bugs | ||||
|
Added by The Devil about 1 year ago
I am directly removing the sprite as it is stored in a class variable. It disappears for one cycle and then in the next cycle is visible near the bottom left of the screen. Thanks |
||||
| shivalingesh nashipur | RE: Bugs | ||||
|
Added by shivalingesh nashipur about 1 year ago
i didnt catch you , i am a beginner i straight away give my lines which faced ,
public void spritemovefinished(SelectorProtocol sender) { |
||||
| RongHong Huang | RE: Bugs | ||||
|
Added by RongHong Huang about 1 year ago
hi, Nidhi Ajwani, about your questions:
2)In CCMenu::menuWithItem(), the cocos2d-x internally appends a null to it before calling CCMenu::menuWithItems(). This cause the code to crash. Removing the null that is getting added in the function, fixes the bug.
3)If we make a particle effect with the help of Particle Designer( http://particledesigner.71squared.com/index.php ) , it cause the code to crash again. This is because the emitter type, is stored as a float in the plist file and it is parsed as an integer when the file is being read. Changing the parsing to a float parse fixes the issue.
4) When using the action CCFadeOut on a sprite, it cause the screen to go fade to a blue color temporarily as if we have done a fade to blue. Have not found a fix for this yet, as am not familiar with DirectX. Any help is appreciated. |
||||
| The Devil | RE: Bugs | ||||
|
Added by The Devil about 1 year ago
Hi, 2) in the cocos2d-x code, this is what happens: which cause the code to crash. If I change it to this it works. 4) My code is 1.png (236.6 kB) |
||||
| The Devil | RE: Bugs | ||||
|
Added by The Devil about 1 year ago
More screenshots |
||||
| RongHong Huang | RE: Bugs | ||||
|
Added by RongHong Huang about 1 year ago
yep, about menuWithItem(CCMenuItem item), this is a bug, i have corrected it |
||||
| george t | RE: Bugs | ||||
|
Regarding the first problem reported by Nidhi and tracked by issue #1011 (http://www.cocos2d-x.org/issues/1011), it is caused by code commented out in the framework.
It solved the problem for me. Hope it helps! |
||||
| Jacob Anderson | RE: Bugs | ||||
|
Added by Jacob Anderson 10 months ago
On #3. CCParticleSystem.cs, line 983 in current repo:
This should work for you now. If you are still getting an error with your custom particle system, please let us know. |
(1-9/9)