[
Author Prev
][
Author Next
][
Thread Prev
][
Thread Next
][
Author Index
][
Thread Index
]
Re: [pygame] trajectory
To
:
pygame-users@xxxxxxxx
Subject
: Re: [pygame] trajectory
From
: Jake b <
ninmonkeys@xxxxxxxxx
>
Date
: Wed, 20 Jul 2011 12:48:41 -0500
Delivered-to
:
archiver@xxxxxxxx
Delivered-to
:
pygame-users-outgoing@xxxxxxxx
Delivered-to
:
pygame-users@xxxxxxxx
Delivery-date
: Wed, 20 Jul 2011 13:49:10 -0400
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5NMuelMJ67ofqOrCLvOtv0yWy3JjoK0E4DVK3Uh7FCo=; b=UCLy9EsKGsgvJgAGhHiQwBwC6kZcfjt0SAPowxTAXANXPlAm6CEHVUtWBFTT58bv41 E7LWdYPKTnN9UUQORc8V+isYVbPCKqthsM1C9B7IuiicdjDvAkaPRFUcEzDLRy3hR7oy 0EKqT2jj/85dTZ89zbWAlDUWnoMLQjX+F2b68=
In-reply-to
: <
CACE8YcpvugVDRnynkwunA4GKt1BxYwwBAi0LGCcXmAzL_JErFQ@xxxxxxxxxxxxxx
>
References
: <
CACE8Yco+d1yaz9NFSWgxpYOsHb3X-+VobmRisSX0QvBsH0rsBw@xxxxxxxxxxxxxx
> <
CAK1_Gbr+qsHCTKZQfa3TbiB76u7JUxCao5vPhW=E1PL3gZyYAw@xxxxxxxxxxxxxx
> <
CACE8YcpT00ZSWLXXfp4sNoC2q+nWWZ5502Hzf2rCPcWTKbJB+Q@xxxxxxxxxxxxxx
> <
CAK1_GbpBDP-Cm_TUcnM1aBQevw3Aw3O=aKRU2_7QfxSba6oC_Q@xxxxxxxxxxxxxx
> <
CACE8YcpvugVDRnynkwunA4GKt1BxYwwBAi0LGCcXmAzL_JErFQ@xxxxxxxxxxxxxx
>
Reply-to
:
pygame-users@xxxxxxxx
Sender
:
owner-pygame-users@xxxxxxxx
You can define bullet speed in pixels per second.
You can use euclid (it works), but I instead suggest numpy. Which has a vector( numpy.array ), and is useful for other game related things.
Here's a stand-alone example, uses numpy for vector movement.
https://code.google.com/p/ninmonkey/source/browse/boilerplate/pygame/4.%20with%20numpy%20for%20array/boilerplate%20-%20pygame_with_numpy-2011_jake.py
On Wed, Jul 20, 2011 at 9:33 AM, Nathan BIAGINI
<
nathan.open@xxxxxxxxx
>
wrote:
There is a pygame object to create a 2d vector?
--
Jake
References
:
[pygame] trajectory
From:
Nathan BIAGINI
Re: [pygame] trajectory
From:
Joe Ranalli
Re: [pygame] trajectory
From:
Nathan BIAGINI
Re: [pygame] trajectory
From:
Joe Ranalli
Re: [pygame] trajectory
From:
Nathan BIAGINI
Prev by Author:
Re: Re: [pygame] Pygame-UI: UI Component Framework for python and pygame
Next by Author:
Re: [pygame] Blog posts on a pygame+pyopengl project
Previous by thread:
Re: [pygame] trajectory
Next by thread:
Re: [pygame] trajectory
Index(es):
Author
Thread