samspade
Member
I'm looking for ideas, or code if anyone feels generous, for level generation. Essentially my game level works like Downwell - long narrow room, no side passages (with enemies). I've been using the following system:
Given this set up, what seems more appropriate?
- Start at top of level. Move down the level a set amount with a random offset and spawn in a platform. Repeat until bottom of level is reached.
- Iterate through platforms and spawn enemies on top of some of them.
- Start at top of level. Move down the level a set amount with a random offset and spawn in a random enemy. Repeat until bottom of level is reached.
Given this set up, what seems more appropriate?
- Design a bunch of 'chunks' which in this case I think would be scrips with a preset spawn in load out with maybe some randomness to it?
- Some type of genetic algorithm?
- Something else?