This is a boilerplate/template to create a vertical infinity game. This is used in a Master degree on Game Design course of UBI
This project structure used here was based in generator-p5-webpack generated with Yeoman
-
Install Git to clone this repo
-
Install Node. You can use NVM directly from command line (Linux) or using Chocolatey (Windows)
-
Install VSCode to edit the code (Optional)
This project uses:
- Webpack - For start a webserver and generated a minified versio for production
- Babel - To compile from
Javascript
ES6 to ES2015, if you wish. - Node - To use NPM
- npm - A
package.json
file that describes the dependencies and automated scripts (start
,build
...) - generator-p5-webpack - A Yeoman generator used for this structure
To run/develop this project, follow the steps below:
-
Clone this repo:
git clone https://github.com/mfdeveloper/p5-vertical-game.git
-
Enter the cloned directory, install all depedencies and starts the local web server:
cd p5-vertical-game npm install # Starts the local web server, and open your default browser npm start
To generate a production version, folow the steps below:
cd p5-vertical-game
# Generated a "dist" folder
npm run build
# Optionally, you can get start a web server too
npm run start:prod
- Felipe Ferreira - Initial work - Felipe
See also the list of contributors who participated in this project.