Sergey Shambir wrote:
Amyn Virani wrote:
> @Sergey Shambir
> I am using the above class that you mentioned. But there is an error when I use CCPointer. It says there is no such class. Could you please tell me where to get the class file and where should that class file be pasted?
> I am a beginner therefore detailed steps would be really appreciated.
>
> thank you.
>
It located here: cocos2dx-ext/CCPointer.h at master · ivzave/cocos2dx-ext · GitHub
>
Just create yet one header, copy CCPointer.h content into it and include it in your file.
Ok so the error is gone. Just one more thing. You wrote this in your usage part of the code:
// Check that user hadn’t tapped on transparent area.
bool goal = tapChecker->tapsOnNonTransparent(mapTapPoint);
Can you tell what is the type of the variable tapChecker? and where to initialize it and how?