본문 바로가기

매뉴얼

액션 | Actions 번역일: 2019-07-31 주소: https://docs.cocos2d-x.org/cocos2d-x/v3/en/actions/ Actions · GitBook No results matching "" docs.cocos2d-x.org 액션[Action] 객체는 단어 그대로의 기능을 갖습니다. 노드[Node]의 속성을 바꾸도록 하는 것이죠. 액션[Action] 객체는 노드[Node]의 속성을 시간의 흐름에 따라 변경합니다. 노드[Node]를 기본 클래스로 갖는 어떠한 객체도 액션[Action] 객체를 통한 동작을 수행할 수 있습니다. 예를 들어, 스프라이트[Sprite]를 어떤 위치에서 다른 곳으로 지정된 시간동안에 이동시킬 수 있습니다. MoveTo와 MoveBy라는 액션[Action]을 사용하는 예제.. 더보기
스프라이트 프레임 캐시 | SpriteFrameCache 번역일: 2019-06-23 주소: https://docs.cocos2d-x.org/cocos2d-x/en/sprites/spriteframe_cache.html SpriteFrame Cache · GitBook No results matching "" docs.cocos2d-x.org 스프라이트 프레임 캐시[SpriteFrameCache]에서 스프라이트[Sprite] 생성하기 | Creating a Sprite from SpriteFrameCache 스프라이트 프레임 캐시[SpriteFrameCache]에서 사용할 리소스를 추출하여 스프라이트[Sprite]를 생성합니다. // .plist 파일은 각 스프라이트[Sprite] 마다 이름을 갖고 있습니다. // 이번 코드에서는, "mysprite"라는 이름.. 더보기
스프라이트 시트 | Sprite sheets 번역일: 2019-06-23 주소: https://docs.cocos2d-x.org/cocos2d-x/en/sprites/spritesheets.html Spritesheets · GitBook Creating a Sprite from a Sprite Sheet A sprite sheet is a way to combine sprites into a single file. Using a sprite sheet helps achieve better performance by batching the draw calls. They can also save disk and video memory in cases where the sprites can b docs.cocos2d-x.org 스프라이트 시트[Spri.. 더보기