Adding some beter AI.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user