0.3.1 • Published 1 year ago

make-web-game v0.3.1

Weekly downloads
4
License
MIT
Repository
github
Last release
1 year ago

Generates a template to make a 2D browser game using PixiJS and TypeScript.

:sparkles: Features

  • Full TypeScript support
  • Game loop using MainLoop.js
  • Simple scene management
  • Keyboard input
  • Separate web app to develop features in isolation
  • Web worker
  • Auto-pause when window loses focus
  • Reactive state management - trigger functions when state changes
  • Visual effects like fade-in and blink
  • Debug panel to inspect your scene
  • Sprite management using aseprite
  • Sound management
  • Main menu
  • Type-safe local storage
  • Very fast dev server using vite
  • Github actions workflow to deploy to itch.io
  • Code formatting with prettier

Dependencies included

Rendering and game logic

Tooling

* = made by me


How to use

npx make-web-game@latest <game-name>

Usage with npx ensures that you are always using the latest version

make-web-game will do the following:

  • Create a new folder called <game-name>
  • Copy all template files to that folder
  • Install the dependencies
  • Create an initial commit

Example usage

npx make-web-game my-game

What you should do after the script is run


Template docs

Docs


Showcase

A list of games bootstrapped using this tool:


Requirements

  • git >=v2.28.0
0.3.0

1 year ago

0.3.1

1 year ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.4

4 years ago

0.0.1

5 years ago