Giter VIP home page Giter VIP logo

cmmsimpleframework's Introduction

##Overview 개요 CMMSimpleframework which coded based on Cocos2d v2.1 will be helpful to develop your cocos2d project!
cocos2d v2.1-rc0 기반으로 짜여진 CMMSimpleframework는 당신의 cocos2d 프로젝트 개발에 도움이 될 것입니다!

###features

  • wirte soon...

##How to use 사용법

  1. required Cocos2d v2.1 library
    Cocos2d v2.1 라이브러리 필요
  2. Download template files.
    템플릿 파일 다운로드.
  3. copy files to ${USER}/Library/Developer/Xcode/Templates/cocos2d v2.x/
    ${USER}/Library/Developer/Xcode/Templates/cocos2d v2.x/ 로 파일을 복사합니다.

write soon!

##Migration with exists project 기존프로젝트와 병합

  1. copy and add CMMSimpleFramework library to exists project.
    CMMSimpleFramework 라이브러리를 기존프로젝트에 복사하고 추가합니다.

  2. modify code at ViewController( : UINavigationController)
    ViewController( : UINavigationController)에 코드를 수정합니다.

     @implementation YourViewController
     	-(NSUInteger)supportedInterfaceOrientations{…}
     	-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{…}
     	-(void)directorDidReshapeProjection:(CCDirector*)director_{
     		if([director_ runningScene] == nil){
     			//touch configuration
     			CCGLView *glView_ = (CCGLView *)[director_ view];
     			[glView_ setMultipleTouchEnabled:YES];
     			[glView_ setTouchDelegate:[CMMScene sharedScene]];
     
     			//push scene(only once)
     			[director_ pushScene:[CMMScene sharedScene]];
     
     			//push layer
     			[[CMMScene sharedScene] pushLayer:[HelloWorldLayer node]];
     		}
     	}
     @end
    

##contact E-mail : [email protected]

##Channel Log

cmmsimpleframework's People

Contributors

kimbobv22 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.