Okay, I'm developing a visualization tool. I have done all of the hard work in Quartz 2d but then released I could do a lot more in coco... so the migration begins...
I'm a bit of a coco novice so bear with me :)
In my design; I have two scenes and two layers.
The first scene is GridScene and GridLayer where I will draw the elements of the grid.
The second scene is the MessageScene and MessageLayer where I will draw a message once a user clicks on an element in the grid.
I have written a Sprite class which uses theTouchDispatcher and currently prints out a message when a user clicks on it.
Now... lots of questions floating around in my head....
Do I instantiate the MessageScene from the Sprite or do I pass control back to the GridScene and check which sprite has been selected and then display the message?
What do you suggest and how?