feat: Add rabbit entity with dynamic movement and sprite rendering

This commit is contained in:
Kacper Kostka (aider)
2025-04-05 17:20:54 +02:00
parent f9cb363b37
commit f1a18f9168
6 changed files with 307 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ function updatePhysics(timestamp) {
updatePhysicsObjects();
}
// Update entities
if (typeof updateEntities === 'function') {
updateEntities();
}
// Get visible chunks
const visibleChunks = getVisibleChunks();