Graveyard terrain and background tiles implemented

This commit is contained in:
Mal
2025-05-16 23:08:35 +02:00
parent e97c04ed19
commit fc990c12aa
25 changed files with 504 additions and 50 deletions

View File

@@ -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);
}