Phaser는 간단한 플래시게임이나 홈페이지용 게임을 만들기에 적합한 것 툴?인 것 같다.
운이 좋게 Phaser를 이용해 게임을 만들어야 하는 상황이 왔기에 글을 남기며 이어가려고 한다.
영어가 조금 가능한 사람들은
https://www.youtube.com/watch?v=tFkMxzHwmDw&t=440s
이 사람꺼를 보는게 좋고, Phaser는 자바스크립트나 타입스크립트 둘 다 가능한데, 조금 사용해본 결과
타입스크립트가 훨씬 편하고 좋은 것 같다.
위의 영상에서
https://github.com/ourcade/phaser3-parcel-template
GitHub - ourcade/phaser3-parcel-template: Create Phaser 3 games at blazing speed with Parcel 🚀🎮📦
Create Phaser 3 games at blazing speed with Parcel 🚀🎮📦 - GitHub - ourcade/phaser3-parcel-template: Create Phaser 3 games at blazing speed with Parcel 🚀🎮📦
github.com
여기서 알려주는대로 사용하면 된다.
npm install -g parcel-bundler
를 하고
git clone https://github.com/ourcade/phaser3-parcel-template.git myFolder
를한 다음
npm install
하면 node_modules가 다운되고
npm run start로 실행하면 된다!