Giter Site home page Giter Site logo

phaser3-warp-post-fx's Introduction

Phaser FX

Warp Post FX

Vesion 1.0.0

Welcome to the Warp Post FX Pack.

This pack and all examples in it require Phaser 3.52 or above. Like all Post FX Pipelines it only works in WebGL.

To get started open a command-line prompt and enter:

npm install

This will install the dependencies for this pack.

Then issue the command:

npm run serve

This will run a local instance of http-serve and open your default web browser at the examples folder. From here you can select any example to run it and view the code. Use the drop-down menu at the top to quickly navigate between the Warp Post FX examples.

If you have your own development server already set-up then feel free to map a site to this pack folder, so you can browse to examples. All paths within the examples are relative, so should work at any directory depth.

The structure of this pack is as follows:

  • ๐Ÿ“‚ dist - In this folder you will find WarpPostFX.js which is an ESM (ES6 Module), an ES5 version called WarpPostFX.es5.js and also TypeScript Definitions: WarpPostFX.d.ts.
  • ๐Ÿ“‚ docs - In this folder you will find the documentation for the Warp Post FX.
  • ๐Ÿ“‚ examples - In this folder you will find the Warp Post FX examples runner, demonstrating a variety of ways in which you can use this effect.
  • ๐Ÿ“‚ examples/assets - In this folder you will find the assets that the examples use. Please note, these assets are not open-source and you will require a license to use them in your own games.
  • ๐Ÿ“‚ examples/src - In this folder you will find the source code to each of the examples, written in ES6 Module format.
  • ๐Ÿ“‚ src - In this folder you will find the original TypeScript source code for the Warp Post FX.

Feel free to use either of the provided bundles found in the dist folder, or import the original TypeScript source code into your own project and use it directly.

The documentation explains how to import and use Warp Post FX in your game. Also, be sure to look at the example source code. It often contains a lot more useful snippets!

A lot of work and effort went into producing the Warp Post FX Pack and we truly hope you find it useful for your games.

If you've any questions please get in touch with us on the Phaser Discord.

Discord chat Twitter Follow npm GitHub

phaser3-warp-post-fx's People

Contributors

photonstorm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.