Ammo Orb Spawner System Update
Nightfall Siege » Devlog
In this update, we’ve significantly improved the Ammo Orb Spawner system. The spawner now limits the number of orbs visible in the scene at the same time, ensuring better performance and a cleaner gameplay experience. Inspired by the ZombieSpawner logic, this system adds better control and smoother orb spawning dynamics!
__________________________________________________
Changes:
- Orb Limit Added 🎯
- There is now a configurable limit on how many orbs can appear in the scene simultaneously.
- This allows for better game balance and prevents unnecessary performance overhead.
- Active Orb List 📋
- A list tracks all active orbs in the scene.
- When an orb is collected or expires, it is automatically removed from the list.
- This ensures new orbs only spawn when there’s space, providing a more optimized system.
- Orb Destruction Callback 🔄
- A callback system was added to the Ammo Orb.
- When an orb is destroyed, it notifies the spawner to update the active orb list.
- This synchronization ensures the spawner is always aware of the current orb count.
- Performance Improvements ⚡
- Excessive spawning of orbs has been eliminated.
- The game now runs more efficiently while offering a consistent and predictable player experience.
__________________________________________________
We’d love to hear your thoughts! Drop your feedback in the comments and let us know what you think about this update. Your suggestions help us make the game even better! 🚀
Files
Nightfall Siege Web Setup.zip Play in browser
10 hours ago
Leave a comment
Log in with itch.io to leave a comment.