mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Graveyard terrain and background tiles implemented
This commit is contained in:
@@ -69,8 +69,8 @@ export class Game
|
||||
|
||||
this.context.clearRect(0, 0, window.innerWidth, window.innerHeight);
|
||||
this.architecture.draw(this.context, this.camera);
|
||||
this.mrCroc.draw(this.context, this.camera);
|
||||
this.gisela.draw(this.context, this.camera);
|
||||
this.mrCroc.draw(this.context, this.camera);
|
||||
|
||||
for (const effect of this.level.fullscreenEffects) {
|
||||
effect.update(timestamp);
|
||||
@@ -238,9 +238,9 @@ export class Game
|
||||
|
||||
this.isPaused = false;
|
||||
|
||||
for (const effect of this.level.fullscreenEffects) {
|
||||
effect.init();
|
||||
}
|
||||
for (const effect of this.level.fullscreenEffects) {
|
||||
effect.init();
|
||||
}
|
||||
|
||||
window.requestAnimationFrame(loopFunction);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user