AreebDurrani / nosferatu-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic JavaScript project template

Gitpod ready-to-code

This is a Phaser Editor 2D v3 project template.

Configuration

  • It includes the latest Phaser v3 runtime (in the lib/ folder).
  • It is coded in JavaScript.
  • It includes a VS Code project configuration (jsconfig.json file) and the type definitions (in the types/ folder).

Run the editor

If you have NodeJS installed, you can run the editor using the editor NPM script, defined in the package.json file.

First you have to install & update the dependencies:

$ npm install
$ npm update

And then you can run the editor:

$ npm run editor

If you are in a remote environment (like the Gitpod.io IDE), then run the editor like this:

$ npm run editor-remote

If you want to see all the editor options, run:

$ npx phasereditor2d-launcher -help

If Phaser Editor 2D Core is globally installed, you can run:

$ PhaserEditor2D -project .

Script Nodes

Script nodes are logic objects. You can add a script node to the scene or a game object, for extending it with custom data and behavior.

This project includes the basic script nodes in the src/script-nodes-basic/ folder. You can add your own script nodes in the src/script-nodes/ folder.

About


Languages

Language:JavaScript 95.4%Language:HTML 4.6%