Commit graph

798 commits

Author SHA1 Message Date
walterhiggins
007d32e369 updated 2013-02-10 19:37:27 +00:00
walterhiggins
26c6fecc8b more comments/docs 2013-02-10 19:36:39 +00:00
walterhiggins
d0857c6835 updated docs 2013-02-10 18:05:19 +00:00
walterhiggins
35443e6734 documentation 2013-02-10 18:05:07 +00:00
walterhiggins
3c178450c4 ensure _scriptcraft.js is first to doc 2013-02-10 18:04:45 +00:00
walterhiggins
c44dd44e66 first 2013-02-10 17:53:08 +00:00
walterhiggins
d6965a43ca changed order of loading .js so that modules primary .js files get loaded before others in same directory 2013-02-10 17:52:37 +00:00
walterhiggins
f3e17b4181 removed unneeded load() calls 2013-02-10 17:51:27 +00:00
walterhiggins
04e1b27e51 rainbow example screenshot 2013-02-10 17:50:54 +00:00
walterhiggins
5830c73df0 Added docs for events module 2013-02-10 13:42:32 +00:00
Walter Higgins
7e8fc91e63 Update README.md 2013-02-09 20:31:36 +00:00
walterhiggins
1a7cd9290b fixed doc link 2013-02-09 20:27:50 +00:00
walterhiggins
37732ccb82 updated docs 2013-02-09 20:22:53 +00:00
walterhiggins
ba5437745f updated docs 2013-02-09 20:22:36 +00:00
walterhiggins
084ed1ebcc updated docs 2013-02-09 19:11:23 +00:00
walterhiggins
c10c469b12 updated documentation 2013-02-09 19:10:07 +00:00
walterhiggins
8106fac4d1 updated docs 2013-02-09 19:09:30 +00:00
walterhiggins
25c2147183 example screenshots for documentation 2013-02-09 19:09:04 +00:00
walterhiggins
84f024d62c box example doc updated 2013-02-09 15:08:20 +00:00
walterhiggins
d9093b1746 new screens 2013-02-09 15:04:14 +00:00
walterhiggins
1a89b87008 adding example screens 2013-02-09 15:02:52 +00:00
walterhiggins
9c31e2d321 adding example screens 2013-02-09 15:02:11 +00:00
walterhiggins
e857e70209 new example images 2013-02-09 15:01:50 +00:00
walterhiggins
756588e27c screenshot showing spiral staircase 2013-02-09 10:27:38 +00:00
walterhiggins
a4eccad4bd Updated docs 2013-02-09 10:24:55 +00:00
walterhiggins
6445ed166d New spiral staircase - to demo use of Drone.PLAYER_STAIRS_FACING 2013-02-09 10:24:15 +00:00
walterhiggins
03ec3a6ae0 Fixed bug - emacs temp files being picked up 2013-02-09 10:23:24 +00:00
walterhiggins
0458f6639d Additional api documentation 2013-02-08 23:22:14 +00:00
walterhiggins
d88729675a fix comment - boxa example 2013-02-08 21:26:55 +00:00
walterhiggins
e494a15afa Generate API doc from source comments 2013-02-08 21:23:15 +00:00
walterhiggins
903c701f6f made world a property and added more documentation 2013-02-07 22:22:52 +00:00
walterhiggins
d916f1d843 no need to pass world param to arch 2013-02-07 22:22:13 +00:00
walterhiggins
66de0f402a no need to pass world param to arc 2013-02-07 22:21:56 +00:00
walterhiggins
b56b4262e8 no need to pass world param to arc 2013-02-07 22:21:41 +00:00
walterhiggins
b7790d1c1c use boxa() method instead of box() for arrays 2013-02-07 22:16:50 +00:00
walterhiggins
ec45b50a60 no need to pass world param 2013-02-07 22:16:30 +00:00
walterhiggins
8924d1943c reorg'd blocks into more logical groups 2013-02-07 22:16:08 +00:00
walterhiggins
32ae5a6da3 first phase of comments update 2013-02-05 20:49:09 +00:00
walterhiggins
9e90d998fa added .js~ and .js# (emacs temp files) to ignore list 2013-02-05 20:48:26 +00:00
walterhiggins
97553d7da4 added default values for chessboard() 2013-02-05 20:47:54 +00:00
Walter Higgins
fe3530788a Merge pull request #53 from AlexBarnes86/master
Add some useful tools for use with the drone
2013-02-05 12:40:13 -08:00
Alex Barnes
756a13d6fc Add some useful tools 2013-02-04 21:48:07 -06:00
walterhiggins
22add98d15 Correct handling of strokeWidth for vertical arcs 2013-02-03 20:19:58 +00:00
walterhiggins
ca821a696a rainbow.js shows an example of how to use the new arc() method 2013-02-03 12:09:45 +00:00
walterhiggins
86fd3c0a28 Reworked arc code - More versatile circles/arcs in horiz and vertical planes 2013-02-03 12:09:05 +00:00
walterhiggins
b34d456427 Fix issue #51 - tab completion reporting incorrect globals 2013-02-02 13:15:32 +00:00
walterhiggins
4a586a115c added hemispheres and blocks ids 2013-02-01 22:14:53 +00:00
walterhiggins
63712518dc optimized sphere and blocktype 2013-01-31 22:51:35 +00:00
Walter Higgins
2392922c01 Merge pull request #49 from freerunnering/patch-1
More efficient box0()
2013-01-30 17:15:18 -08:00
Kyle Howells
7a32a646cc More efficient box0()
Infinitely faster box0() function.
Box has to create every block inside the space specified, however, box0() only builds walls around things so seems sensible that it should do less work.
However, under the old functions way of doing things it did almost twice as much work.
For small objects this isn't noticed very much, however it can have a big impact on performance!

My use case for this was a 500 wide, 70 high and 500 deep iron wall I wanted to act as the city wall. Trying to make this resulted in 2 odd effects. I first made one wall by calling box(42, 250, 70, 1) and laying it out myself. This took a few seconds. Then I decided to save time I would fly to the edge and create it with box0(). box0(42, 500, 70, 500) completely froze minecraft and slowed my computer. It then preceded to take 20 minutes before I decided to give up and close the server.
After restarting it I had a semi complete giant "solid" block. This made me dig into the Drones code.


Getting to the point: with the old way of doing things a GIANT wall takes over 20 minutes to make. this new version takes under 10 seconds.

(explanation not technically needed just wanted to demonstrate it does make a massive difference)
2013-01-31 00:55:41 +00:00