03-Nov-2024, 21:50
(This post was last modified: 03-Nov-2024, 22:32 by SweptThrone.)
Week of October 28, 2024
Double-Roofed Houses
![[Image: tofmedia15.png]](https://tof.sweptthr.one/media/tofmedia15.png)
This week, I finished the basic construction of houses, with both one roof and two.
This took longer than expected because I was trying to run a check against a Y-coordinate when it should've been an X-coordinate. Oops! As far as I know, I've written the house-generation code in a way that it should properly support an infinite range of house widths. Currently, the width of houses is limited between three and ten, but it should be able to make houses of any width. I also spent a bit of time organizing and cleaning up what I've written so far to make it easier to do things in the future. Before this week, I used a Structure class to create houses, but this week I changed that to a House class that derives from the Structure class. This led me down a short web search that resulting in me reading about how inheritance is apparently not normally the best thing to use in game development, which was definitely an interesting thing to think about.
The above image showcases three variations of houses, each of which have been procedurally-generated. It should be obvious that all textures are placeholder programmer art and are not final.
Double-Roofed Houses
![[Image: tofmedia15.png]](https://tof.sweptthr.one/media/tofmedia15.png)
This week, I finished the basic construction of houses, with both one roof and two.
This took longer than expected because I was trying to run a check against a Y-coordinate when it should've been an X-coordinate. Oops! As far as I know, I've written the house-generation code in a way that it should properly support an infinite range of house widths. Currently, the width of houses is limited between three and ten, but it should be able to make houses of any width. I also spent a bit of time organizing and cleaning up what I've written so far to make it easier to do things in the future. Before this week, I used a Structure class to create houses, but this week I changed that to a House class that derives from the Structure class. This led me down a short web search that resulting in me reading about how inheritance is apparently not normally the best thing to use in game development, which was definitely an interesting thing to think about.
The above image showcases three variations of houses, each of which have been procedurally-generated. It should be obvious that all textures are placeholder programmer art and are not final.
~SweptThrone •.-