https://github.com/mfdeveloper/p5-vertical-game
This is a vertical infinity game using p5.js
https://github.com/mfdeveloper/p5-vertical-game
p5js p5js-game vertical-game
Last synced: 4 months ago
JSON representation
This is a vertical infinity game using p5.js
- Host: GitHub
- URL: https://github.com/mfdeveloper/p5-vertical-game
- Owner: mfdeveloper
- Created: 2019-11-18T16:15:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T00:44:58.000Z (about 3 years ago)
- Last Synced: 2024-03-20T20:53:34.458Z (almost 2 years ago)
- Topics: p5js, p5js-game, vertical-game
- Language: JavaScript
- Size: 7.36 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.ubi.pt/)
This project structure used here was based in [generator-p5-webpack](https://github.com/janizde/p5-webpack-yeoman-generator) generated with [Yeoman](https://yeoman.io/)
### Prerequisites
- Install [Git](https://git-scm.com) to clone this repo
- Install [Node](https://nodejs.org). You can use [NVM](https://github.com/nvm-sh/nvm) directly from command line (Linux) or using [Chocolatey](https://chocolatey.org) (Windows)
- Install [VSCode](https://code.visualstudio.com/) to edit the code (Optional)
## Built With
This project uses:
#### Build and package manager
* [Webpack](https://webpack.js.org) - For start a webserver and generated a minified versio for production
* [Babel](https://babeljs.io) - To compile from `Javascript` **ES6** to **ES2015**, if you wish.
* [Node](https://nodejs.org) - To use [NPM](https://github.com/npm/cli)
* [npm](https://github.com/npm/cli) - A `package.json` file that describes the dependencies and automated scripts (`start`, `build`...)
* [generator-p5-webpack](https://github.com/janizde/p5-webpack-yeoman-generator) - A [Yeoman](https://yeoman.io/) generator used for this structure
## Getting Started
To run/develop this project, follow the steps below:
1. Clone this repo:
```bash
git clone https://github.com/mfdeveloper/p5-vertical-game.git
```
2. Enter the cloned directory, install all depedencies and starts the local web server:
```bash
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:
```bash
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](https://github.com/mfdeveloper)
See also the list of [contributors](https://github.com/mfdeveloper/p5-vertical-game/contributors) who participated in this project.