idmillington / undum

A client-side framework for narrative hypertext interactive fiction.
https://idmillington.github.com/undum
MIT License
336 stars 80 forks source link

Call SimpleSituation.enter before main content #31

Closed Oreolek closed 10 years ago

Oreolek commented 10 years ago

The enter function is called after the whole situation is already written. I think this is wrong, and here's why.

Any text after the implicit choice menu obliges user to read the choices, then read the text, then scroll up to choose an action. So enter should be called before writing implicit choices.

The next bit may be an author preference and I think we can make an option for that but still. The enter function has a from parameter. It's a great place to look at character qualities, look where he came from and write a response.

I think the dynamic response after the static one is mostly a Western tradition after Inform and parser games. But isn't it more convenient to read the reaction to your actions first and then skip through the static paragraph? So the how player got there goes before what he sees. And the enter function can return this "how" by analysing from parameter.