0.1.0 • Published 10 years ago

gajse-filetext v0.1.0

Weekly downloads
3
License
Public Domain
Repository
github
Last release
10 years ago

gajse-filetext

GAJSE Official addon for support Files on the Text interface.

Before gajse-filetext :

var text=new api.ScriptedText(function(){
  var Character=char.getCharacterTalker();
  Character("Say hello to the world!");
});
text.speak();

After gajse-filetext :

/* in the scene file */
var FileText=require("gajse-filetext");
var text=new FileText("hello.js");
text.speak();
/* in the hello.js */
var Character=new api.Character("Character","pink").getCharacterTalker();
Character("Say hello to the world");