¡@

Home 

2014/10/15 ¤U¤È 10:04:57

iphone Programming Glossary: ccmenu

cannot find interface declaration for 'AbstractPickerView',superclass of 'AttackLayer'

http://stackoverflow.com/questions/10269246/cannot-find-interface-declaration-for-abstractpickerview-superclass-of-attack

wrong over here #import Foundation Foundation.h #import AbstractPickerView.h @interface AttackLayer AbstractPickerView CCMenu buyPowerButton CCMenu finishBuyPower id playerUI id init PlayerController playerControl withObject id object void spendAttack.. Foundation Foundation.h #import AbstractPickerView.h @interface AttackLayer AbstractPickerView CCMenu buyPowerButton CCMenu finishBuyPower id playerUI id init PlayerController playerControl withObject id object void spendAttack id sender void spendResist.. void buyPowerButtons void cleanUpPicker id sender @property nonatomic retain id playerUI @property nonatomic retain CCMenu button2 @property nonatomic retain CCMenu button3 @property nonatomic retain CCMenu buyPowerButton @property nonatomic retain..

UIScrollView and Cocos2D

http://stackoverflow.com/questions/2457380/uiscrollview-and-cocos2d

propagate to the CCLayer with an offset that grows the more you scroll which makes the CCLayer and or accompanying CCMenus unusable. I have found the cause of this problem to be a bug in how Cocos2D translates touches sent to the OpenGLView to.. the cause of this problem to be a bug in how Cocos2D translates touches sent to the OpenGLView to the local CCNode or CCMenu coordinate systems. This bug is present in 1.0 rc and only affects touches that are generated on a OpenGLView's subview.. sharedDirector openGLView point CCDirector sharedDirector convertToGL point return self convertToNodeSpaceAR point CCMenu.m CCMenuItem itemForTouch UITouch touch cocos2d 1.0 rc bug when using with additional overlayed views such as UIScrollView..