load drone.js
This commit is contained in:
parent
fa03eb6ccd
commit
a8f0d0bdf9
7 changed files with 159 additions and 152 deletions
|
@ -104,7 +104,7 @@ var verbose = verbose || false;
|
||||||
// as dependencies by myMiniGame.js and do not need to be loaded via js reload
|
// as dependencies by myMiniGame.js and do not need to be loaded via js reload
|
||||||
//
|
//
|
||||||
for (var i = 0;i < jsFiles.length; i++){
|
for (var i = 0;i < jsFiles.length; i++){
|
||||||
load(_canonize(jsFiles[i]));
|
load(_canonize(jsFiles[i]),true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
load(__folder + "drone.js");
|
||||||
//
|
//
|
||||||
// a castle is just a big wide fort with 4 taller forts at each corner
|
// a castle is just a big wide fort with 4 taller forts at each corner
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
load(__folder + "drone.js");
|
||||||
//
|
//
|
||||||
// need to use the drone module to create buildings easily
|
// need to use the drone module to create buildings easily
|
||||||
// it can be done using calls to putBlock(), putSign(), getPlayerPos() and getMousePos()
|
// it can be done using calls to putBlock(), putSign(), getPlayerPos() and getMousePos()
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
load(__folder + "drone.js")
|
||||||
//
|
//
|
||||||
// Create a floor of colored tiles some of which emit light.
|
// Create a floor of colored tiles some of which emit light.
|
||||||
// The tiles change color every second creating a strobe-lit dance-floor.
|
// The tiles change color every second creating a strobe-lit dance-floor.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
load(__folder + "drone.js");
|
||||||
//
|
//
|
||||||
// constructs a medieval fort
|
// constructs a medieval fort
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
load(__folder + "drone.js");
|
||||||
|
|
||||||
Drone.extend('sphere', function(block,radius)
|
Drone.extend('sphere', function(block,radius)
|
||||||
{
|
{
|
||||||
var lastRadius = radius;
|
var lastRadius = radius;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
load(__folder + "drone.js")
|
||||||
//
|
//
|
||||||
// constructs a mayan temple
|
// constructs a mayan temple
|
||||||
//
|
//
|
||||||
|
|
Reference in a new issue