main
**NPC System** - Created a reusable NPC scene with idle and walking animations. - Added an animated shout effect that can be enabled or disabled for individual NPCs. - Added an InteractionArea to detect when the Player approaches an NPC, preparing for future panic attack triggers. - Configured shout effects to remain visible regardless of Player proximity. **Randomized NPC Spawning** - Added 10 designated NPC spawn points throughout the Library's three floors. - Created an NPCSpawner with configurable minimum and maximum NPC counts (currently 2–10). - NPCs spawn at randomly selected locations each time the Library loads. - Each NPC has a 40% chance of receiving the shout effect. **Bug Fixes** - Fixed NPCs failing to appear because Godot was still initializing the Library scene. - Updated NPC spawning to use deferred node addition and positioning. - Confirmed NPCs now spawn successfully. **Next Steps** - Add randomized appearances using the 12 available NPC sprite sets. - Implement NPC walking and movement behaviours. - Add the smell effect when its animation assets are ready. - Connect NPC proximity detection to the panic attack system.
Languages
GDScript
100%