Basically, I want to make a segment in my game where the player has to hide from a monster. They go to their hiding place, and the monster comes up to it, suspicious. The game says "Something inside you says 'DON'T MOVE.'" When you click the link, the screen is blank. If the player moves the mouse during this, they get caught by the monster. If the player doesn't move the mouse for about 10 seconds, the monster goes away. How could I achieve this in a game? I've never worked with mouse-based commands before, so I'd appreciate if you explained the commands a bit. Thanks in advance!
↧