T
Theghost
Guest
Hy there,
I am working on a new game. And you know what that means right? New obstacles!
I've encountered a problem that my clock doesn't get updated when the rooms change.
Let me further explain: I have a clock in my one of my rooms. it updates every second when I am in the room. I also have a computer in my room. when I get on the computer and get back to my original room the clock doesn't update. as in it stays the same no matter the amount of time inside the computer (which is a different room).
Global variables and global object (as the same object in every room) don't seem to work.
can someone please help me?
Thnx
I am working on a new game. And you know what that means right? New obstacles!
I've encountered a problem that my clock doesn't get updated when the rooms change.
Let me further explain: I have a clock in my one of my rooms. it updates every second when I am in the room. I also have a computer in my room. when I get on the computer and get back to my original room the clock doesn't update. as in it stays the same no matter the amount of time inside the computer (which is a different room).
Global variables and global object (as the same object in every room) don't seem to work.
can someone please help me?
Thnx