Snow fullscreen effect implemented

This commit is contained in:
Mal
2024-12-08 16:53:56 +01:00
parent 4bf46d99fd
commit 4b85a314c4
13 changed files with 250 additions and 2 deletions

View File

@@ -71,7 +71,13 @@ export class Game
this.architecture.draw(this.context, this.camera);
this.mrCroc.draw(this.context, this.camera);
this.gisela.draw(this.context, this.camera);
this.userInterface.draw(this.context);
for (const effect of this.level.fullscreenEffects) {
effect.update(timestamp);
effect.render(this.context);
}
this.userInterface.draw(this.context);
this.lastRendered = timestamp;
}