hi,
Note, that you can find contact normals with the mask module. See mask example.
For some types of games, per pixel collision detection is fast enough.
It uses rect bounding boxes as a first pass, so mostly it's not much
slower than rect collision detection. Assuming you are working in 2d,
a
hi,
Note, for the next pygame release we are going to include a
pygame.example package.
This is so that people can access examples on each platform more
easily... and so that distributors will hopefully always include the
examples.
cheers,
On Thu, Oct 9, 2008 at 9:59 AM, Lenard Lindstrom <[EMA
On Wed, Oct 8, 2008 at 6:59 PM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> For future reference I have just added a new Pygame FAQ entry for this kind
> of question:
>
> http://www.pygame.org/wiki/FrequentlyAskedQuestions
>
>
> --
> Lenard Lindstrom
> <[EMAIL PROTECTED]>
I'm glad to see that
Paulo Silva wrote:
Hi!
I'm looking for webpages could have minimal examples, just like from:
. http://nitrofurano.linuxkafe.com/sdlbasic/MinimalExamples_050624.zip
. http://nitrofurano.linuxkafe.com/python/PythonStuff_060822.zip
i'm needing them, since i'm still having really huge difficulties
Marcus von Appen wrote:
On, Wed Oct 08, 2008, Lenard Lindstrom wrote:
The time consuming part will be the the Pygame extension modules. The C
api will change with Python 3.0. It looks like major modifications here
for every module. And unlike the Python code I know of no automatic tool
t
On Wed, 8 Oct 2008 12:26:15 -0700, "Ian Mallett" <[EMAIL PROTECTED]>
wrote:
> On Wed, Oct 8, 2008 at 8:54 AM, kschnee <[EMAIL PROTECTED]> wrote:
>>
>>
>> ## Create an SDL window for graphics, and draw a blue square.
>> import pygame
>> screen = pygame.display.set_mode((800,600))
>> pygame.draw.rec
On Wed, Oct 8, 2008 at 8:54 AM, kschnee <[EMAIL PROTECTED]> wrote:
>
>
> ## Create an SDL window for graphics, and draw a blue square.
> import pygame
> screen = pygame.display.set_mode((800,600))
> pygame.draw.rect((42,42,200,200),(0,0,255),0)) ## Parameter order might be
> wrong
> pygame.display
@bhaaluu
Thanks!
Some of these examples i saw online somewhere, seems to be inspiring
(like idea.py) and helpful, but a bit far for what i needed (or wanted
to help doing)
The idea is really doing minimals of almost everything... this can
take a while, but would be even more interesting seeing s
On, Wed Oct 08, 2008, Lenard Lindstrom wrote:
> The time consuming part will be the the Pygame extension modules. The C
> api will change with Python 3.0. It looks like major modifications here
> for every module. And unlike the Python code I know of no automatic tool
> to help out. Most chan
Hi Gregor,
If having SVN commit privileges makes one 'official' then I can try and
answer your question. I build the Windows binaries for Pygame and the
biggest hurdle in porting to Python 2.6, and Python 3.0, is the new C
runtime library it uses. This library does goofy things to prevent
unl
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470068221,descCd-DOWNLOAD.html
That's the alternate link. The first one was good a few days ago.
Maybe his computer went down? You'll find a zip archive of
all the source code in the book, Game Programming by Andy Harris
at the Wiley site. There
@kschnee: a bit like this, minimal examples illustrating all possible
commands and interesting situations where from newbies can work over
and easily copy stuff to build their own programs, and feeling
encouraged of their progresses.
@bhaaluu: dead link...
-
On We
Thanks for the tips!
Unfortunately, this port is for a commercial third party. I will be open
sourcing the GUI engine used by the game, but I'll need to build a deliverable
for this third party who will distribute.
--- On Tue, 10/7/08, bhaaluu <[EMAIL PROTECTED]> wrote:
> From: bhaaluu <[EM
http://www.cs.iupui.edu/~aharris/pygame/
On Wed, Oct 8, 2008 at 5:45 AM, Paulo Silva <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm looking for webpages could have minimal examples, just like from:
> . http://nitrofurano.linuxkafe.com/sdlbasic/MinimalExamples_050624.zip
> . http://nitrofurano.linuxkafe.
On Wed, 8 Oct 2008 10:45:52 +0100, "Paulo Silva" <[EMAIL PROTECTED]>
wrote:
> Hi!
>
> I'm looking for webpages could have minimal examples, just like from:
> . http://nitrofurano.linuxkafe.com/sdlbasic/MinimalExamples_050624.zip
> . http://nitrofurano.linuxkafe.com/python/PythonStuff_060822.zip
>
lol
On Wed, Oct 8, 2008 at 6:05 AM, Knapp <[EMAIL PROTECTED]> wrote:
> Sorry, country!
> --
> Douglas E Knapp
>
> http://sf-journey-creations.wikispot.org/Front_Page
>
--
- pymike
"Stop loling into a false sense of hilarity"
Hello Ian!
Nice code! I was thinking of exposing some of the code Zhang Fan wrote for
the physics engine, but as of yet it only handles rectangles.
There's plenty of code available on the net, but I feel reluctant to produce
yet another Python extension for PyGame. I'll continue to check for reu
Hi again Nirav!
Yes, but the number of pixels involved makes it too time consuming.
Also, I'll be using OpenGL to render the polygons which means I have to copy
the pixels to RAM or use occlusion tests, neither of which are optimal.
/Peter
On 2008-10-07 (Tue) 15:03, Nirav Patel wrote:
> Peter,
Sorry, country!
--
Douglas E Knapp
http://sf-journey-creations.wikispot.org/Front_Page
On Wed, Oct 8, 2008 at 12:50 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Jake b wrote:
>
>> It comes on windows vista, but you can (legally) get it on winXP. (
>> Looks like it'll work on ubuntu too, but haven't tried it. )
>
> According to the notice on the Microsoft page, you can only
> use the f
Ron Dippold schrieb:
Hi Gregor,
I'm not officially involved at all (thanks, Phil!) but pygame 1.8.1
has already been ported to python 2.6, which
means it should be an easy port (if there's any more work involved at
all) to 3.0 when it's released.
I wouldn't take this for granted, as Python 3
Jake b wrote:
It comes on windows vista, but you can (legally) get it on winXP. (
Looks like it'll work on ubuntu too, but haven't tried it. )
According to the notice on the Microsoft page, you can only
use the fonts legally on a "device running a Microsoft Windows
operating system".
--
Greg
Nirav Patel wrote:
If the polygons are Surfaces or can be turned into Surfaces, they can
be turned into Masks to do pixel collision.
On Tue, Oct 7, 2008 at 11:21 AM, Peter Gebauer
<[EMAIL PROTECTED]> wrote:
> Yep, but as I said, I need to find colliding polygons, not pixels.
Pixel collision
on the Related Intiatives from http://processing.org/ , it seems
Pygame is cited there, but i couldn't find much more generative code
made on Python, beyond some screenshots from John Maeda clog at
http://www.maedastudio.com/clog/
if someone knows where can we find similar experiences online with
Hi!
I'm looking for webpages could have minimal examples, just like from:
. http://nitrofurano.linuxkafe.com/sdlbasic/MinimalExamples_050624.zip
. http://nitrofurano.linuxkafe.com/python/PythonStuff_060822.zip
i'm needing them, since i'm still having really huge difficulties on
starting coding on
Hi Gregor,
I'm not officially involved at all (thanks, Phil!) but pygame 1.8.1 has already
been ported to python 2.6, which
means it should be an easy port (if there's any more work involved at all) to
3.0 when it's released.
http://pygame.org/download.shtml
Ron
Gregor Lingl wrote:
does anyb
Hi all,
does anybody know if there are plans to port Pygame to Python 3.0, which
is going to be released in the near future (approx. beginning of
December; now there is release candidate 1)
Regards,
Gregor
27 matches
Mail list logo