An open API service indexing awesome lists of open source software.

https://github.com/suzushin7/phaser-game-template

A template for creating web games using Phaser.
https://github.com/suzushin7/phaser-game-template

game javascript phaser template typescript vite web-game web-game-development

Last synced: 2 months ago
JSON representation

A template for creating web games using Phaser.

Awesome Lists containing this project

README

          

# Phaser Game Template

[🇺🇸 English](#english) | [🇯🇵 日本語](#japanese)

---

🇺🇸 English

### Overview

This is a Phaser 3-based game template designed for quick prototyping and publishing.

### Features

- Rapid development environment with Vite
- TypeScript support
- Automatic resizing and responsive support
- PWA (can also be installed on smartphones)
- Code obfuscation with JavaScriptObfuscator

### How to Use

1. Install dependencies:

```bash
npm install
```

2. Start development server:

```bash
npx vite
```

3. Build for production:

```bash
npm run build
```

🇯🇵 日本語

### 概要

このプロジェクトは Phaser 3 を使ったゲームテンプレートです。

主な特徴:

- Vite による高速開発環境
- TypeScript 対応
- 自動リサイズ・レスポンシブ対応
- PWA(スマホにもインストール可能)
- JavaScriptObfuscator によるコード難読化

### 使用方法

1. 依存パッケージをインストール:

```bash
npm install
```

2. 開発サーバー起動:

```bash
npx vite
```

3. 本番ビルド:

```bash
npm run build
```

### License

MIT License