All Projects → samid737 → phaser3-plugin-pathbuilder

samid737 / phaser3-plugin-pathbuilder

Licence: MIT license
Draw and edit Lines, Bezier Curves, Splines at runtime, explore your scene and export your paths to Phaser

Programming Languages

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

Projects that are alternatives of or similar to phaser3-plugin-pathbuilder

Android Jigsaw Puzzle
Android app that allows you to draw anything and turn it into a jigsaw puzzle.
Stars: ✭ 139 (+107.46%)
Mutual labels:  games, draw
phaser multiplayer demo
HTML5 Multiplayer with Phaser and Go
Stars: ✭ 35 (-47.76%)
Mutual labels:  games, phaser
phaser-particle-editor-plugin
This plugin creates particles based on JSON data generated by Phaser Particle Editor
Stars: ✭ 28 (-58.21%)
Mutual labels:  games, phaser
phaser-typescript-webpack
Another Phaser CE boilerplate using TypeScript and Webpack.
Stars: ✭ 17 (-74.63%)
Mutual labels:  games, phaser
Warez
All your base are belong to us!
Stars: ✭ 584 (+771.64%)
Mutual labels:  games, scene
Warezz
It's illegal cuz they can't tax you!
Stars: ✭ 386 (+476.12%)
Mutual labels:  games, scene
phaser-mario
Mario-like class for Phaser
Stars: ✭ 19 (-71.64%)
Mutual labels:  games, phaser
Games
一个基于Phaser的小游戏集合
Stars: ✭ 1,167 (+1641.79%)
Mutual labels:  games, phaser
Pixieditor
PixiEditor is a lightweight pixel art editor made with .NET 5
Stars: ✭ 210 (+213.43%)
Mutual labels:  games, draw
phaser-manifest-loader
Phaser Manifest Loader
Stars: ✭ 28 (-58.21%)
Mutual labels:  phaser
Crypto-Car-Battle
NFT (ERC721) based HTML5 game with Crypto Payouts to the Winner.
Stars: ✭ 90 (+34.33%)
Mutual labels:  phaser
drawIoToVuejs
No description or website provided.
Stars: ✭ 31 (-53.73%)
Mutual labels:  draw
verlet
build and animate objects according to verlet physics. pure golang library
Stars: ✭ 26 (-61.19%)
Mutual labels:  games
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (-50.75%)
Mutual labels:  games
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+80.6%)
Mutual labels:  games
FLOSS-Games-on-Steam
A list of FLOSS games available on Steam
Stars: ✭ 90 (+34.33%)
Mutual labels:  games
hacker-feud
💥 A single page web game made with Svelte.
Stars: ✭ 61 (-8.96%)
Mutual labels:  games
Sudoku-Solver
🎯 This Python-based Sudoku Solver utilizes the PyGame Library and Backtracking Algorithm to visualize and solve Sudoku puzzles efficiently. With its intuitive interface, users can input and interact with the Sudoku board, allowing for a seamless solving experience.
Stars: ✭ 51 (-23.88%)
Mutual labels:  games
SDA
SDA is a rich cross-platform tool for reverse engineering that focused firstly on analysis of computer games. I'm trying to create a mix of the Ghidra, Cheat Engine and x64dbg. My tool will combine static and dynamic analysis of programs. Now SDA is being developed.
Stars: ✭ 98 (+46.27%)
Mutual labels:  games
hexgl
HexGL clone using Filament and TypeScript
Stars: ✭ 19 (-71.64%)
Mutual labels:  games

Phaser 3 Plugin Path Builder

NOTE: I notice there is not much activity on issues and can imagine issues exist. Should you encounter issues, please do submit them and I will look into it! Also any suggestions or feature requests that you would like to see, feel free to submit them via issues. Much appreciated.

A tool to build paths for Pathfollowers and path tweens. Draw and edit Lines, Bezier Curves, Splines and Ellipses during runtime and export them to Phaser. Demo.

Description

  • Draw your path in-game.
  • Pause, resume and explore your scene while drawing paths.
  • Export created path to JSON.
  • Import existing paths from JSON.
  • Load path into Phaser and create awesome animations.
  • 90% Phaser API code.

Usage

  1. Grab the PathBuilder.js or PathBuilder.min.js file inside the dist folder.

  2. Load it in Phaser.

function preload ()
{
    this.load.plugin({key:'PathBuilder', url:"<pathtoplugin>/PathBuilder.js",mapping:'PathBuilder'});
    //or if using minified:
    //this.load.plugin({key:'PathBuilder.min', url:"<pathtoplugin>/PathBuilder.min.js",mapping:'PathBuilder'});
}
  • UI:

    • Controls:

      • Use left mouse to draw.
      • Zoom and move trough scene using middle mouse and mousewheel.
      • Use right mouse to select different curves.
    • Buttons:

      • Undo : Undo the previous path draw.
      • Clear : Clear the entire path.
      • Draw : Enter draw mode.
      • Hide : Hide Plugin.
      • Show : Show Plugin.
      • Pause : Pause main scene.
      • Resume : Resume main scene.
      • Reset view : Reset the camera.
      • Snap : Snap mouse to a fixed grid.
      • Import : Import existing path (JSON).
      • Export : Save the current path as JSON file.

Having questions or problems with usage, suggest a feature? Please submit an Issue.

Requirements:

  • Phaser 3, latest recommended to guarantee matching API.
  • Mouse with middle mouse button if you want to explore A scene.
  • Chrome browser recommended.

Dev notes

Run npm install and then npm run build to build the plugin. Use npm run dev to run webpack-dev-server on port 8000.

There is an existing ES5 branch, but it is no longer maintained since v.1.6.1:

https://github.com/samid737/phaser3-plugin-pathbuilder/tree/ES5

Contributions, optimizations, suggestions are very welcome. All changes are found in the Changelog;

Phaser 3.

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].