views:

17

answers:

0

Hi.

I have used cocos2d and i have 2 scene. in first scene i have one image and one menu button. if user will click on menu button then i am showing second scene with some options. now i want like if any user will click on any option in 2 scene then first scene should be come with new image.

Can anyone say me how can i change it?

i have tried like create object for first scene file and add sprite using that object but i am not able to see image in first scene.

i have also tried like create one function on 1 scene file and call that function on second scene.

i am able to call first scene function but still not able to see image.

if anyone can help me than its good for me.