Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

ReydVires/phaser3-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phaser 3 Webpack Project Template

Tutorial Webpack PHAS3R

Download Node.js pilih yang kiri (versi 10) kemudian install

Jika telah selesai, buka cmd, test apakah node.js dan npm sudah terinstall dengan:

Jalankan perintah node -v di cmd

Jalankan perintah npm -v di cmd

Jika reply dari command adalah versi yang terinstall berarti node.js dan npm sudah terinstall

Cara Menjalankan Phaser dengan npm

Masuk ke direktori template program melalui cmd

Masukkan perintah npm install, tunggu hingga selesai

Masukkan perintah npm start, tunggu hingga mendapat balasan webpack: Compiled sucessfully

Masuk ke browser, ketikkan url laman dengan localhost:8000

Jika berhasil akan terlihat tampilan template phaser

Install and run

Run next commands in your terminal:

Command Description
npm install Install dependencies and launch browser with examples.
npm start Launch browser to show the examples.
Press Ctrl + c to kill http-server process.