Table of contents
This proyect has been made using Phaser as the library for the entire game and React for the website itself, all based in the following template:
-
-
- Functionality:
- A fast, free and fun open source framework for Canvas and WebGL powered browser games.
- Source:
- phaser oficial page
-
- Functionality:
- React is a JavaScript library for creating user interfaces.
- Source:
- react npm page
-
- Functionality:
- This package includes the global command for Create React App.
- Source:
- create-react-app npm page
-
Prerequisites
Node & npm
In order to configure the project run the following command in the project root folder:
npm install
In order to run the project, run the following command in root:
npm run start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
In order to make a production build of the project run:
yarn build
ornpm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.