Update 2014-08-24T01:25:47.397Z

This commit is contained in:
Riley Shaw 2014-08-23 18:25:47 -07:00
parent 427d15e442
commit 746eab8da3
2 changed files with 12 additions and 13 deletions

View File

@ -129,22 +129,20 @@ terra.creatureFactory.register({
reproduceLv: 0.65 reproduceLv: 0.65
}); });
terra.creatureFactory.register({ creatureFactory.register({
type: 'wimp', type: 'wimp',
color: [0, 255, 255], color: [0, 255, 255],
size: 20,
maxEnergy: 50,
moveLv: 0,
initialEnergy: 10
});
terra.creatureFactory.register({
type: 'bully',
color: [241, 196, 15],
size: 30,
maxEnergy: 50, maxEnergy: 50,
initialEnergy: 10, initialEnergy: 10,
moveLv: 0, size: 20
});
creatureFactory.register({
type: 'bully',
color: [241, 196, 15],
maxEnergy: 50,
initialEnergy: 15,
reproduceLv: 0.6,
sustainability: 3 sustainability: 3
}); });
@ -240,6 +238,7 @@ paTerrarium.animate();</code></pre>
<p></p> <p></p>
<ul> <ul>
<p>Percentage of a creature's max energy below which it will stop moving (used in the default <a data-scroll href="#queue">queue</a> method).</p> <p>Percentage of a creature's max energy below which it will stop moving (used in the default <a data-scroll href="#queue">queue</a> method).</p>
<li>Default: 0</li>
<li>Range: [0, 1]</li> <li>Range: [0, 1]</li>
</ul> </ul>
</li> </li>

2
terra.demo.min.js vendored

File diff suppressed because one or more lines are too long