Re: [pygame] Rotate image around another point?

2007-04-19 Thread altern
hi john John Eriksson(e)k dio: Hi, The rotate function in the transform module rotates an image about its center. But what if I want to use another point? Is there another solution than to modify the size of the image to change its center point? I think something like this should do what

Re: [pygame] Rotate image around another point?

2007-04-19 Thread John Eriksson
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

Re: [pygame] Rotate image around another point?

2007-04-19 Thread 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 some arbitrary point can be decomposed into a

Re: [pygame] Rotate image around another point?

2007-04-19 Thread Simon Oberhammer
On 4/19/07, Ulf Ekström [EMAIL PROTECTED] wrote: 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. No, what

[pygame] weekly pygame development sprints on irc

2007-04-19 Thread René Dudfield
Hi, Marcus and I are starting up a weekly pygame sprint for a few hours on Wednesdays. Wednesdays: 10pm CEST (central eurpean summer time (UTC+2) (Germany) 6am AEST(Australian Eastern Standard Time) +10 GMT (Australia) It'll probably go for 3-4 hours. We're working on getting pygame

Re: [pygame] Rotate image around another point?

2007-04-19 Thread John Eriksson
But that is not what I'm trying to do.I want to rotate the actual imagedata (like rotating an image using PohotSshop or GIMP). Not just the location where the image is drawn. The pygame.transform.rotate(...) function does that but always rotates the imagedata about it's center. /John tor

Re: [pygame] SVG and Pango support

2007-04-19 Thread Marcus von Appen
On, Thu Apr 19, 2007, Noah Kantrowitz wrote: As OLPC is in need of both SVG and Pango support in Pygame, I am looking at making wrappers for SDL_svg and SDL_pango. Rene mentioned that someone has some code for using Cairo, is this online somewhere? Also, how would people feel about this as an

Re: [pygame] SVG and Pango support

2007-04-19 Thread Noah Kantrowitz
Marcus von Appen wrote: On, Thu Apr 19, 2007, Noah Kantrowitz wrote: As OLPC is in need of both SVG and Pango support in Pygame, I am looking at making wrappers for SDL_svg and SDL_pango. Rene mentioned that someone has some code for using Cairo, is this online somewhere? Also, how would

Re: [pygame] SVG and Pango support

2007-04-19 Thread Marcus von Appen
On, Thu Apr 19, 2007, Noah Kantrowitz wrote: Marcus von Appen wrote: On, Thu Apr 19, 2007, Noah Kantrowitz wrote: As OLPC is in need of both SVG and Pango support in Pygame, I am looking at making wrappers for SDL_svg and SDL_pango. Rene mentioned that someone has some code for

Re: [pygame] Rotate image around another point?

2007-04-19 Thread altern
john is talking about the actual image surface data not just the sprite location. i guess you might need something like PIL library, but i would not really know how to do this. John Eriksson(e)k dio: But that is not what I'm trying to do.I want to rotate the actual imagedata (like rotating an

Re: [pygame] Rotate image around another point?

2007-04-19 Thread John Eriksson
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

Re: [pygame] pygame standard mouse

2007-04-19 Thread James Paige
On Thu, Apr 19, 2007 at 03:42:57AM -0400, Ethan Glasser-Camp wrote: Brian Fisher wrote: I like fast mice :) I think this might actually be why you are seeing a problem. I'll be blunt, you are a freak. Your freakish pecadillo for responsive pointer movement puts you in a very small

[pygame] Adjusting Timing With a User Event

2007-04-19 Thread Kris Schnee
How can I go about adjusting the speed of in-game events based on the current FPS? That is, my physics sim works in steps with a known time interval, but the _game_ might have varying FPS, and I want a thrown ball to move at a constant rate in real time regardless of how many animation

Re: [pygame] pygame standard mouse

2007-04-19 Thread Kamilche
Wahid Marditama wrote: Hi all, I find the standard mouse in pygame is slow when display is set to fullscreen. Anyway around this? Or, is there a good 'virtual' mouse code? I tried writing one but it does not work as expected. Wahid Yeah, I had that happen too. The way I fixed it was in my