# Roguelike map System untiled

Get help using Construct 2

### » Wed Jan 08, 2014 10:05 pm

It's just a unique number for each combination of doors. There are 16 combinations and with the formula you'll get a value from 0 to 15 depending on the exits.

The only thing that matters with this is the same value will be calculated for rooms with the same exits. Which exits doesn't matter as long as they're the same.
B
82
S
26
G
62
Posts: 4,838
Reputation: 45,216

### » Wed Jan 08, 2014 10:30 pm

@R0J0hound

Oh wow, I see it now. All this math is too much for me lol.

Thanks!
B
111
S
37
G
39
Posts: 805
Reputation: 26,552

### » Tue Oct 28, 2014 10:27 pm

@R0J0hound Hi! I really like your code, and I was wondering if there was a way for it to generate a map, but it always includes a certain room in the map (a room that takes you to the next map/generates a new one).
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

### » Wed Mar 09, 2016 10:24 am

@R0J0hound hi how can i create different sizes room in this demo？thank a lot.
like this，the A,C,D,F,G=1*room size,B=3*room sizes，E=4*room sizes
B B C
A B D
E E F
E E G
I tried a number of ways ,but have many issue.
thank a lot.
B
35
S
10
G
2
Posts: 26
Reputation: 3,079

### » Wed Mar 09, 2016 8:24 pm

I guess this is a very late reply, but you could pick a random map sprite and create stairs on that.

@corpvs2
I don't think I fully understand, but this was designed to have each room be the same size (one screen). It make it able to do different size or even L shaped rooms would be a lot harder, and probably require a new approach.
B
82
S
26
G
62
Posts: 4,838
Reputation: 45,216

### » Thu Mar 10, 2016 2:24 pm

thank you R0J0hound,i will try to make it.
B
35
S
10
G
2
Posts: 26
Reputation: 3,079

Previous