August 2022 - Week 156 - Treehopper Troubles
Summary
- Treehopper nests
- Networked not scripted
Detail
I charge on with spawning Treehopper nests and the Treehopper behaviour and have everything working by Friday. Then I start looking at periodically spawning Dire Wolves at the edge of the map and hit a stumbling block. The nest spawning is managed by a script but scripts do not run in networked games.
I did intend scripts to run in networked games and I've done part of the work for it. I gave up when I considered what would happen when two clients have progressed the same script to different points. Defining the nest spawning parameters in a template file and triggering it with a flag from script is less risky. In networked games, if any client has the flag set then nests will be spawned.
Adding the wandering Dire Wolves is straightforward, re-using the same mechanism that keeps the deer population up, but with a flag and timing constraint.
For the next week I'll be fixing the Treehopper nest-spawning and updating the mouse controls.
Get Dwerg Saga
Dwerg Saga
Mine out a home for your Dwerg clan, play with friends on a LAN. WIP.
Status | In development |
Author | haikuinteractive |
Genre | Strategy |
Tags | 2D, dwarf-fortress, Massively multiplayer, Multiplayer, Procedural Generation, Real time strategy, Sandbox, tile-based, Top-Down |
Languages | English |
More posts
- Release 0.23.0.3Nov 07, 2023
- Release 0.23Jul 01, 2023
- Release 0.22Feb 15, 2023
- February 2023 - Weeks 165-180 - ContractingFeb 14, 2023
- November 2022 - Week 167 - New LogoNov 12, 2022
- October 2022 - Week 164 - UpdatesOct 23, 2022
- Release 0.21Oct 17, 2022
- October 2022 - Week 163 - HoldingOct 15, 2022
- October 2022 - Week 162 - Game PanelsOct 08, 2022
- October 2022 - Week 161 - Context MenuOct 01, 2022
Leave a comment
Log in with itch.io to leave a comment.