Saltar la navegación

22 the Items Say

//crete items
var star =Scene.getItem("");
star.say ('I´m a star');
//import an own item
var roster=Scene.getItem("");

star.setPosition(0,5,0);
roster.setPosition(0,5,0);
star.setScale(0.001);

var goose =Scene.getItem("");
var star2 =Scene.getItem("");

star2.say ('I´m a goose');
star2.setPosition(2,5,0);
goose.setPosition(2,5,0);
star2.setScale(0.001);