Touching a sprite in cocos2D crashs my app?

The line CGRect MoveableSpriteRect =CGRectMake(oeuf1.position. X -(oeuf1.contentSize. Width/2),oeuf1.position.

Y-(oeuf1.contentSize. Height/2),oeuf1.contentSize. Width,oeuf1.contentSize.

Height) is still referencing oeuf1 once it has been removed, and so will cause an EXC_BAD_ACCESS error. The simplest way to fix it is to declare a BOOL in your header file, and set it to YES true when you remove oeuf1 and ombreOeuf1 . Then if the BOOL is true, don't run.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions