Never mind... I always continue to look when I'm waiting for a response...
I remembered that I had forgotten to convert the points to the landscape mode screen. The new function:
- (BOOL)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
Sprite *leftButton = (Sprite *)[self getChildByTag:7];
Sprite *rightButton = (Sprite *)[self getChildByTag:8];
Sprite *fire = (Sprite *)[self getChildByTag:3];
CGRect leftRect = [self makeRect:leftButton];
CGRect rightRect = [self makeRect:rightButton];
CGRect fireRect = [self makeRect:fire];
UITouch *touch = [touches anyObject];
CGPoint loc = [touch locationInView:[touch view]];
CGPoint convertedPoint = [[Director sharedDirector] convertCoordinate:loc];
if(CGRectContainsPoint(leftRect, convertedPoint)) {
thetaMod = 0;
[leftButton setOpacity:128];
}
if(CGRectContainsPoint(rightRect, convertedPoint)) {
thetaMod = 0;
[rightButton setOpacity:128];
}
if(CGRectContainsPoint(fireRect, convertedPoint)) {
[fire setOpacity:128];
}
return 1;
}
Seems to work perfectly. I like to update these when I discover the answer so other people that might be struggling with something similar can see what I believe the correct answer is as well.
thanks again cocos2d community.
and please! If you see a way I can be doing this better or more efficient, please dont hesitate to speak up! I love learning!