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
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
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
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo