14 October 2023: Added support for multiple house variants.
Let me remind you that although the map is generated automatically, the houses still need to be made manually. Fortunately, we have a 2D editor, and I can very quickly make a house from ready-made elements.
To support multiple houses, the map generator had to be heavily modified.
Some technical notes (if you are interested, write comments, I will write more such notes):
As I said before, the goal of creating TrappedTogether is not only to make a cool game. There are a lot of cool games, and I have no illusions that with my budget and not a lot of free time I can make something very outstanding.
My second goal is to practice programming. Yes, I am a programmer with more than 15 years of experience, but I still have something to improve. In particular, the program architecture. Making a clear and understandable architecture so that a new person can look at the code and understand everything is a talent.
And usually not much time is allocated to architecture.
The first version of the application is usually quite simple. But then new functionality is added, and the application inside turns into some kind of multi-headed monster, when the developer himself begins to get confused about what is what. Moreover, this is not at all visible to an external observer.
And it’s very good when at this time the developer and managers have time for refactoring - in order to make something clear and understandable from a multi-headed monster.
This is what I wanted to practice doing TrappedTogether.
From the very beginning, I promised myself that I would take my time and devote more time to architecture rather than developing new functionality.
And the automatic generation of maps is just such a case.
I've spent a lot of time rewriting the code, and I'm afraid I'll have to spend even more.
Let's continue.
So far I have drawn three different houses. But I think we need a lot more options. So far I have made square houses, and I think that was a mistake, it’s time to make houses of a more complex shape, so that you could at least somehow orientate yourself from the outside.