Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-15 Thread John Eriksson
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 be set by random.

Best Regards
/John


Re: [pygame] Spam problem with joystick module

2009-11-15 Thread rouiller olivier
Yeah I did that and it's perfect,

here is the link, Rene gave it to me, maybe it can help someone else :

http://thorbrian.com/pygame/builds.php

2009/11/15 Lenard Lindstrom le...@telus.net

 Hi rouiller,

 Somehow the joystick extension module is being compiled with the debug
 switch set (DEBUG macro defined). Try getting the most recent build from SVN
 at http://thorbrian.com/pygame/builds.php. I think this problem should be
 fixed.

 Lenard Lindstrom

 rouiller olivier wrote:

 Thanks for the file, they work well but I still have the spam.
 I guess I will have to deal with it til next release and hope the game
 will still be playable.



 2009/11/13 Thiago Chaves shundr...@gmail.com mailto:shundr...@gmail.com
 


Rouiller, check if these work for you.

Teste1.py controls a circle (and a line, if you have 2 or more
directional pads) on the window.
Teste2.py outputs button numbers and directional axes information
(it's a bit spammy when you're dealing with analog directional
buttons, it's just because there's so many different values the
axes can take in that case).

-Thiago


On Fri, Nov 13, 2009 at 2:15 AM, rouiller olivier
o.rouil...@gmail.com mailto:o.rouil...@gmail.com wrote:

ok thank's let's try to build it, should be a good exercise
after all.

2009/11/13 Lorenz Quack d...@amberfisharts.com
mailto:d...@amberfisharts.com


Hi,


rouiller olivier wrote:

The calls to get_axis and get_button cause these
outputs...
Maybee there is another way of getting the values?..


Not sure if there is another way.
Note that this is already fixed in svn trunk.
So I guess you can either try to build pygame from source
from the svn version or
wait for the next release.


regards
//Lorenz




--Rouiller Olivier
06 79 66 89 63
Résidence Léonard de Vinci
App. A008
59650 Villeneuve d'Ascq





 --
 Rouiller Olivier
 06 79 66 89 63
 Résidence Léonard de Vinci
 App. A008
 59650 Villeneuve d'Ascq





-- 
Rouiller Olivier
06 79 66 89 63
Résidence Léonard de Vinci
App. A008
59650 Villeneuve d'Ascq


Re: [pygame] State of the math branch

2009-11-15 Thread Jeff Cagle

Lorenz Quack wrote:

Also, what would be a use case for non-square matrices?

Mapping coordinates in R^3 to coordinates in R^2 can be readily 
accomplished with a 2x3 matrix.  To generalize, an m x n matrix can be 
used to linearly transform R^n -- R^m.


Jeff Cagle