clear composite each kaboom
This commit is contained in:
parent
94ce67d1b4
commit
4e991857f9
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -45,4 +45,5 @@ function generateWorld(shapes) {
|
|||
let runner = Runner.create();
|
||||
// run the engine
|
||||
Runner.run(runner, engine);
|
||||
Composite.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue