Skip to content

A simple architecture for managing the flow between a game menu and game levels. Also demonstrates how assets could be preloaded prior to starting the game.

Notifications You must be signed in to change notification settings

jedhastwell/phaser3-game-menu-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phaser 3 Game Menu Structure Example

A simple architecture for managing the flow between a game menu and game levels. Also demonstrates how assets could be preloaded prior to starting the game.

Setup

Environment

Requires node.js and npm to be installed: https://nodejs.org/en/

Install Dependencies

From the project directory run:

npm install

Usage

Development Server

Starts a development server that will automatically refresh the page as you make changes. Once started, navigate to http://localhost:8080 in your browser.

To start the server run:

npm run start

Distribution

Bundles and minimises scripts and outputs them along with a copy of the assets/ folder to output directory dist/.

To build for distribution run:

npm run build

About

A simple architecture for managing the flow between a game menu and game levels. Also demonstrates how assets could be preloaded prior to starting the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published