Ok, guys, is there's a way to have 'persistent' objects? Say, the player opens a few doors and runs away from enemies into the other room, now how one can have
1) doors still open when returns;
2) sensible enemy positions (as if it was chasing the player)?
(a) I think it's possible to handle but a few doors via variables, but it won't work fine with many doors; perhaps some bitwise could help.
(b) As for enemy position, I tried to imitate it via a simple formula like pseudocode X'=X0+-RND(speed*time); Y'=Y0+-RND(speed*time)but it's rather lame, for when the player returns it can 'fall off' nowhere or instaclimb like hell... Any ideas? Within the AGD limits.
Not sure I expressed it correctly, because I'm still a bit snake-tipsy, yet hope some one might understand what I mean.