I'm currently developing a doodle-jump style game in Cocos2d for iPhone and have a scene set up with two different layers - game objects (platforms, collectables etc...) and player (character, controlled by the player).
I have these in separate layers because I want to scroll the entire game objects layer down when the player jumps up - giving it the vertical, doodle-jump style feel.
The problem is that intersection between the player and the platforms doesn't occur because they're on different layers.
Does anyone know how this can be solved? Some have mentioned convertToWorldCoords but I'm lost with that!