Libove Blog

Personal Blog about anything - mostly programming, cooking and random thoughts

https://blog.libove.org/posts/cdd98eb5-a1e7-4bcf-bf34-345ebcf20c44/

Implemented edge flip for corridors. For each cell which only has horizontal or vertical neighbors the edge between two cells is flipped. This works great but there are some edge cases that still need to be handled.

Corridor now has a proper arc. New layout with flipped edges

#gamedev #rust





Interactions

Reply from Libove Blog:

https://blog.libove.org/posts/8f317f9c-9bc0-41cb-bc00-0a3e454781f0/

Turns out, just flipping every cell border edge, if they can be flipped. works perfectly. Resolves all problems and even creates better looking rooms.


(Original Post)

Liked by Coruscateor