nsmryan / RustRoguelike

This Rust Roguelike is a Roguelike written in Rust.
17 stars 3 forks source link

Change state by passing turn #413

Closed MicroChasm closed 2 years ago

MicroChasm commented 2 years ago

Currently, you can only change your state by moving. You should be able to change your state by passing your turn with the new state active.

nsmryan commented 2 years ago

There are two different concepts here: stance and move mode. Pressing shift or ctrl set you move mode to run/sneak/walk. Moving with a particular move mode sets your stance: Crouch/Standing/Running.

It is supposed to be the case that setting your move mode to run or walk when crouching, then pass your turn, you stand up.

I can see how this is not really intuitive though.

nsmryan commented 2 years ago

Try this again and see if it is what you expect.

MicroChasm commented 2 years ago

Currently everything works, as far as I can see, except passing a turn into sneak mode. It should be that if you are currently in walking or running mode, you should be able to hold ctrl and press 5 to pass your turn and also switch to sneak mode.

nsmryan commented 2 years ago

The sneak+pass turn problem is tracked in https://github.com/nsmryan/RustRoguelike/issues/455, so I think we can close this issue.