Do you support The #Python Software Foundation making a statement in support of peace?

2022-03-13 Thread René Dudfield
hey hey,

Do you support The Python Software Foundation making a statement in support
of peace?

Vote here:
https://twitter.com/pygame_org/status/1502989885296238593


cheerio,
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-15 Thread René Dudfield
Hi,

it's possible to have multiple processes running with separate pygame
windows.

However you need to communicate with an inter process mechanism.
For example by running a web server over TCP/ip/sockets, or UDP with OSC,
or shared memory with mmap, or even via clipboard copy/paste, the humble
file, or a database (Sqlite, PostgreSQL).
Each method has different trade offs.

However with pygame > pygame version 2 it is possible to have multiple OS
windows controlled by a single process.

The reason SDL and pygame do this is they come from a world where taking
over the whole screen (and OS) was common.
Also having multiple windows is mostly bad UX. If people are paying for
your UX, then probably you want good UX.

Note, that you can split the screen up inside a single OS window.
In pygame this is done easily with a subsurface, or by manually positioning
things with rects.


cheerio,




On Fri, Nov 15, 2019 at 3:36 AM  wrote:

> On Tuesday, November 12, 2019 at 7:05:16 PM UTC-5, Terry Reedy wrote:
> > On 11/12/2019 2:32 PM, originallmo...@gmail.com wrote:
> > > I'm curious: I've been seeing people having multiple pygame programs
> open at once (Where each one is a component of a main program, obviously).
> >
> > Multiple programs open at once on modern machines is normal.  Do you
> > mean multiple windows for one program?  As is possible with IDLE?
> >
> > --
> > Terry Jan Reedy
>
> Well, the example I was seeing, the person had one window which contained
> a portion of the larger pygame program controlling the display, another for
> controlling the characters, and another for the main program (Plus, I
> think, two others whose purpose I forget). I'm just concerned because, I
> can't imagine that's possible from the command prompt, but, I don't know
> what they had that would allow them to have multiple subprograms open at
> once in Python. I'm used to that in Visual Studio C++, but, I don't know of
> such a thing for Python.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Trouble trying to get started with pygame

2019-11-06 Thread René Dudfield
Hi,

either use python 3.7, or use the pre-release of pygame 2.
py -m pip install pygame==2.0.0.dev6

We're not going to do a python 3.8 release for pygame 1.9.x


cheers,





On Thu, Nov 7, 2019 at 7:06 AM  wrote:

> > > Well, "py -m pip install pygame" has come the closest so far to
> working. I saw it try to load it and everything, but then, it spat out a
> series of errors, but, the primary one seemed to be this:
> > >
> > > WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
> > >
> > How about downloading the wheel from Christoph Gohlke's site and using
> > pip on that, as I suggested on 2019-11-01?
>
> What's the difference in syntax? Because, I DID notice that it seemed to
> be trying to open the other Pygame I had (The tar.gz version), so, I'm
> imagining there would be some difference somewhere. Or, could I simply
> switch out the tar.gz version with the wheel version inside the folder?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


ANN: pygameweb 0.0.4 - Northern Rockhopper Penguin

2018-03-08 Thread René Dudfield
G'day.




pygameweb  is the source code for
the pygame
website  at https://www.pygame.org/

[image: 6954251406_95ebe75f55_m]


   - #52  Adding ability to
   deploy through travisci. And docs.
   - #46  Wiki readability.
   Wiki tools on left out of reading line.
   - Twitter card for releases. For nicer view when posting to twitter.
   - Wiki table of contents improvements.
   - builds docs for pygame, when something lands on pygame github master
   branch.
   - project release feeds bugfix.
   - Only show one recent release for each project. Some projects release a
   few times in a row.
   - Wiki, nicer pre code handling.
   - Wiki code uses inline colors, so copy/paste works with colors too.
   - use https for login and register buttons, even when on http (see Why
   can't we turn off HTTPS?
   ).
   - Ask more bad robot web crawlers not to be bad.

See a full diff of changes since last release
.

Majestic photo of a Northern Rockhopper Penguin by Brian Gratwicke

-- 
https://mail.python.org/mailman/listinfo/python-list


https://pygame.org/

2017-03-10 Thread René Dudfield
https://pygame.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


ANN: pygame 1.8 released

2008-03-30 Thread René Dudfield
Hello,

a new version of pygame is out.

http://www.pygame.org/
Pygame is a set of Python modules designed for writing games.
Pygame adds functionality on top of the excellent SDL library. This
allows you to create fully featured games and multimedia programs in
the python language. Pygame is highly portable and runs on nearly
every platform and operating system.

http://www.pygame.org/wiki/about
Silliness built in.  Does not require OpenGL.  Multi core CPUs
can be used easily.  Uses optimized C, and Assembly code for core
functions.  Comes with many Operating systems.  Truly portable.  It's
Simple, and easy to use.  Many games have been published.  You control
your main loop.  Does not require a GUI to use all functions. Fast
response to reported bugs.  Small amount of code.  Modular.

http://pygame.org/whatsnew.shtml
Some of the changes...

* pygame.mask for pixel perfect collision detection
* pygame.scrap for clipboard support
* new and improved sprite groups, including layers, automatically
selecting fastest update mode(full screen or dirty rect updates), and
blend modes...
* blending support for filling and blitting surfaces. ADD, SUB, MULT,
DIV etc.
* saving surfaces as jpeg and png
* buffer access for Surface and Sound objects
* numpy, and numeric support for pygame.surfarray and
pygame.pixelarray
* PixelArray, which can be used instead of numpy - without the
dependency.
* smooth scale function written in mmx assembly with C fallback.
* More functions release the GIL for multithreaded use.
* lots of speed ups to many functions via better python wrapping.
* color thresholding, bounding box finding for images, and surface
averaging.
* massive documentation updates (which have been available on the
website for a while already).
* pygame.time.Clock.tick() is more cpu friendly.
* updates to example programs.
* new windows, and mac installers.
* hardware acceleration updates for overlays and opengl.
* porting work to different platforms.
* heaps of bug fixes including SRCALPHA blitting fixes, 64bit fixes,
sound system fixes.

Plus there have been lots of changes to SDL itself since the last
pygame release. http://www.libsdl.org/release/changes-1.2.html.

* lots of stuff really... but those are some of the nice things. Read
the what's new page for full details http://pygame.org/whatsnew.shtml


cheers,
-- 
http://mail.python.org/mailman/listinfo/python-list