Rooms
Finally getting somewhere I’m happy with on this one! Rooms are loaded from a text file and can be switched between during gameplay, the idea is finally taking some form! Every room is based on a prototype shape, each rooms tileset is randomly generated. The idea is that all the things that aren’t that important can be randomly generated, and I can make the content with fairly broad statements. For example, the three rooms I have at the moment are created from the following text file:
begin name = test1 proto = test east = test2 endbegin name = test2 proto = test west = test1 north = test3 endbegin name = test3 proto = test south = test2 end
They’re all currently based off the same “prototype” room (so they share the same shape) but there will be more prototype rooms. They will of course have more things in them, for example, chairs, bookshelves, NPCs. NPCs that are vital to the plot will be explicitly added via text files but I don’t see any harm in having a couple wandering about.
It is a bit funny playing as a different character sprite each time, since the player’s sprite is randomly generated like the NPCs. It does in a way make me want to implement some sort of A Scanner Darkly plot with the whole concept of “scramble suits”, but I don’t know how that will fit in with the plot….
