0.4.0 • Published 8 years ago

superpowers-game-ftween-plugin v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Superpowers Game fTween plugin

Build Status

Exposes the fTween and FTWEEN namespaces to the Typescript API of the Superpowers Game system of Superpowers, the extensible HTML5 2D+3D game engine.

FTWEEN is the ftween.js library, a fork of the popular tween.js library.

fTween is a nice wrapper (with mostly the fTween.Tween class) around it to make things a lot easier to use in your game code.

Just so that you don't get confused, be aware that the tweenjs plugin (by SparklinLabs, Superpowers' devs) exposes the TWEEN module (the original tween.js) and the Sup.Tween actor component.

Documentation

http://florentpoujol.github.io/superpowers-game-ftween-plugin

You can also access it offline in Superpowers' client with the Plugins documentation plugin, or find it directly in the plugin's public/docs folder.

Installation

Download the latest release, unzip it, rename the folder to ftween, move it inside app/systems/supGame/plugins/florentpoujol/ then restart your server.

Advanced:

Get it via npm:

cd app/systems/supGame/plugins
npm install superpowers-game-ftween-plugin

The name of the vendors or plugins in the app/systems/supGame/plugins/ folder don't matter.
So you can leave the plugin path as node_modules/superpowers-game-ftween-plugin.