Coder Social home page Coder Social logo

matsmaker / pixijs-remote-helper Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 0.0 5.73 MB

License: GNU General Public License v3.0

Vue 1.47% HTML 1.75% JavaScript 96.77%
tools pixijs mixins phaser pixi phaserjs developertools developer-tools game-development debugger debugging debugging-tool debug

pixijs-remote-helper's Introduction

Pixijs remote helper

Tools for remote inspecting pixijs application

alt tag

How use

First time need do:

  1. Install ways:
  • Install from npm
npm install -g pixijs-remote-helper
  • Clone this repository
$cd ./pixijs-remote-helper
$npm run build
$npm i -g ../pixijs-remote-helper
  1. Add mixin(./mixin build/main.bundle.js) script to pixijs app page where need debugging

  2. Run app from terminal

$pixihelper
  1. Then open client page on http://localhost:3000/main.html for debuggin

Options:

You can change CLIENT PORT page:

By default it is 3000 port

$POSRT=8080 pixihelper // then open client page on http://localhost:8080/main.html address

Also you can change SOCKET PORT:

By default it is 3010:

  1. Run server sockets on new port
$SOCKET_PORT=3090 pixihelper
  1. Connect mixin on new socket port before add mixin script on page define PIXI_HELPER_PROXY_HOST='http://localhost:3090' then add mixin script on page. OR define in localStorage 'pixiHelperProxyHost' variable then reload page with mixin

For example: you can to run mixin example client use

$npm run mixin:dev

Then open http://localhost:3080/mixin5v.html page with pixijs app

For development start web application

You must have installed node.js then, clone this repo and next:

npm i

// run example pixi.js app
npm run mixin:dev 

// run application
npm run web:dev

// run middle server
npm run server:dev

Then open http://localhost:8080/app.html for open web client and open http://localhost:3080/mixin4v.html or http://localhost:3080/mixin5v.html for open mixin examle.

For development start electron application

You must have installed node.js then, clone this repo and next:

npm i

// run example pixi.js app
npm run mixin:dev 

// run watcher of web client witch is integrated in application
npm run client:dev 

// run electron application
npm run app:dev

Then opened electron app and open http://localhost:3080/mixin4v.html or http://localhost:3080/mixin5v.html for open mixin example.

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.