1 answer ·
asked December 31, 2017 7:35pm
· Lesson: Understanding Level Design · Course: Developing a Tower Defense Game
I know we can move the modular pieces around the map to create the level. But would it be possible to use the same pieces and have the computer generate the level for us? Like a random map generation?
Yes you can generate levels randomly, but depending on how random will determine how complex your system will be. If you just want to randomly place a few platforms down in specific areas it might be easier. Some areas could hold specific platforms/items such as corners having L shaped platforms and bigger areas having larger platforms. You'd start off with a blank environment and have a script that randomly places these objects at the start of the game based off specific groups of platforms/items. Could be a fun topic to explore in the future.