
-----------------------------------
Prateek
Sat Jan 10, 2004 12:37 am

how can i do this ?
-----------------------------------
hey,
I am making a pong game and so far it is going good. I am thinking to have a pause in ma game. But i don't know how i pause my game when it is running. Give me some ideas how i can do this. 
cya

-----------------------------------
Tony
Sat Jan 10, 2004 1:00 am


-----------------------------------
please use appropriate (meaning descriptive) subjects :roll:

anyways... your pause would be

main loop
...
if pauseFlag = true then
     loop
     exit when hasch
     end loop
      pauseFlag = false %reset the flag
     getch(c) %clear buffer
end if
...
end main loop


create a flag variable that will trigger a "waiting" loop
