Skip to content

Diagonal movement, or not? #18

Description

@ericlippert

I just noticed in your algorithm for digging tunnels, you allow digging a tunnel to the corner of a room:

Image

This presents a problem because we don't yet have diagonal movement, so rooms with only entrance/exit tunnels on corners cannot be entered or left.

Some possible solutions:

  1. Fix the tunnel digging algorithm so that it never chooses a room corner as the start/end of a tunnel, or
  2. Update the movement action to allow diagonal movement. If you have a number pad on your keyboard, a good choice is 7 = northwest, 8 = north, and so on. If you don't have a number pad on your keyboard, give it some thought as to what key combinations are comfortable for a player. A common choice is WASD for north, west, south, east and then QEZC for the diagonal directions, but try out different possibilities and see what you think of them. (Remember that if you add a new kind of movement action, the monsters get to choose it too.)
  3. You can choose to do both solutions of course.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions