Giter VIP home page Giter VIP logo

phaser-ts-starter's Introduction

phaser-ts-starter

alt text

This is a starter kit for any Phaser game. It contains the basics you will need to work with Phaser effectively.

Getting Started

Yeah, the boring command line stuff. First clone this repo:

git clone https://github.com/WilliamRClark/phaser-ts-starter/

To get started you'll first want to bring in Phaser, and the rest of the JavaScript dependant files for your project. This can be easily done from the command line using NodeJS:

npm install

The next thing we want to do is to compile the source code. There are several ways to do this.
Most editors (Atom, Sublime, or VisualStudio Code) will compile on save.
Another alternative is to run the command line compile:

npm run tsc

Once the source is compiled, start the webserver.

npm start

Editing This Project

Open the folder with your favorite editor. You should get autocompletion, and compile on save.

Why TypeScript

TypeScript has many features that make larger JavaScript projects faster to develop. Let's be honest. Aren't you tired of typing object.prototype? How about real class definitions for a change.

phaser-ts-starter's People

Contributors

williamrclark avatar

Watchers

James Cloos avatar  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.