🎨스프라이트시트 이해하기
App.loadSpritesheet

// 이미지를 객체화 시키는 함수
App.loadSpritesheet(fileName: string, frameWidth: integer, frameHeight: integer, anims: array, frameRate: integer)frameWidth 와 frameHeight
anims
예시1) 단일 이미지인 경우
예시2) 단일 애니메이션을 정의하는경우
예시3) 2개 이상의 애니메이션을 정의하는 경우
예시4) 캐릭터 애니메이션 정의
Last updated
Was this helpful?