Feature: Lectern with spellbook flipping pages

This commit is contained in:
Dejvino
2025-11-20 22:13:13 +01:00
parent a71fd38e9e
commit bb923968e5
4 changed files with 219 additions and 0 deletions
+2
View File
@@ -5,6 +5,7 @@ import { updateScreenEffect } from '../scene/magic-mirror.js'
import { updateCauldron } from '../scene/cauldron.js';
import { updateFire } from '../scene/fireplace.js';
import { updateRats } from '../scene/rat.js';
import { updateLectern } from '../scene/lectern.js';
function updateCamera() {
const globalTime = Date.now() * 0.00003;
@@ -160,6 +161,7 @@ export function animate() {
updateScreenEffect();
updateFire();
updateCauldron();
updateLectern();
updateRats();
// RENDER!