# Diagonal tiles consensus?

**URL:** <https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218>\
**Category:** The Lab\
**Created:** [May 31, 2019, 7:31pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218 "2019-05-31T19:31:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [May 31, 2019, 7:31pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/1 "2019-05-31T19:31:21Z")

</div>

Hi guys! I’ve been tweaking the move\_cost code to account for the holed rotated vehicles ( I know Kevin wants to cover the holes with parts but man… i tried 😑 ).  
Anyways, so far diagonal tiles in general aren’t connected at all, should it be kept that way?

Consider classic zombie scenario :

![blockddoor](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/7/77ed5dc423a7373c6b9ac47b1f205d6e9091b9a9.png)  
Our zombie friend can easily get in the room moving SW without much problem even though it might look like it shouldn’t.  
Should the drawer completely block the door, be an obstacle or just be ignored?  
What if it is a wall? Why are walls not diagonally connected .\_. ?

---

<div class="post-metadata">

**Author:** ![Estranged](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Post date:** [May 31, 2019, 8:13pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/2 "2019-05-31T20:13:30Z")

</div>

I say with the drawers you can move as I see them as chest height, so you can climb over them.

Something like a bookcase or fridge on the other hand, no

---

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [May 31, 2019, 8:43pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/3 "2019-05-31T20:43:27Z")

</div>

The game calls it a “dresser” ( had to check ha), I don’t know the difference 🤷‍♂️  
In any case it’s coded to block movement, if it where chest height it would slow you down like tables and chairs do.  
There’s no in-game info on furniture size but there’s some code somewhere handling height and some “tile density” thing ( I think) used to manage coverage and other mysterious stuff but not for movement.

What’s the tiles size anyway?

---

<div class="post-metadata">

**Author:** ![Estranged](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Post date:** [May 31, 2019, 8:47pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/4 "2019-05-31T20:47:56Z")

</div>

Same thing aint they? Someone will tell us the difference soon.

I’m saying chest height as you can see over drawers (dressers) in the game where a bookcase blocks vision.

---

<div class="post-metadata">

**Author:** ![Estranged](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Post date:** [May 31, 2019, 8:55pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/5 "2019-05-31T20:55:22Z")

</div>

Aha!

Some dressers have mirrors on them, some are just drawers. Game description has no mention of mirrors or haints at it with the ingredients!

But that’s getting away from your original question. To which I say, no diagonal movement if the objects wouldn’t ally the room

---

<div class="post-metadata">

**Author:** ![harison86](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/harison86/32/10005_2.png) [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Post date:** [May 31, 2019, 9:18pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/6 "2019-05-31T21:18:07Z")

</div>

At the very least a movement penalty should be applied. Walking around a table out in the open is easier than squeezing between a doorframe and said table.  
With bulky enough items like a fridge, bookcase, or particularly large dresser, movement past the doorway should be impossible. Like a makeshift barricade. You should be able to shove furniture _up to_ but not _into_ a doorway in order to barricade it.

---

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [May 31, 2019, 10:20pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/7 "2019-05-31T22:20:42Z")

</div>

Case is not even a wall will block movement or light. Diagonal tiles aren’t considered adjacent, but in theory all neighboring tiles should be at the same distance… which I think is weird.

Dresser’s json says it’s transparent and blocks movement, so how it looks like is pretty much to our imagination 🙃

Rumor says that lighting is being reworked so I’m not touching that for now.

It’s kind of a sensible topic for walls since diagonal stuff looks off and tweaking the graphics to appear connected is probably troublesome. But having a working furniture barricade seems fun to have.

---

<div class="post-metadata">

**Author:** ![Estranged](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Post date:** [May 31, 2019, 10:57pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/8 "2019-05-31T22:57:26Z")

</div>

That’s why I like the ascii, or whatever it is, style. The visuals are based on your imagination.

With the door example. would a piece of furniture be up against the door frame if on an adjacent tile.  
I’ve just thought that maybe a doors tile area includes room for the door to swing open?

---

<div class="post-metadata">

**Author:** ![Ragno](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ragno/32/5935_2.png) [@Ragno](https://discourse.cataclysmdda.org/u/Ragno)\
**Post date:** [May 31, 2019, 11:23pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/9 "2019-05-31T23:23:02Z")

</div>

IMO, if it blocks your view, block the door, if it doesnt then just an obstacle

---

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [June 1, 2019, 12:55am UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/10 "2019-06-01T00:55:29Z")

</div>

> [@Estranged](#):
>
> I’ve just thought that maybe a doors tile area includes room for the door to swing open?

hmmm that’s a good point…  
Maybe furniture should be allowed IN the door’s tile, or window or whatever… it’ll still look weird somewhat but make sense, and a wall in front of a door is like some very awkward column haha.  
It’s likely harder to code though.

---

<div class="post-metadata">

**Author:** ![ecchi\_squid](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ecchi_squid/32/6386_2.png) [@ecchi\_squid](https://discourse.cataclysmdda.org/u/ecchi_squid)\
**Post date:** [June 1, 2019, 9:22am UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/11 "2019-06-01T09:22:59Z")

</div>

The problem seems to be an issue of perspective (identifying tiles is easier when they are viewed from a top down 45degree angle or straight top down) shape/length (Diagonal objects would make the overall size different, and harder to identify) as well as filler (adding additional tiles to make up for diagonals in vehicles, which adds to the overall area of the vehicle)  
I don’t see this having a cure-all for it. We’re playing a game based on squares. Either you allow diagonal travel, or don’t. Personally, I like diagonal travel more than I’d like the alternative.

---

<div class="post-metadata">

**Author:** ![Estranged](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@Estranged](https://discourse.cataclysmdda.org/u/Estranged)\
**Post date:** [June 1, 2019, 9:33am UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/12 "2019-06-01T09:33:06Z")

</div>

It’s not getting rid of diagonal movement, it’s being able to diagonally move between two objects in the game when in real life you wouldn’t be able to without at least moving an object first.

Something like that, I need caffeine…

---

<div class="post-metadata">

**Author:** ![crazykiddeath](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/crazykiddeath/32/5709_2.png) [@crazykiddeath](https://discourse.cataclysmdda.org/u/crazykiddeath)\
**Post date:** [June 1, 2019, 12:03pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/13 "2019-06-01T12:03:09Z")

</div>

From a vehicle building prespective It might be nice not being able to move through diagonal spaces, I end up having to add 2 tiles width and 2 tiles length to a lot of vehicles I build since double thick walls are required to be protected when travelling/parking on a diagonal.  
On the other hand I’d probably still have to add an extra tile in width to be able to move through a vehicle on a diagonal if it changed so it might not relly help all that much, it could also mess up a lot of generated buildings since they sometimes end up with weird door placement. You’d also have to change how some other mechanics work, like digging through walls and such.  
It’s always felt a bit unintuative but you get used to it I guess.

---

<div class="post-metadata">

**Author:** ![crazykiddeath](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/crazykiddeath/32/5709_2.png) [@crazykiddeath](https://discourse.cataclysmdda.org/u/crazykiddeath)\
**Post date:** [June 1, 2019, 5:56pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/14 "2019-06-01T17:56:33Z")

</div>

I spotted a good example:

 ![PNG](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/c/c2340d95b5e890074965f7374a48ccbc92ac761a.jpeg)

---

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [June 1, 2019, 7:38pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/15 "2019-06-01T19:38:46Z")

</div>

That’s some weird door! heh in any case I’ll PR the cars stuff first and work on this later.  
Don’t worry about the width! it behaves as it should and vehicles are handled specially to be consistent with their design. Still need to work in lighting and ranged attacks.

---

<div class="post-metadata">

**Author:** ![crazykiddeath](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/crazykiddeath/32/5709_2.png) [@crazykiddeath](https://discourse.cataclysmdda.org/u/crazykiddeath)\
**Post date:** [June 1, 2019, 7:45pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/16 "2019-06-01T19:45:05Z")

</div>

Like I said, it would be nice. Being able to do a nice spacey 5 tile wide vehicle without risking being dragged out by a grabber while driving would be really good.

---

<div class="post-metadata">

**Author:** ![ecchi\_squid](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ecchi_squid/32/6386_2.png) [@ecchi\_squid](https://discourse.cataclysmdda.org/u/ecchi_squid)\
**Post date:** [June 1, 2019, 10:06pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/17 "2019-06-01T22:06:08Z")

</div>

As far as that door placement wouldn’t it be possible to easily change it so you do a wall check on the x and y axis before it places? Why hasn’t this been done yet?

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [June 1, 2019, 11:54pm UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/18 "2019-06-01T23:54:27Z")

</div>

There’s no difference between diagonal and orthoganal movement (except distance travelled if circular distances are on).

That’s not up for discussion.

The tiles are representative of the contents, they aren’t _exact_ depictions of the contents. In other words, the world isn’t made up of cubes that are either totally empty or totally full.

---

<div class="post-metadata">

**Author:** ![lscruz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lscruz/32/3774_2.png) [@lscruz](https://discourse.cataclysmdda.org/u/lscruz)\
**Post date:** [June 2, 2019, 12:34am UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/19 "2019-06-02T00:34:59Z")

</div>

> [@ecchi\_squid](#):
>
> As far as that door placement wouldn’t it be possible to easily change it so you do a wall check on the x and y axis before it places? Why hasn’t this been done yet?

I have no idea how that’s generated lol, I guess it’s doable… maybe it’s not that likely to happen for anyone to care.

> [@kevin.granade](#):
>
> There’s no difference between diagonal and orthoganal movement (except distance travelled if circular distances are on).
> 
> That’s not up for discussion.
> 
> The tiles are representative of the contents, they aren’t _exact_ depictions of the contents. In other words, the world isn’t made up of cubes that are either totally empty or totally full.

Exactly! because they aren’t is why I’m discussing it. I’m not saying movements should be different, what I say is, if they aren’t why content (ie. terrain, walls, furniture,etc.) is connected orthogonally but not diagonally and maybe it should… totally forgot about circular distances btw.

Pretty much because it’s trivially done with the checks i’m adding honestly.

---

<div class="post-metadata">

**Author:** ![ecchi\_squid](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ecchi_squid/32/6386_2.png) [@ecchi\_squid](https://discourse.cataclysmdda.org/u/ecchi_squid)\
**Post date:** [June 2, 2019, 12:43am UTC](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218/20 "2019-06-02T00:43:33Z")

</div>

Well, while his statement works for things like walls, doesn’t exactly explain why zombies ‘teleport’ inside of my diagonal vehicle. Probably would make sense to have certain places impassable diagonally like vehicles.

[Next page](https://discourse.cataclysmdda.org/t/diagonal-tiles-consensus/20218.md?page=2)
