All Projects → liurongqing → template

liurongqing / template

Licence: MIT license
使用 phaser3 + es6 + webpack4.8.1 配置开发游戏(基本模版)

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to template

phaser-parcel
A Phaser 3 game template using Parcel bundler
Stars: ✭ 64 (+433.33%)
Mutual labels:  phaser, phaser3
phaser3-faq
A guide to Phaser 3
Stars: ✭ 69 (+475%)
Mutual labels:  phaser, phaser3
Opensc2k
OpenSC2K - An Open Source remake of Sim City 2000 by Maxis
Stars: ✭ 4,753 (+39508.33%)
Mutual labels:  phaser, phaser3
phaser-3-palette-swapping-example
Example of using palette swapping on a spritesheet in Phaser 3.
Stars: ✭ 32 (+166.67%)
Mutual labels:  phaser, phaser3
phaser-plugin-game-scale
Scale or resize the game canvas. Phaser v3.15 only
Stars: ✭ 35 (+191.67%)
Mutual labels:  phaser, phaser3
phaser3-webpack-es6-dev-starter
Development set up for Phaser 3, Webpack, and ES6.
Stars: ✭ 44 (+266.67%)
Mutual labels:  phaser, phaser3
phaser3-typescript-starter-kit
This repository contains the code necessary to start making a game in Phaser 3 using TypeScript.
Stars: ✭ 94 (+683.33%)
Mutual labels:  phaser, phaser3
phaser-typescript-webpack
Another Phaser CE boilerplate using TypeScript and Webpack.
Stars: ✭ 17 (+41.67%)
Mutual labels:  phaser, webpack4
ts-phaser-bomb-game
Bomberman clone using websockets and phaser 3
Stars: ✭ 18 (+50%)
Mutual labels:  phaser, phaser3
phaser3-simple-rpg
A simple Phaser3 RPG using Typescript ⚔️
Stars: ✭ 80 (+566.67%)
Mutual labels:  phaser, phaser3
Cavemen-GGJ2019
A multiplayer survival game developed during Global Game Jam 2019.
Stars: ✭ 21 (+75%)
Mutual labels:  phaser, phaser3
phaser3-typescript-template
A Phaser 3 TypeScript Template
Stars: ✭ 30 (+150%)
Mutual labels:  phaser3, webpack4
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+4500%)
Mutual labels:  phaser, webpack4
phaser-ui-comps
Phaser 3 UI Components built by Adobe Animate
Stars: ✭ 60 (+400%)
Mutual labels:  phaser, phaser3
mmo-arch
Base Architecture for creating scalable games using microservices through Angular, Phaser, NestJS, NATS, and MySQL
Stars: ✭ 25 (+108.33%)
Mutual labels:  phaser, phaser3
phaser-jam-template
A Phaser Template to kick off your Game Jam with everything you need. Typescript, code quality, building for itch, various input methods, examples, bootloader, preloader, main game, end screen, credits screen and license screen.
Stars: ✭ 18 (+50%)
Mutual labels:  phaser, phaser3
React-Whole-barrels
webapck + react + react-router +dva + es6 + less + antd 实现的脚手架 👌👌
Stars: ✭ 23 (+91.67%)
Mutual labels:  webpack4
Phaser3.Boilerplate
Phaser 3 Boilerplate project for rapid development.
Stars: ✭ 15 (+25%)
Mutual labels:  phaser
blocker
🎮 (WIP - phase 3) Multiplayer online game using Phaser + WebSocket (Socket.IO)
Stars: ✭ 48 (+300%)
Mutual labels:  phaser
mobxSpa
企业级SPA项目,完整开发脚手架
Stars: ✭ 96 (+700%)
Mutual labels:  webpack4

使用 phaser3 + es6 + webpack4.8.1 开发

build passing version node version phaser version webpack version license MIT

安装依赖

npm install // 或 yarn

本地运行查看

npm start

发布生产

// 生成到根目录下的 dist 目录中
npm run prod 

知识点

  1. 安装使用 yarn

    更多 yarn 命令

    # 安装 yarn
    brew install yarn --without-node
    
    # 更新 yarn
    brew upgrade yarn
    
    # 查看 yarn 是否安装成功
    yarn --version
    
    # yarn 最常用的命令
    yarn init # 初始化项目
    
    yarn add [package] # 安装最新,默认安装写进 dependencies 中
    yarn add [package]@[version] # 安装指定版本
    yarn add [package]@[tag] # 安装指定标签
    
    yarn add [package] --dev # 开发包
    yarn add [package] --peer # 同等依赖包
    yarn add [package] --optional # 可选择依赖包
    
    yarn upgrade [package] # 更新
    yarn upgrade [package]@[version] # 更新
    yarn upgrade [package]@[tag] # 更新
    
    yarn remove [package] # 移除指定包
    
    yarn # 安装所有依赖 等效于 yarn install
    yarn install # 安装所有依赖

  2. 安装配置 webpack

    1. conf/webpack.dev.js 配置本地开发环境
    2. conf/webpack.prod.js 配置发布生产环境

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].