unnatural organisms/more community creations

This commit is contained in:
MaxRobinsonTheGreat
2023-04-23 18:56:41 -05:00
parent d77e8c12f6
commit 53118e9340
24 changed files with 177 additions and 49 deletions

View File

@@ -427,6 +427,9 @@ class ControlPanel {
env.reset(true, false);
this.stats_panel.reset();
});
$('#brush-slider').on('input change', function () {
WorldConfig.brush_size = this.value;
});
$('#random-walls').click( function() {
this.env_controller.randomizeWalls();
}.bind(this));
@@ -434,7 +437,7 @@ class ControlPanel {
this.engine.env.clearWalls();
}.bind(this));
$('#clear-editor').click( function() {
this.engine.organism_editor.clear();
this.engine.organism_editor.setDefaultOrg();
this.editor_controller.setEditorPanel();
}.bind(this));
$('#generate-random').click( function() {