development

Phaser 개발환경 세팅

나는산타 2022. 10. 4. 20:44
반응형

Parcel을 이용하여 Phaser 개발환경 세팅하는 방법

node가 설치되어 있어야함

 

1) node, npm 설치 확인

node --version
npm --version

 

2) parcel-bundler 설치

npm install -g parcel-bundler

 

3) 템플릿 클론

https://github.com/ourcade/phaser3-parcel-template.git

 

4) 설치 및 실행

npm install --save
npm run start

 

5) http://localhost:8000으로 접속해서 확인

 

 

- 참고 : https://blog.ourcade.co/posts/2019/get-started-phaser3-fast-painless/

반응형