Skip to content

RafaelColpani/Phaser-Game

Repository files navigation

Phaser Game

Create a game using phaser js and android studio

Description:

A mini game created using phaser js tools for the web version and using android studio to make its mobile version

The assets used in the project were taken from the website: https://kenney.nl/

Controls:

⬅️ ⬆️ ➡️ ⬇️ -> Use the arrow keys to move

SPACE BAR -> Use the space bar to shoot

Load project in Web Server:

Two ways using node js or the vs code extension called live server

- Node js

Download modules
> npm install
Start server
> node index.js
Go to the web page
> http://localhost:7070/
To close the server, use the command in your terminal
> CTRL + C

- VS Code

To run directly in vscode you need the "Live Server" extension

after having installed the extension look for the file "index.html", just follow the path below
> src\index.html
Right-click on the "index.html" file and look for the "Open with Live Server" option as shown in the image below