摘要:        
设置横屏与竖屏的方法 找到RootViewController.m这个文件,打开 找到这个方法 // Override to allow orientations other than the default portrait orientation.- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {// return YES for the supported orientations// Only landscape 仅支持横向// return ( UI    阅读全文
        
            posted @ 2012-02-05 23:52
Panda&Kings
阅读(1856)
评论(0)
推荐(1)
        
            
        
        
摘要:        
Joystick摇杆功能的实现(两种实现方式)一、SneakyInputNickPannuto编写的开源类库主要有五个核心类:SneakyButtonSneakyButtonSkinnedBaseSneakyJoystickSneakyJoystickSkinnedBaseColoredCircleSprite(可选)以下是具体的用法:@implementationInputLayer-(id)init{if(self=[superinit]){winSize=[[CCDirectorsharedDirector]winSize];[selfaddJoystick];[selfaddFireB    阅读全文
        
            posted @ 2012-02-05 22:21
Panda&Kings
阅读(6964)
评论(0)
推荐(1)
        
 
                     
                    
                 
                    
                 
 
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号