0.0.1-alpha • Published 7 years ago

@scarlett-game-studio/scarlett-framework v0.0.1-alpha

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

Scarlett Framework

Scarlett WebGL Graphics Framework repository

alt tag

Build Status Build status codecov Dependencies Commitizen friendly Semantic-release styled with prettier

typescript node-version

README

This README would normally document whatever steps are necessary to get your application up and running.

What is this repository for?

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

How do I get set up?

  • Install NodeJS (6.x or higher is recommended)
  • Install GruntJS by running "npm install -g grunt-cli" in your computer terminal
  • Open a terminal in the root folder and execute "npm install" for dependency resolution

Optional Setup

  • To activate automatic project build on code change simply run "grunt dev" on the root folder.
  • To change the directory output of the build file, change the 'copyToDirectory' target in Gruntfile.js.

Build & Distribution

  • To create a distribution ES6 file run "grunt dev-concat" (concatenates all source files into one). The ES6 files are located under the './build/' folder.
  • To generate a ES5 file run "grunt dist" to execute babelJS and convert the framework from ES6. The ES5 files are located under the './build-es5/' folder.

Recommended Code Editors

  • Webstorm
  • Visual Studio Code
  • Atom

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

  • All main source code can be found in the /src folder
  • Altough this project can be associated to the Scarlett-Editor, it can be used for standalone development (see /demos folder)

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact