About The Project
In this repo you can find a template that is being used by the Bodging Bear team when starting new project.
Even though this template includes Bodging Bear specific code (like intro or credits) feel free to use it in your own project.
<!-- TABLE OF CONTENTS -->Table of Contents
Features
- Bodging Bear intro while loading
- Simple main menu
- Credits scene
- How to play scene
- Game scene
- Custom made utilities for quicker Phaser 3 development
Built With
- Phaser 3
- TypeScript
- Webpack 4
- Electron
- Love ❤️
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
You'll need to have the following programmes installed to run use template
Node.jsDownload and install appropriate version from https://nodejs.org/en/download
Installation
- Create a new repo from a template
- Clone the newly created repo
git clone https://github.com/bodgingbear/new-game
- Install NPM packages
npm install
- Run game locally
npm start
<!-- USAGE EXAMPLES -->
Available Commands
| Command | Description |
|---------|-------------|
| npm run start | Build project and watch for changes, starts server on http://localhost:8080 |
| npm run build | Builds project in production mode (enables minification, outputs files to public folder) |
| npm run lint:eslint | Runs eslint on the codebase checking for code style errors |
| npm run lint:tsc | Runs TypeScript checks |
| npm run lint | Combines lint:eslint and lint:tsc |
| npm run electron:dev | Runs Electron in the development mode |
| npm run electron:dist | Builds the Electron version of the app. Outputs builds for MacOS and Windows |
License
Distributed under the Creative Commons Attribution-NonCommercial 4.0 International License.
See https://creativecommons.org/licenses/by-nc/4.0 for a human-readable summary of it and LICENSE.md for full license text.
If you wish to commercially use your game that was created using this template, drop us a message at team@bodgingbear.dev.
<!-- CONTACT -->Contact
Bartek (@bibix1999) and Kacper (@pietrzakacper) – team@bodgingbear.dev
Project Link: https://github.com/bodgingbear/phaser3-template