Hi Luke
On Fri, Apr 2, 2010 at 7:00 PM, Luke Paireepinart
rabidpoob...@gmail.com wrote:
No problem.
I just changed 'casio_i' until it started reading midi data from my
keyboard. my ID was 1. how did you figure out your ID's? trial and error?
There is pygame.midi.get_count() and
Something's rotten somewhere...
I'll have to check the midi spec and see, but I think timestamps are
part of it. IIRC, the server sends info to the device telling it to
start timestamping relative to a particular time. If this is correct,
then something may be wrong with the lib or your device. If
Hello fellow PyGamers,
I have a very annoying problem with my PyGame installation under Mac
OS X 10.6 Snow Leopard.
When I execute a PyGame program from the Terminal, the keys I press
are not sent to the game window but to the Terminal window itself,
where they are echoed, which means that no
Hi Math-
Could you post some of your key event code for us to look at?
On 4/3/10 8:03 AM, Mathieu Richardoz wrote:
Hello fellow PyGamers,
I have a very annoying problem with my PyGame installation under Mac
OS X 10.6 Snow Leopard.
When I execute a PyGame program from the Terminal, the keys
Hi Dan,
Thank you for your reply :-)
Here's the code:
---
import pygame
pygame.init()
screen = pygame.display.set_mode((640, 480))
background = pygame.Surface(screen.get_size())
background = background.convert()
background.fill((0, 0, 255))
box = pygame.Surface((25, 25))
box = box.convert()
Not really. In fact, it works fine on my 10.6.2 MacBook Pro.
A difference would be that I use ActivePython rather that MacPorts Python.
Does the screen appear on your machine? The red box just doesn't move?
On 4/3/10 8:54 AM, Mathieu Richardoz wrote:
Hi Dan,
Thank you for your reply :-)
Thanks Dan.
That's it, the red box doesn't move, and when I press the arrow keys,
I see the keypresses being echoed inside the terminal, which makes me
assume they are not being seen by my pygame window.
I've tried to implement other event types, such as MOUSEBUTTONUP and
MOUSEBUTTONDOWN and
I believe I installed the binary from the PyGame website after
installing ActivePython.
No trouble at all.
On 4/3/10 9:05 AM, Mathieu Richardoz wrote:
Thanks Dan.
That's it, the red box doesn't move, and when I press the arrow keys,
I see the keypresses being echoed inside the terminal,
Thanks a lot for pointing me to ActivePython, it's working like a
charm, and I didn't even have to reinstall PyGame :D
I am now wondering if maybe, juste maybe, I could run my Django
projects on top of this Python as well, but I guess that is well
beyond the scope of this list, so I'll shut up
Glad it worked Math.
On 4/3/10 9:17 AM, Mathieu Richardoz wrote:
Thanks a lot for pointing me to ActivePython, it's working like a
charm, and I didn't even have to reinstall PyGame :D
I am now wondering if maybe, juste maybe, I could run my Django
projects on top of this Python as well, but I
I think you've done this already, but maybe ticks with buffersize does
something?
Save the Normal get_ticks() on keydown, and then on keyup, print
difference. ( on phone so I don't know the exact sdl_getticks()
pygame function )
I found a few notes reading the docs:
Excerp from docs:
Marcus von Appen wrote:
What would be interesting here is, what the Pen class would offer except
from the drawing functions wrapped up in a class and som additional
shapes.
What about e.g. an aa-property to keep the argument amount low,
transformation and rotation angles for the x- and y-axis
On 4/3/2010 12:58 PM, jug wrote:
Marcus von Appen wrote:
What would be interesting here is, what the Pen class would offer except
from the drawing functions wrapped up in a class and som additional
shapes.
What about e.g. an aa-property to keep the argument amount low,
transformation and
13 matches
Mail list logo