Skip to content

ctaylo21/gamejame2020

 
 

Repository files navigation

Phaser 3 Game for GameJam 2020

Examples made with ❤︎ by digitsensitive
Framework created by Photonstorm

Getting started

Prerequisites

Download and install npm with Node.js @ https://nodejs.org/en

Installing

Select a folder, navigate to it, and clone this repository with this command-line:

git clone https://github.com/ctaylo21/gamejame2020

Install the dependencies with this command-line:

cd gamejame2020
npm install

Building and Running

Note: All of these steps should be run from the root level of your gamejam2020 folder

To start coding your game, you should first install all of the depenencies (you can skip this step if you have already installed depedencies).

npm run install-gamejam

Now to get the game running locally, just run the following command:

npm run dev

This will run the game located at ./src/gamejam/. You should be able to edit your game files located in the ./src/gamejam/ folder and see the changes on the dev server (http://127.0.0.1:8080/) after you save your changes.

You should primarily only be editing files located in the ./src/gamejam folder.

Game Examples

Check the package.json for the correct scripts to start projects. For example you can start the Candy Crush project with:

npm run candy-crush

If you have any suggestion for a next game example, let me know!

Experimental fun projects

Check the package.json for the correct scripts to start projects. For example you can start the Game of Life project with:

npm run game-of-life

Cheat Sheets

Tutorials

External Resources

Helpful tools

TypeScript Configuration

tsconfig.json

The following Compiler Options have been set in the tsconfig.json file:

Option Value
target ES2016
module CommonJS
sourceMap true
noImplicitAny true [WIP]
strict true [WIP]

You can see the complete list of the available options at here. Interesting read about setting up a nodejs-project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Phaser 3 and TypeScript

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.9%
  • JavaScript 3.2%
  • HTML 1.4%
  • CSS 0.5%