/p5-vertical-game

This is a vertical infinity game using p5.js

Primary LanguageJavaScript

P5js: vertical infinity game

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

Prerequisites

  • 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)

Built With

This project uses:

Build and package manager

  • 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

Getting Started

To run/develop this project, follow the steps below:

  1. Clone this repo:

    git clone https://github.com/mfdeveloper/p5-vertical-game.git
  2. 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

Deployment

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

Authors

  • Felipe Ferreira - Initial work - Felipe

See also the list of contributors who participated in this project.