Two things I've had trouble implementing
Posted: Fri Jun 03, 2005 7:12 am
Hi. I'm a sort of newcomer to Hugo. Last summer I began work on two games (one a short piece for the competition, the other a large cave-crawl) but stopped working on each when I encountered something I couldn't figure out how to implement in the system. Now that I've got a summer coming up I thought I'd have another go at them, so any help would be appreciated:
1) In the first game, the order that a player moves after entering Room X is the solution to a puzzle. So, I'd like to be able to say that if Player Y is in Room X and then moves "N, N, NW" (for example), a certain thing occurs. Otherwise, nothing occurs and the buffer resets when Player Y enters Room X again.
2) The other thing I couldn't implement is described in this message to r.a.i-f from last summer:
http://groups-beta.google.com/group/rec ... 30b272a008
Help with either issue would be appreciated. (The more explicit the answer is in terms of code, the better.
)
Thanks,
Jon
1) In the first game, the order that a player moves after entering Room X is the solution to a puzzle. So, I'd like to be able to say that if Player Y is in Room X and then moves "N, N, NW" (for example), a certain thing occurs. Otherwise, nothing occurs and the buffer resets when Player Y enters Room X again.
2) The other thing I couldn't implement is described in this message to r.a.i-f from last summer:
http://groups-beta.google.com/group/rec ... 30b272a008
Help with either issue would be appreciated. (The more explicit the answer is in terms of code, the better.

Thanks,
Jon