add blocky

This commit is contained in:
James B. Pollack 2016-05-20 16:55:12 -07:00
parent fdb0fa4559
commit 7f89ded241
3 changed files with 9 additions and 3 deletions

View file

@ -93,7 +93,7 @@ var TARGET_BLOCKS_POSITION = {
}
Blocky.prototype = {
debug: true,
debug: false,
playableBlocks: [],
targetBlocks: [],
preload: function(entityID) {

View file

@ -9,7 +9,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var blockyPath = Script.resolvePath('wrapper.js?'+Math.random());
var blockyPath = Script.resolvePath('wrapper.js');
Script.include(blockyPath);
var center = Vec3.sum(Vec3.sum(MyAvatar.position, {
x: 0,

View file

@ -338,6 +338,12 @@
z: -0.0013
});
var blocky = new BlockyGame({
x: 1098.27,
y: 460.43,
z: -66.15
})
print('HOME after creating scripted entities')
},
@ -428,7 +434,7 @@
y: 459.5230,
z: -84.3897
});
print('HOME after creating kinetic entities');
},