feat: Add player entity with WASD/space controls and spawn functionality

This commit is contained in:
Kacper Kostka (aider)
2025-04-05 18:03:10 +02:00
parent d86baa8f99
commit db5b49ee7f
6 changed files with 274 additions and 1 deletions

View File

@@ -39,6 +39,18 @@ body {
background-color: #ff9800;
}
#spawn-player-btn {
background-color: #4CAF50;
color: white;
font-weight: bold;
padding: 10px 15px;
margin-left: 10px;
}
#spawn-player-btn:hover {
background-color: #45a049;
}
.navigation {
display: flex;
}