Add checkpoint to logojs() and move back to it after finishing logo.
This commit is contained in:
parent
5af256cd55
commit
e7f4a5c99b
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,8 @@ Drone.extend('logojs', function(fg, bg) {
|
||||||
bg = 41;
|
bg = 41;
|
||||||
|
|
||||||
// Draw the sqaure
|
// Draw the sqaure
|
||||||
this.up()
|
this.chkpt('logojs-start')
|
||||||
|
.up()
|
||||||
.box(bg, 100, 100, 1);
|
.box(bg, 100, 100, 1);
|
||||||
|
|
||||||
// Draw the J, starting with the hook
|
// Draw the J, starting with the hook
|
||||||
|
@ -175,6 +176,8 @@ Drone.extend('logojs', function(fg, bg) {
|
||||||
.box(fg, 1, 3, 1)
|
.box(fg, 1, 3, 1)
|
||||||
.right().up()
|
.right().up()
|
||||||
.box(fg);
|
.box(fg);
|
||||||
|
|
||||||
|
this.move('logojs-start')
|
||||||
});
|
});
|
||||||
//
|
//
|
||||||
// Makes a cube of JS logos!
|
// Makes a cube of JS logos!
|
||||||
|
|
Reference in a new issue