Hey,
I'm new to cocos2d and I made my way through the 'Learning cocos2d' book.
Like in the Book I implemented a scrollingLayer for scrolling, when my gamecharacter moves.
My problem is the following: I'm using a normal Sprite to do the scrolling layer rendering who can I check if my character is touching the scorlling layer?
fyi: It's a fish and he needs to swim through a hole and there are walls above und underneath it and he should not be able to get in front or behind the rocks.
I've searched the internet and this forum, but was not be able to find any suitable solutions.
Is 'Tiled' the kay for happiness, I read about collisions implemented but can't make it out how they are implemented using tmx's
Can someone assist me with that?