Regards
/John Eriksson
2010/3/17 René Dudfield ren...@gmail.com:
hi,
which OS are you using?
cheers,
On Thu, Mar 18, 2010 at 12:58 AM, Wakefield, Robert
rjw03...@engr.uconn.edu wrote:
I've been trying to handle mouse support using pygame, and I've found that
clicks are being missed
2009/11/13 pierrelafran...@sympatico.ca pierrelafran...@sympatico.ca:
Pierre Lafrance
Caucasian, French speaking from Québec (Canada)
Will we know level associate to our name ?
;-)
Good luck
Hi Pierre,
When the player starts a new Career in the World Series, all
AI-players levels will
*smile*
I hereby promise to not use your names, nationalities or
e-mailaddresses in any other way than to name the AI-players in Power
Play (or whatever it might be called whenever it's done).
Best Regards
/John Eriksson
2009/11/13 d...@amberfisharts.com:
Hi again.
may I add that I assume
Haha!
I guess I didn't read my mail carefully enough before I pressed send.
Of course I won't use your e-mail addresses :-)
Best Regards
/John Eriksson
2009/11/13 Olof Bjarnason olof.bjarna...@gmail.com:
2009/11/13 John Eriksson j...@arainyday.se
*smile*
I hereby promise to not use your
hope you wont be too angry with me.
Best Regards
/John Eriksson
2009/11/13 rebus_ r.dav...@gmail.com:
Heres one to test your unicode :)
Davor Lučić / Croatia
is done.
If you wan't your name to apear as a AI-player in the game, please
send me your name (first + last) and your nationality.
Best Regards
/John Eriksson
http://arainyday.se
different
countris!
The PyGame community rocks!
Keep 'em comming!
Best Regards
/John Eriksson
Take alook at my PaintBrush project. The PaintBrush class has a
feature to set both color and to modify the current alpha values on a
brush (wich actually is a surface).
Best regards
/John
http://www.pygame.org/project/1280/?release_id=2230
2009/9/20 Ian Mallett geometr...@gmail.com:
On Sat,
I've seen this some year ago. It occured when another program got hold
of all sound resources.
Check to see if there is any other program running that might use
sound and try to close/terimate that process.
/John
2009/9/21 René Dudfield ren...@gmail.com:
my guess is it's a weird corruption
] 0:# Did we click on a none
transparent pixel, Then we have clicked on the image.
return True
return False
My five cents
/John Eriksson (wmjoers)
2009/9/15 René Dudfield ren...@gmail.com:
On Tue, Sep 15, 2009 at 12:05 PM, rygoody rygo...@gmail.com wrote:
Where
Code without comments:
if rect.collidepoint(pos):
x = pos[0].rect.w
y = pos[1].rect.h
c = tuple(img.get_at((x,y))
if c[3] 0:
return True
return False
/John
2009/9/15 John Eriksson j...@arainyday.se:
Hi,
I allways use the alpha value of an button image to accomplish
Ouch...a bug(!!!):
This lines:
x = pos[0].rect.w
y = pos[1].rect.h
Should be:
x = pos[0] - rect.w
y = pos[1] - rect.h
2009/9/15 John Eriksson j...@arainyday.se:
Code without comments:
if rect.collidepoint(pos):
x = pos[0].rect.w
y = pos[1].rect.h
c = tuple(img.get_at((x,y
Windows7, Python 2.6 and Pygame 1.9.1
Please advice!
Best Regards
/John Eriksson
Hi,
I found a solution. I had to copy the following DLL's manualy:
SDL_ttf.dll
libfreetype-6.dll
Why arn't those included automaticly?
Is there a way of telling py2exe to include those?
Best Regards
/John Eriksson
2009/8/18 René Dudfield ren...@gmail.com:
Hi,
this post seems to have
I have the same problem on Ubuntu 8.10.
Did you install Pygame from the ubuntu repository or from the source?
/John Eriksson
sön 2008-11-16 klockan 16:37 -0600 skrev pymike:
Re-installed and re-booted, and it's still not working.
On Sun, Nov 16, 2008 at 4:23 PM, pymike [EMAIL PROTECTED
Hi,
Are there any guidelines on how to use/configure soundfx/music in pygame
without getting crack n' pops or lag.
I know this is probably an SDL-issue but I know that several people has
looked at this problem.
Are there any best practices for choosing Sampling rate, Sample size, Buffer
size
(especially the English translation)
* If some one could help me find some more currencies it would be great (for
exmaple USD and GBP)!
* It would be greate if someone could help me translate Cash Trainer to
other laguages as well.
Thanks in advance!
John Eriksson
http://arainyday.se
Hi,
It doesn't seem to be possible to draw circles with a uneven diameter.
I tried to use pygame.draw.ellipse but that couldn't draw circles with
an uneven diameter either.
Is this a limit in pygame or sdl??
Best Regards
/John
*smile*
What I ment with an uneven diameter was that I would like to draw
circles with the diameter set to, for example, 3 - 9 - 17 - 33 etc.
Maybe my English isn't all that understandable ;-)
/John
fre 2007-08-17 klockan 13:57 +0100 skrev Adam Bark:
On 17/08/07, John Eriksson [EMAIL
Hi,
I have a couple of questions regarding surfaces with an alpha channel.
1. Is this the correct way of creating an surface with an
alhpa-per-pixel channel?
surface = pygame.Surface((w, h), pygame.SRCALPHA)
2. How do you clear an alpha channel surface? I guesss you can't use the
fill method?
Hi,
Thanks for your answer.
But can you pass an RGBA value to the fill method? In the document it
says RGB I think.
Best Regards
/John
ons 2007-06-20 klockan 22:14 -0700 skrev Peter Shinners:
John Eriksson wrote:
1. Is this the correct way of creating an surface with an
alhpa-per-pixel
fre 2007-06-01 klockan 10:07 +0200 skrev Rikard Bosnjakovic:
On 5/30/07, John Eriksson [EMAIL PROTECTED] wrote:
If you could help me test it I would be very happy!
I would be happy to do so, if only you could provide an URL for it.
http://www.pygame.org/projects/20/428/?release_id=734
Hi,
Does anyone know about a good solution on the stretching problem when
running in fullscreen mode on a widescreen monitor?
For windows users having an nvidia driver it's possible to set Fixed
aspect ratio scaling as an option for the display causing the
widescreen to have black borders at the
Hi,
I know PyGame can play midi-files but how about performance and
portability?
Will playing a midi-file be slower than playing an ogg or a wav?
Will midi-music work on Linux, Windows and Mac?
I guess a midi-file will sound different on different platforms. But
will it be a huge difference or
in the 60's...and...you would be right. But they didn't have the highly
advanced Aiming Assistance Technology that you get when hitting an
A-bonus!!!
Ha, got you there! ;-)
Best Regards
/John Eriksson
tor 2007-05-31 klockan 10:14 -0700 skrev Lenard Lindstrom:
John Eriksson wrote:
Hi,
Finally
. There are no problems on
Linux.
All ideas are welcome!
Best Regards
/John Eriksson
images are PNG with alpha-channel.
Is there anything I can do or is it impossible to get alpha-blitting
perfomance in fullscreen mode.
Oh, yeah...I only have this problems on Windows XP. There are no problems
on
Linux.
All ideas are welcome!
Best Regards
/John Eriksson
/John Eriksson
trouble.
Thanks!
Phil
John Eriksson [EMAIL PROTECTED] wrote:
Hi,
Still getting SQL-error when trying to add a new releas for
one of my
projects.
Best Regerdas
/John
lör 2007-05-26 klockan 15:29 -0700
Andrew Pape:
Hi John,
- Original Message
From: John Eriksson [EMAIL PROTECTED]
To: pygame-users@seul.org
Sent: Tuesday, 29 May, 2007 3:19:26 PM
Subject: [pygame] Mouse and Fullscreen
Hi,
I'm having some troubles using the mouse pointer when setting the
display
Hi,
I'm having some troubles using the mouse pointer when setting the
display to fullscreen. I have no problems on Linux but in Windows the
mouse doesnät show up. (Maybe just some occasional flicker.)
Is this known problem or am I doing something wrong.
I'm trying to set the resolution to
Hi,
Still getting SQL-error when trying to add a new releas for one of my
projects.
Best Regerdas
/John
lör 2007-05-26 klockan 15:29 -0700 skrev Phil Hassey:
The pygame.org website was recently moved to a new server and had some
troubles ... Sorry it took me a few days to get to fixing it - I
Hi,
Thanks for checking the spelling (English is not my main language)!
You can use the Up and Down keys for setting the torpedo speed.
Best Regards
/John
fre 2007-05-25 klockan 13:06 +0300 skrev Marius Gedminas:
On Thu, May 24, 2007 at 09:04:48PM +0200, John Eriksson wrote:
Please, help me
On Thu, 2007-05-24 at 21:04 +0200, John Eriksson wrote:
Hi,
Hopefully this new version of Slingshot will work on more platforms.
I've removed the surfarray dependency which caused problems on several
platforms.
I've also changed the behaviour of the force fields used on some
Hi,
This might be an surfarray issue as well.
In the next release (4-5 hours away) I have removed the surfarray
dependency and includes prerendered subpixel-images instead of
generating them runtime.
Best Regards
/John Eriksson
tor 2007-05-24 klockan 09:13 -0400 skrev Charles Joseph Christie
Hi Ethan,
Thanks for your excellent suggestions!
I'll add them to the next release.
Best Regards
/John
tor 2007-05-24 klockan 15:58 -0400 skrev Ethan Glasser-Camp:
John Eriksson wrote:
Please, help me test Slingshot once more and tell me what you think.
Really cool!
When you beat
level one of the moons did not seem to have any gravity effect just
straight shots worked. Don't know if that was intentional or not, didn't make
playing any less fun regardless.
great job.
Dennis
--- On Thu 05/24, John Eriksson [EMAIL PROTECTED] wrote:
From: John Eriksson
, John Eriksson [EMAIL PROTECTED] wrote:
Could you try downloading it again? (I can't for some reason start my
vmware windows right now.)
pygame.org seems to be dead at the moment.
Hi,
There seems to be problems with the surfarray module on several
platforms.
I'll try to release Slingshot with pre-rendered subpixel-images to get
rid of the surfarray dependency.
Best Regards
/John
ons 2007-05-23 klockan 21:58 -0400 skrev John Cabral:
Hi,
I was trying out the game and
Hi,
After several weeks of coding I'm finally releasing my latest project
(at least the first release candidate), the space game Slingshot.
http://www.pygame.org/projects/20/428/?release_id=724
It all started when I found the vec2d class in PyGames cookbook and
after I played around a little
Ah, yeah. I haven't tried it on windows yet.
Sorry!
A little bit to eager to release it.
I'll have a look at it right now. Thanks!
/John
tis 2007-05-22 klockan 20:53 +0200 skrev DR0ID:
John Eriksson schrieb:
Hi,
After several weeks of coding I'm finally releasing my latest project
I should have remebered that MP3 and pygame doesn't mix well on Windows.
Could you try downloading it again? (I can't for some reason start my
vmware windows right now.)
Best Regards
/John
tis 2007-05-22 klockan 20:53 +0200 skrev DR0ID:
John Eriksson schrieb:
Hi,
After several weeks
Finally I got it working!
First I uppgraded to ALSA 1.0.14rc4. Then I changed the SDL-buffert
size.
Before the uppgrade the buffert sizing trick did not work.
Best Regards
/John
tor 2007-05-10 klockan 08:17 -0700 skrev James Paige:
On Thu, May 10, 2007 at 10:18:44AM +0200, John Eriksson
Tried that (again) but still no luck. :-(
Best Regards
/John
tor 2007-05-10 klockan 18:30 +1000 skrev René Dudfield:
try:
pygame.mixer.pre_init(44100,-16,2, 1024 * 3)
except:
pygame.mixer.pre_init()
pygame.init()
On 5/10/07, John Eriksson [EMAIL PROTECTED] wrote
What program? I'd like to test it on my machine!!!
Best Regards
/John
tor 2007-05-10 klockan 10:53 +0100 skrev Chris Smith:
Yes, I am using Linux, so I'll just follow the other thread.
What I find strange though is that another program written in PyGame
(although the sound code is a bit
The best result I get by using ESD and setting a the buffer size to 512
and the sampeleling rate to 11025.
/John
tor 2007-05-10 klockan 12:11 +0200 skrev John Eriksson:
What program? I'd like to test it on my machine!!!
Best Regards
/John
tor 2007-05-10 klockan 10:53 +0100 skrev Chris
Well, no.
I'm looking for a way to rotate the imagedata (like
pygame.transform.rotate(...)) but your example rotates the image
location. Right?
/John
tor 2007-04-19 klockan 10:36 +0200 skrev altern:
hi john
John Eriksson(e)k dio:
Hi,
The rotate function in the transform module
-04-19 klockan 11:02 +0200 skrev Ulf Ekström:
On 4/19/07, John Eriksson [EMAIL PROTECTED] wrote:
Well, no.
I'm looking for a way to rotate the imagedata (like
pygame.transform.rotate(...)) but your example rotates the image
location. Right?
It is actually the same thing. Rotation around
Wher reading Ulfs answer a little more carefully I thinks that it's just
what he is sugesting. *smile*
/John
tor 2007-04-19 klockan 12:31 +0200 skrev John Eriksson:
But maybe it'll work if you first rotate the imagedata around the
centerpoint using pygame.transform.rotate(...) and then rotate
Hi,
Is there a way to control the volume of different speakers using pygame
(or a python package that can be used together with pygame)?
3D placement would be great but just to be able to set different volume
for two speakers would be sufficient.
I found Soya...but can that be used without
and an example to show how to use it.
The algorithm was used in one of the Second Pyweek Challenge winners!
Trip on the Funny Boat - http://www.pygame.org/projects/20/235/
Best Regards
/John Eriksson
tis 2007-01-30 klockan 06:30 -0800 skrev Kamilche:
V. Karthik Kumar wrote:
I happened to read
pixel width/height collision rectangles (when
reduced to 1 x h ow w x 1 ), which I'll modify.
Regards
John Eriksson wrote:
Hi,
If you're looking for a pixel perfect collision detection algorithm,
there is a project at pygame which contains an even faster one.
PixelPerfect - http
Hi,
I'm going to get my hands on a GP2X soon and was wondering if anyone is
using pygame on that device.
I've seen some pygame beta 1 release somewhere..but that project looked
kind of dead??
But then I also saw a gp2x package in the latest pygame release.
Are there anyone out that that could
Hi,
A neat trick is to use billiard-ball-physics and use circles for the
cars collision detection. This will at least give you some collision
responses to start with. And it might even be good enough for a arcade
racing game.
Best Regards
/John
sön 2006-11-05 klockan 16:53 -0300 skrev Pica:
Hi,
Which music formats can pygame.mixer play?
I know there are some issues with MP3 on windows but how about Linux?
Any more formats than MP3 and OGG??
Best Regards
/John
Hey Kris,
Why don't register this at http://www.pygame.org ?
/John
ons 2006-10-25 klockan 19:21 -0400 skrev Kris Schnee:
The code is at:
http://kschnee.xepher.net/code/Terragens.py.txt
A screenshot is at:
http://kschnee.xepher.net/pics/061025skygold2.jpg
Have fun!
Kris
Hi,
Surly this is a silly question...but can i safely use python 2.5 with
pygame 1.7.1?
Best Regards
/John Eriksson
Hi,
Is there a way to determine the desktops current screen resolution?
Best Regards
/John
implementing the very same API and just competing for the best
performance?!?!
Personally I will support which ever project implementing pixel perfect
collision detection first ;-)
Just my five cents...
Best Regards
/John Eriksson - http://arainyday.se
59 matches
Mail list logo