Adding some beter AI.

This commit is contained in:
2021-09-26 12:43:14 -07:00
parent ef021aa200
commit 7740bd9930
6 changed files with 99 additions and 92 deletions

View File

@ -27,9 +27,11 @@ class TestScene extends Scene {
this.shader.use();
this.shader.setCamera(this.camera);
this.shader.setPosition(0,0,0, 0,this.game.time.current,0);
this.shader.setTexture(this.texture);
this.quad.draw();
for(let i = 0; i < 3000; i++) {
this.shader.setPosition(0,0,0, 0,this.game.time.current + (i*0.0001),0);
this.quad.draw();
}
}
dispose() {