Subj : Help with a JavaScript game
To   : Zarakava
From : Digital Man
Date : Mon Aug 15 2011 06:35 pm

 Re: Help with a JavaScript game
 By: Zarakava to All on Sun Aug 14 2011 05:21 pm

> Hello! I don't know if this'll get answered for a while, but no huge deal.
>
> I'm working on programming a javascript/bbs door game, and it's going great
> up to one point.
>
> With the console.inkey() command, no matter what the timeout, it always
> does a console.pause() afterwards.

console.inkey() should not cause a pause prompt.

> console.getkey() works fine, but I would really prefer to have it timeout,
> as I'm having a loop check some conditions every second. Is there a way to
> get read of that console.pause() after the inkey?

I think the first thing is to find out what's causing the pause. Are displaying
something in this loop? You can always clear the line counter, but I think it's
good idea to find out what is incrementing the line counter in the first place
(and it's not inkey()).


                                           digital man

Synchronet "Real Fact" #78:
172 Synchronet Match Maker registrations were sold (@$69) between 1995 and 1996.

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net