Log In  
Follow
Loque

Hello everyone!

I have an idea for a roguelike dungeon game and I'm trying to flesh out ideas for map generation. Unlike a lot of roguelikes where the entire map is procedurally generated per floor, I wanted to create a set of rooms that are selected from as you move through the game. Each room would essentially be a pre-generated layout, but randomly chosen as the player passes through a new door (think tabletop games like Betrayal with room tiles.) The edge of map space would be like your deck of room tiles. As you move, you flip a new tile onto the board, building the map as you go.

My plan was to design each room at the edges of the map space, and then sort of copy and paste them into the center of the map space as needed. Something like the diagram below:

0--2--4--1--?

the player would start in the room (0) and as they moved through the door, the next room (1 through 4) would be selected from the list of rooms and added in line for the player to enter. Basically, I'm just trying to figure out the best way to store a room (maybe as an array or string) and redraw it in a different location on the map.

[ Continue Reading.. ]

8 comments



Cart #bitdefender_alpha1-0 | 2020-12-12 | Code ▽ | Embed ▽ | No License
6

Bit Defender: The Game puts you at the controls of your PC's very own antivirus software. Your ship, The Bit Defender, patrols your computer's system data, blasting away any viruses, malware, or other nefarious computer invaders that it detects. But be careful, if the Bit Defender comes into direct contact with too many of these malicious files, it could spell disaster for your computer system!

I've always been a big fan of old arcade shooters, Galaga, Space Invaders, Xevious, etc. I decided that my first game would be in the same vein. Hopefully the bit defender company won't get too mad that I used them as my inspiration lol. I've been coding it for about a week or two now, but this is my first official alpha release. The game is playable, albeit simplified for now. I have a working title screen, working gameplay, sound effects, enemies, and scorekeeping. Much more will be added as I continue to better my LUA skills. Stay tuned for updates!

[ Continue Reading.. ]

6
2 comments