Suit Guy Infinity & Editor
Suit Guy’s level generation code finally got the needed overhaul and is now capable of generating random levels and rooms based on templates generated from the RandEditor. Suit’s level system is based on a grid in which you can place rooms (randomly) with a specific layout; vertical, horizontal or box layout and connects them accordingly. Because each room takes up 1, 2 or 3 spaces in the grid it’s easy to match specific layouts to specific rooms. Here’s a sample of what a level may look like:
You can see that each level is uniquely in shape, corridors and layouts and once a level is generated the room generator takes over and generates rooms based on a randomly picked templates. At this point the generator generates items within the rooms, such as plants, monsters, backgrounds, etc.
The goal is to eventually support random picked quests or puzzles for each room so you can progress to the next in order to finish the level and move on to the next.
Suit Guy’s editor, which previously were included within the game itself, has been re-written as a native OSX Cocoa app and features basic tile placement, object placement and will eventually support item template placement (one in X spawn X item). Here’s a side by side comparison of a room template and the room in game room:
This is all for this weeks update. Not much images or fancy graphics. Just a whole lotta code 🙂