optimizations, NPC movement fixes again
This commit is contained in:
parent
e584361465
commit
1e735c2d3c
3 changed files with 25 additions and 21 deletions
2
game.js
2
game.js
|
@ -64,7 +64,7 @@ class Game extends GameBasic {
|
|||
let that = this;
|
||||
that.entities = [];
|
||||
|
||||
for (let i = 0; i < 10; i++) {
|
||||
for (let i = 0; i < 20; i++) {
|
||||
that.entities.push(new NPC())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue