[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] moving sprites diagonal with keys
do you NEED to use get_pressed()? Couldn't you just consider a key to
still be down until you get a KEYUP event?
See MonkeyStomp for an example:
http://www.pygame.org/gamelets/#MONKEYSTOMP
-sjbrown
On Wed, 2003-10-15 at 07:27, mbopp wrote:
> hi,
>
> do you know a simple method to check for pressing two keys at 'once'?
> I need it to move sprites in diagonal directions.
>
> thanks
>
> markus
--
+-------------------------------------------------------------+
| Shandy Brown Digital Thinkery |
| shandy@geeky.net http://www.digitalthinkery.com |
+-------------------------------------------------------------+