Fixed up the map generator so that it's placing entities in non-overlapping tiles and adapting the style for the size. It can also deal with maps that have no rooms better and places the stairs better.
This commit is contained in:
parent
5f1a453fb4
commit
4eaf3c35d6
11 changed files with 55 additions and 45 deletions
|
@ -17,8 +17,8 @@ LevelManager::LevelManager() {
|
|||
|
||||
LevelScaling LevelManager::scale_level() {
|
||||
return {
|
||||
21,
|
||||
21
|
||||
INITIAL_MAP_W + int($current_level * 2),
|
||||
INITIAL_MAP_H + int($current_level * 2)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue