• 0 Posts
  • 54 Comments
Joined 11 months ago
cake
Cake day: August 4th, 2023

help-circle
  • Lets say you use a variable named abcd in your function. And a variable named abcb in a for loop inside the same function. But because reasons you mistakenly use abcd inside that loop and modify the wrong variable, so that your code sometimes doesnt work properly.

    It’s to prevent mistakes like that.

    A similar thing is to use const when the variable is not modified.












  • That’s similar to what i want to make. An open world where every npc and enemy has their own life and you can do anything, even start a settlement and grow it into a kingdom.

    It’s just so much work, and procedural generation takes a lot to not be bland (hand crafting would take a huge team of artists and designers). I’v scaled back the design two times and magnitudes, and it still seems big. (PS It’s just a hobby for me, so don’t expect anything)

    Dwarf fortress is probably the best at it and it took a talented person a long time to get even to this point, not to mention it’s 2d squares.