====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
script_save_layout [2014/07/22 14:26] trianguloy |
script_save_layout [2014/07/22 14:27] (current) trianguloy |
||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ====== Script code ====== | ====== Script code ====== | ||
| - | <sxh> | + | <sxh javascript> |
| var defvelocity = 0.2;//The default velocity. The bigger, the faster (between (0,1] warning: outside that range it can crash) | var defvelocity = 0.2;//The default velocity. The bigger, the faster (between (0,1] warning: outside that range it can crash) | ||
| var frecuency = 60;//ticks per second [Recommended 60] (set to 0 for fastest possible, in case you have a lot of items) | var frecuency = 60;//ticks per second [Recommended 60] (set to 0 for fastest possible, in case you have a lot of items) | ||