Oh and you'll need to set the display screen up too
On Sun, Sep 28, 2008 at 4:24 PM, pymike <[EMAIL PROTECTED]> wrote:
> Depends on your game structure, but if you're using pygame it'd be easiest
> to just go
>
> import pygame
> from pygame.locals import *
>
> paused = False
> game_is_running = T
Depends on your game structure, but if you're using pygame it'd be easiest
to just go
import pygame
from pygame.locals import *
paused = False
game_is_running = True
while game_is_running:
#Set pause varaiable to True if the P key is pressed
for e in pygame.event.get():
if e.
There is no built in "Pause" function, but you can go:
Paused = True
while Paused:
for event in pygame.event.get():
if event.type == KEYDOWN and event.key == K_p:
Paused = False
Draw()
This probably seems like a dumb and obvious question, but I'm new to pygame,
so...
How do I build a pause function into the game?
=
Mail Commander
This e-mail client provides extensive anti-spam filtering and mail processing
capabilities.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=1fd0
The idea is that most cheating will be obvious, so you can block
individual users who are polluting the high score table. As Nathan
pointed out, though, getting a new Google account is pretty easy, so
even that's not terribly effective.
-FM
On 9/27/08, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Hor