scarlettgamestudio / scarlett-editor

Scarlett Editor repository
https://scarlett.cothesia.com/
Apache License 2.0
15 stars 1 forks source link
2d-game-engine angularjs game-development game-editor game-engine html5 javascript npm scarlett-editor webgl

alt tag

alt tag

node-version Dependencies styled with prettier

README

What is this repository for?

This repository contains the Scarlett Editor Module and associated libraries. At the moment this software is in Development Stage and not ready for production use.

Which Operative Systems are compatible?

The Scarlett Editor can run in all common Operative Systems including Windows, MacOS and Linux.

Runtime Setup

Development Setup

Link Scarlett Framework

Scarlett Editor depends on the Scarlett Framework. In order to make the editor aware of its location, you need to use symlinks:

  1. $ cd ~/projects/scarlett-framework go into the framework directory
  2. $ npm link create a global link of the framework package
  3. $ cd ~/projects/scarlett-editor go into the editor directory
  4. $ npm link @scarlett-game-studio/scarlett-framework link install the framework

scarlett-editor/node_modules should now have the framework within. Rebuilding the framework with:

$ npm run build:editor or $ npm run build:all and refreshing/restarting the editor should be enough to update the framework version within the editor.

Extra Development Setup

Recommended Code Editors

IntelliJ/Webstorm Users

This project uses the latest Ecma6 Javascript features and therefore if you are using an IDE such as IntelliJ or Webstorm it might detect code errors when using the default settings.

To allow Ecma6 syntax make sure to change the Javascript Version in the settings menu (Settings -> Languages & Frameworks -> Javascript).

Development Hints

Who do I talk to?