[pygame] exact algebraic numbers?

2009-11-28 Thread Michael George
Hello, For my game I need to represent right isosceles triangles, and do operations including translation and rotation in 15 degree increments. Unfortunately, I cannot tolerate rounding error, because it will cause bad visual and gameplay artifacts. I'm thinking of representing points as ve

Re: [pygame] Events of joypad

2009-11-28 Thread Jackson Raniel Florencio da Silva
B W, you tip works fine. Thanks a lot. 2009/11/28 B W > for joy_id in range(pygame.joystick.get_count()): >joystick = pygame.joystick.Joystick(joy_id) >joystick.init() >joysticks[joy_id] = joystick > > Then you should start getting events for all the joystick

Re: [pygame] Events of joypad

2009-11-28 Thread B W
for joy_id in range(pygame.joystick.get_count()): joystick = pygame.joystick.Joystick(joy_id) joystick.init() joysticks[joy_id] = joystick Then you should start getting events for all the joystick devices. I didn't have luck with my gamepad so I gave up and boug

[pygame] Events of joypad

2009-11-28 Thread Jackson Raniel Florencio da Silva
Hello everybody! I'm new to the list in python as well. I am studying the Pygame library and wrote the following script: *import pygame from pygame.locals import * from sys import exit pygame.init(* *) SCREEN_SIZE = (800, 600) screen = pygame.display.**set_mode(**SCREEN_SIZE, 0, 32) font = pyg

Re: [pygame] First / Third person shooter?

2009-11-28 Thread RB[0]
I see someone mentioned PYGGEL. Robocalypto is rather outdated and unclear - but if you want something simple to get going you probably can't beat it - I'd check out the examples/tutorials that come with it before the demo game first though... On Sat, Nov 28, 2009 at 1:29 AM, Ian Mallett wrote: