'cocos2d-html'에 해당되는 글 2건

  1. 2014.07.25 이미지 시트 만들기 주의점
  2. 2014.07.03 [cocos2d-html5]exitFullScreen
카테고리 없음2014. 7. 25. 18:09

#TexturPacker 로 이미지 sheet 를 만들 경우

- 동시에 연출 되는 이미지는 가능한 한개의 plist 로 만드는 것이 좋다.

- 파일을 나눴을 경우 A효과와 B효과가 동시에 연출시 랙이 발생하게 된다.

Posted by 차돌이라네
html52014. 7. 3. 17:58

exitFullScreen 함수 오류 


 exitFullScreen: function () 

{

        if (!this._supportsFullScreen || !this.fullScreen()) return;

        return (this._browserPrefix === '') ? document.body["cancelFullScreen"]() : document.body[this._browserPrefix + 'CancelFullScreen']();<-- 에러 발생

    },



- 수정 

 return (this._browserPrefix === '') ? document["cancelFullScreen"]() : document[this._browserPrefix + 'CancelFullScreen']();


Posted by 차돌이라네