GithubHelp home page GithubHelp logo

michalzagrodzki / phaser3-parcel-cordova-project-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 482 KB

A Phaser 3 + Parcel v2 + Cordova 11 bootstrap project for your next mobile game

License: MIT License

CSS 30.98% JavaScript 56.89% HTML 12.13%
bootstrap-project browser-games cordova gamedev mobile-game parcel phaser3 template-project phaser-game phaserjs

phaser3-parcel-cordova-project-template's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Mobile Game

An example mobile game with use of Phaser, Parcel and Cordova.
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Product Name Screen Shot

This mobile game template is a boilerplate with ready build and development flow. You could use it for prototyping your ideas, game jams, start point for game development or translating your browser games to mobile environment. Template uses assets from official Phaser platform game tutorial.

Main goals of project:

  • Development and build flow ready - no time used for config
  • Boilerplate for mobile games: assets, scenes and gameflow is implemented
  • Mobile game comparison boilerplate - excellent for moving from browser to mobile

This template will be developed further on. There will be coming new features in future. You are encouraged to fill in requests through issues or PRs. All inputs are highly appreciated.

(back to top)

Built With

This game was built with following technologies.

  • Phaser
  • Parcel
  • Cordova

(back to top)

Getting Started

To start working with boilerplate, please follow instructions below.

Prerequisites

You need to have following packages installed to work with boilerplate

  • npm

    npm install npm@latest -g
  • parcel

    npm install parcel -g
  • cordova

    npm install cordova -g

Installation

Please follow instructions below for installation and running of boilerplate

  1. Clone the repo
    git clone https://github.com/michalzagrodzki/Project-Name.git
  2. Install NPM packages
    npm install
  3. Install browser platform for cordova
    cordova platform add browser
  4. Run boilerplate through parcel
    npm run dev

Building

In order to build and run your boilerplate in emulator please follow instructions below

  1. Build boilerplate through parcel
 npm run build
  1. Run boilerplate in browser through cordova
 cordova run browser
  1. Run boilerplate in iOS emulator through cordova
 cordova run ios

(back to top)

Usage

This boilerplate is a starting point for further development of games for mobile platforms.

Start with modyfing code in file game.js, and then add new scenes in folder src and include them in file index.js.

For guidance and examples how to develop games with Phaser, please refer to the Documentation

(back to top)

Roadmap

  • Add Changelog
  • Add Deployment Steps
  • Add Additional Templates w/ Examples
  • Add Support for Typescript
  • Multi-language Support
    • Spanish

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See license.txt for more information.

(back to top)

Contact

Michal Zagrodzki - @michalzagrodzki

Project Link: https://github.com/michalzagrodzki/phaser3-parcel-cordova-project-template

(back to top)

Acknowledgments

Following resources were helpful in building this boilerplate:

(back to top)

phaser3-parcel-cordova-project-template's People

Contributors

michalzagrodzki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.