で開発しよう♪

画面右上のログインボタンをクリック







tm.main(function() {
var app = tm.app.CanvasApp("#world");
app.resize(465, 465);
app.fitWindow();
app.background = "rgba(0, 0, 0, 0.1)";
var star = tm.app.StarShape(32, 32);
app.currentScene.addChild(star);
app.currentScene.update = function() {
if (app.pointing.getPointing()) {
star.x = app.pointing.x;
star.y = app.pointing.y;
star.rotation += 15;
}
}
app.run();
});
