DEVLOG - 2023-04-08
MEGASTRUCTURES » Devlog
This week, mostly in the Thursday stream we focused on the last details of prototype 1:
- In the days before the stream I mainly focused on getting the build configurations right to be able to extend them later and fixed issues with GCC (which have some missing functions from C++23);
- While streaming we added rules like characters cannot move in positions occupied by other characters, outside the area or in walls.
- We also started adding behavior to NPCs just to check that it’s possible, first with one doing random behaviors.
- Then I experimented with using a coroutine as part of that behavior. But like I figured out when making Hard Glitch, the behavior of a character is so dependent on state and coroutines states cannot be serialized (in any language) so it is best to avoid coroutines for behavior OR make sure all the state they are refering to is always not stored in the coroutine. Experimenting with this again also lead to unexpected limitations beccause to maintain the coroutine we need to make the object handling the coroutine non-copyable and we dont really want that… So using a coroutine for behavior doesnt make much sense at this point, except for complex behavior maybe in the future.
We learned a lot that stream and I still have to think about if there is a way to do what I want with this code.
I hope to finish prototype 1 next session but not sure yet. Feel free to join the stream next week! (although it’s very code intensive so maybe not interesting for most of you haha!)
Klaim
MEGASTRUCTURES
Post-cyberpunk roguelike - Play a transhuman exploring gigantic megastructures
Status | Prototype |
Author | Klaim |
Genre | Role Playing, Survival |
Tags | Cyberpunk, lone-survivor, Post-apocalyptic, post-cyberpunk, Roguelike, Roguelite, Singleplayer, Turn-based, Turn-Based Combat |
More posts
- DEVLOG 2024-01-06Jan 06, 2024
- 2023 RetrospectiveJan 03, 2024
- DEVLOG 2023-12-23Dec 23, 2023
- DEVLOG 2023-12-16Dec 15, 2023
- DEVLOG 2023-12-09Dec 09, 2023
- DEVLOG 2023-12-02Dec 02, 2023
- DEVLOG 2023-11-18Nov 18, 2023
- DEVLOG 2023-11-11Nov 11, 2023
- DEVLOG 2023-11-04Nov 04, 2023
- DEVLOG 2023-10-28 : BootstrapOct 27, 2023
Leave a comment
Log in with itch.io to leave a comment.