Skip to content

tfkfan/phaser3-raycasting

Repository files navigation


header
Phaser 3 React TypeScript Raycasting demo

A starter template for Phaser 3 with TypeScript and webpack for building excellent html5-games that work great in the browser and on mobile devices.

Key FeaturesPreviewHow To UseReact controlsWebsocket supportCredits


Key Features

  • All newest ES 2020 features
  • Prettier
  • Webpack dev server
  • Includes Phaser 3 TypeScript typings
  • For development and production builds
  • React gui development
  • Websocket integration

Preview

This is what you get after installing this template. A simple and clean starter template written in TypeScript.

How To Use

To clone and run this template, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository (yes, npx not npm)
$ git clone https://github.com/tfkfan/phaser3-raycasting.git

# Go into the repository
$ cd phaser3-raycasting

# Install dependencies
$ npm install

# Start the local development server (on port 8080)
$ npm start

# Ready for production?
# Build the production ready code to the /dist folder
$ npm run build

About

2D raycasting/raymarching demo using phaser 3, react, typescript, webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published