danprince / midas

🫅 Traditional roguelike where everything you touch turns to gold.
https://danprince.itch.io/midas
2 stars 0 forks source link

Walls / Autotiling #21

Open danprince opened 4 years ago

danprince commented 4 years ago

The walls branch has two versions of autotiled walls. Haven't come up with any styles I'm happy with so just going to park here for now.

Eventually it be good to support this as generic autotiling with tiles that could have height.

image

image

image

image

image

image

danprince commented 4 years ago

When tackling general autotiling later, remember to add an autotile(x0, y0, x1, y1) function, so that the level can be incrementally autotiled if and when a tile gets changed.

danprince commented 4 years ago

There's also a rendering issue that needs to be fixed before walls can work, where they are rendered above the tile layer, but below the objects. They need to be rendered during the object layer.

danprince commented 4 years ago

Sketched another idea where the walls come in on all sides, but it looks obviously wrong with the perspective of the other sprites.

image