Thinking About Mob Spawning In A Open World - 22nd April 2021 - Development Notes
Was away from the computer for most of the day, so not too much in 'tasks finished' to report, was more of a planning day, thinking about how I could tackle spawning Mobs in a open world.
My plan is to use colliders to split the map into Zones, and then have even smaller Spawner colliders as sub-zones. These will hold the information on what to spawn, where, and how many. The red areas in the image above are the Zones, these spawn Mobs at a constant rate around the player while the player is inside of them. The white areas are the Spawners, these will spawn Mobs in much higher numbers faster but only when triggered.
To trigger the Spawners, I think it'll work like this;
- I have two circles around the player, the Spawn Trigger and the Despawn Trigger.
- The Spawn Trigger's center will be a little ahead of the player.
- The Despawn Trigger's center will be further still and large enough to contain both the player and Spawn trigger.
- The Spawners will tirgger when they overlap with the Spawn Trigger.
- They will stop spawning when they are out of the Spawn Trigger.
Mobs will despawn if they are outside of the Despawn Trigger circle. Mobs spawned from a Spawner will despawn at a significantly faster rate than mobs spawned by Zones.
The aim of all this will to try to not have too many Mobs active when they aren't in sight, but to still spawn enough where they player is going to be, before they get there. I'll report on how it turns out once I start the coding.
21th April 2021 Development Notes:
- Defined Zones and Spawner Colidders for Demo Area
- Planning out upgrades to spawner system.
Future Task:
- Start to implement new Mob spawner systems.
- We are having a talk and review about where the game is tomorrow, so that's going to effect what we will be prioritizing.
Get Days With Dino
Days With Dino
Play an active ragdoll T-Rex, through 3 stages, as you hunt and explore a tropical island.
Status | Released |
Author | BirdmaskStudio |
Genre | Adventure |
Tags | 3D, Casual, demo, Dinosaurs, gamepad, Low-poly, Open World, Physics, ragdoll, Singleplayer |
More posts
- Patch 1.25 - Quality SettingsDec 21, 2021
- Pre-Release 2 Week Games Sale!Aug 22, 2021
- Release Date + New Demo, Trailer & Press Kit!Aug 16, 2021
- Archiving The Early Alpha Store PageAug 15, 2021
- Visuals, Sounds and New Controls - 20th JuneJun 20, 2021
- Cavemen Waddling - 25th MayMay 25, 2021
- T-Rex Vs Buffalos! - 22nd MayMay 22, 2021
- Wondering Buffalo AI - 21st MayMay 21, 2021
- Game State Manager and Main Level Objectives - 17th May 2021 - Development No...May 17, 2021
- Objectives System - 13th May 2021 - Development NotesMay 13, 2021
Leave a comment
Log in with itch.io to leave a comment.