Skip to content

webcaetano/jinx

Repository files navigation

Imgur

Jinx is an AS3 Pre-compiler, that make AS3 simpler and easy-to-use, but more powerfull with some new features.

Jinx is NPM friendly , for publish and load Jinxs packages (.jinx, .as and .swc). Compiled currently on GulpJS it making easily to create news plugins and features.

Features

  • CommonJS-style require() & modules.exports for load modules from NPM like in nodejs, browserify, webpack.
  • ✔ Open AS3 to NPM.
  • ✔ IDE Free. Work on your favorite text editor.
  • ✔ browser development, with livercompiler and liverload.
  • ✔ Ready to Code. No need to start with [package -> public class -> public funciton].
  • ✔ load or export swc from NPM.
  • ✔ All of as3 but simpler with more.
  • ✔ Open source.

Example :

//as3 vanilla
package {
	import flash.display.Sprite;
	public class Main extends Sprite {
		public function Main() {
			trace('hello world');
		}
	}
} // 8 lines

//jinx
trace('hello world'); // one line 

Require()

Load jinx-packages from npm

// jinx
// npm install jinx-mempanel
var memPanel  = require("jinx-mempanel");
memPanel(); // load a jinx module + swc that show FPS, Memory usage and Number of particles in a panel.

//or just 
require("jinx-mempanel")();

Getting Started

Cloning this repo. This repo is just a jinx boilerplate.

git clone https://github.com/webcaetano/jinx.git
cd jinx
npm install && bower install

Start the development mode.

gulp serve

Create the .swf

gulp

# or 

gulp build

First Jinx Modules

ScreenShots

jinx-console


The MIT License

About

CommonJS-style AS3 Pre-compiler. Make AS3 Much simpler and easy-to-use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published