Wsl Blog
Cellular Automata

Zach Wilder - 22 Dec 2016

So, every time I get the urge to write a blog post about whatever random bit of code I’m writing - I look at the blog and think: “Hm, this is kinda ugly.” Then, I have to rewrite it until I’m mostly satisfied with how it looks. Recently, I’ve been working on writing a nice little interface for handling menus and other parts of the UI for my roguelike project. Unfortunately, like the layout of this blog, I can’t seem to find a satisfactory ‘look and feel’ - I think I’ve got a good start though. While procrastinating working on that, I’ve spent a lot of time thinking about the map, and my ECS system. At the risk of prematurely optimizing code, it seems like an awful waste of space to make every tile an entity. Most of a tiles properties are simple boolean flags anyways, so why not make tiles just a bitflag and glyph to represent them?
[Read more]

[Click Anywhere To Close]