Re: [pygame] Do you support The #Python Software Foundation making a statement in support of peace?

2022-03-14 Thread David
Statements are just words no one will really care it'll do nothing except with the people who made those words think that they actually did something forget it just stick to python talk. On Sun, Mar 13, 2022, 6:42 PM Al Sweigart wrote: > To quote Glyph, "I think it would be more helpful to make

Re: [pygame] Pygame causes ALSA underrun

2021-08-26 Thread David Scheele
t). If I've > understood correctly, it needs to prepare new data every 512 / 22050 > seconds, or about 40 times per second. > > Thomas > > On Thu, 26 Aug 2021 at 08:21, David Scheele > wrote: > >> Hi there, new to the mailing list. >> I'm currently misusing

[pygame] Pygame causes ALSA underrun

2021-08-26 Thread David Scheele
t my mixer with pygame.mixer.pre_init(22050, -16, 2, 512) I would like to put everything I can into getting the audio right as it is literally the only thing that matters in this project. Does anyone have any pointers what steps I could try? Thanks! David

Re: [pygame] Update Python 2.7 project to work with Python 3

2021-04-27 Thread David
mulator to run. > -- David *Running Linux since 1994* *IT Tech Support & SysAdmin* *We are using Linux daily to UP our productivity - so UP yours!*

[pygame] simple pygame draw demo runs 3 times as slow as equivalent SDL2 program in Julia

2019-06-11 Thread David R
Is there a better place to post this question? Sorry if this isn't the right venue. Am I doing something wrong -- is there a way to make the following pygame program run faster? It runs in 10.5 seconds, whereas an equivalent program invoking SDL2 from Julia runs in 3.0 seconds (I'm happy to post

Re: [pygame] Practice Game code ?

2019-04-23 Thread David
> > On Tue, Apr 23, 2019 at 3:59 PM David wrote: > >> Way back in my Vic20/C64 days, I had a magazine called Compute's >> Gazzete. The front part had articles written by people who submitted code >> (program or game) describing it or their process in some way.

[pygame] Practice Game code ?

2019-04-23 Thread David
and I'd work on the other half, save them together and see if we get a game. I learned a LOT doing it that way. I'm sure there are resources out there, any suggestions? thanks... -- David *Running Linux since 1994* *IT Tech Support *

Re: [pygame] Pygame & Official Raspberry Pi 7" touchscreen

2019-02-05 Thread David Lönnhager
> > On Sun, Feb 3, 2019 at 8:00 AM David Lönnhager wrote: >> >> Touch events (FingerMotion, FingerDown, FingerUp, and MultiGesture) >> have been added to pygame. Should work if you build it with SDL2. >> >> >> On Sun, Feb 3, 2019 at 2:44 AM wrote: >>

Re: [pygame] Pygame & Official Raspberry Pi 7" touchscreen

2019-02-03 Thread David Lönnhager
Touch events (FingerMotion, FingerDown, FingerUp, and MultiGesture) have been added to pygame. Should work if you build it with SDL2. On Sun, Feb 3, 2019 at 2:44 AM wrote: > > ‐‐‐ Original Message ‐‐‐ > On Sunday, February 3, 2019 1:44 AM, Go Peppy wrote: > > > That "driver" handles eve

Re: [pygame] IDE

2018-12-22 Thread David
st/most common, color, line numbering, tab/spacing, etc. thanks, you confirmed my feelings on using vim. > > On Sat, Dec 22, 2018, 10:02 AM David >> Just wondering which IDE people use... >> I know some love ATOM editor (which isn't an ide, but still...) >> some love

[pygame] IDE

2018-12-22 Thread David
DE? Python-specific IDE or one of many? Cross-platform is a major plus, but Linux only is fine -win/mac only is NOT Should teens learning to program use a safe, simple, fluffy one, or just dive into what many people use? -- David *Running Linux since 1994* *IT Tech Support *

Re: [pygame] PyGame user interface widgets

2017-03-04 Thread David Burton
ox dialogs). Dave -- Begin forwarded message -- From: David Burton Subject: Re: DavesGui To: ... ...I've been meaning to get some documentation and tidier demos put together for this thing, but it still hasn't happened. But here's what I have: http://www.burtonsys

Re: [pygame] GUI for pygame : ThorPy

2015-06-25 Thread David Burton
Hi Yann, I made one, too, a couple of years ago. Here it is: http://www.burtonsys.com/download/DavesGUI.zip It sounds like yours is probably more complete than mine, but if there's anything in mine which is useful to you, please feel free to plagiarize (per the notice in the comment block at the

Re: [pygame] Slow rendering speed - sprites

2015-03-07 Thread David Unric
extra CPU to render. > > When I use same-size filled rects of the same dimensions I get a little over > 200 fps. > > When you load your image, you might get better performance if you convert() > it or convert_alpha(). > > Hope this helps. > > Gumm > > > On 3/7

[pygame] Slow rendering speed - sprites

2015-03-07 Thread David Unric
Hello, I'm considering a game framework for next more serious project. As I'm Python/Ruby language agnostic, I did rewrote simple sprite benchmark from Gosu to latest Pygame to do a performance comparison. You may find the code bellow. I was very surprised Pygame version performs much more worse.

Re: [pygame] Dark Gates - pygame game on Steam.

2015-02-05 Thread David Muffley
Is there any chance you would make an older version of the code available for free download? From a couple years ago, even. David On Thu, Feb 5, 2015 at 12:45 PM, diliup gabadamudalige wrote: > Hi what is the procedure you followed to get your game on steam? Can you > give me som

[pygame] The pygame.org web site mess

2014-10-02 Thread David Burton
Pygame's web site situation is a mess. None of these pages have up-to-date Windows builds of pygame for the current version of Python 3 (version 3.4.1): - http://www.pygame.org/download.shtml - http://pygame.org/ftp/ - ftp://pygame.org/pub/pygame - http://pygame.info/downloads/ - ht

Re: [pygame] Updating the pygame.org news section with an intro video to pygame?

2014-05-22 Thread David
The unofficial 3.4 build does not seem to install on the just-released Python 3.4.1. The installer errors with an error message to the effect that a 3.4 version was not found. Perhaps the version check is too precise. David Keeney On Thu, May 22, 2014 at 6:29 AM, Paul Vincent Craven wrote

Re: [pygame] IDE ?

2014-04-07 Thread David
Thank you! On Mon, Apr 7, 2014 at 8:37 PM, Tony Cappellini wrote: > PyCharm is the best bang for a free buck, but I've used WingIDE for almost > 8 years too. > Both are cross platform. > > > On Mon, Apr 7, 2014 at 5:15 PM, David wrote: > >> On Mon, Apr 7,

Re: [pygame] IDE ?

2014-04-07 Thread David
On Mon, Apr 7, 2014 at 8:37 PM, Tony Cappellini wrote: > PyCharm is the best bang for a free buck, but I've used WingIDE for almost > 8 years too. > Both are cross platform. > As your email popped in, I was reading the WingIDE page. Do you have the 101 (free), personal, or pro?

Re: [pygame] IDE ?

2014-04-07 Thread David
t the people in *this* group used themselves; editors or IDEs and although it may be a different answer, what they see being used professionally. -- David Running Linux since 1994

[pygame] IDE ?

2014-04-07 Thread David
now of one that many people generally use and like) thanks. -- David Running Linux since 1994

Re: [pygame] Installing Pygame

2014-01-28 Thread David
C:\Python32\blankgame.py", line 1, in > import pygame,sys > ImportError: No module named 'pygame' > > When I import pygame using the shell however, it works fine. I am using > Python 3.2.3 and the Pygame installer I downloaded > ispygame-1.9.2a0.win32-py3.2.msi. > > -- David Running Linux since 1994

Re: [pygame] Quick OS survey - 2013

2013-12-13 Thread david BERTRAND
90% arch linux (writing) 10% Windows 7 + Windows xp + MacOs 10.6 (testing) 2013/12/8 Chris Handy > 100% Linux Mint > > > On 7 December 2013 19:50, Andrew Barlow wrote: > >> 75% Window 7 >> 25% Ubuntu >> >> >> On 7 December 2013 00:01, Kevin Secretan wrote: >> >>> 99% Gentoo Linux >>> 1% Windo

Re: [pygame] install how?

2013-10-04 Thread David
On Fri, Oct 4, 2013 at 2:50 PM, Paul Vincent Craven wrote: > Here are several versions of the installer for Windows: > https://bitbucket.org/pygame/pygame/downloads > > Paul Vincent Craven > > > On Fri, Oct 4, 2013 at 1:48 PM, David wrote: > >> There is no installer

Re: [pygame] install how?

2013-10-04 Thread David
t 4, 2013 at 1:38 PM, Paul Vincent Craven > wrote: > >> My notes on a windows build: >> http://pygame.info/developers/ >> >> I think you can actually dependencies all in one package from somewhere, >> but I'm not sure where. >> >> Paul Vincent Craven

Re: [pygame] install how?

2013-10-04 Thread David
> You mention you grabbed the zip file with the source. Start with that and > run a "python setup.py install", which will configure, compile, and install > pygame for you. You'll need to make sure you have the Pygame dependencies > installed, which is all the SDL-dev librari

[pygame] install how?

2013-10-04 Thread David
How exactly do you install pygame? I find nothing out there. I'm guessing - put the unzipped files in the python folder? copy the files in the Include to the python33/include and in the lib to the python33\lib that is, add them to the others in those folders? ?? -- David Running Linux

Re: [pygame] install problem

2013-06-14 Thread David
0.win32-py3.3.msi > > > On 14/06/13 01:14 PM, David wrote: > > *Ok thanks. Almost there.* > From the https://bitbucket.org/pygame/pygame/downloads site: > > *- prebuilt-pygame1.9.2pre-msvcr100-win32.zip (1,903,169 bytes) > * > * > *The external libraries required

Re: [pygame] install problem

2013-06-14 Thread David
s with python > versions greater then 3.3.1 which was fixed but wasn't updated on the ftp > site. > https://bitbucket.org/pygame/pygame/downloads > > Kevin > > > > On 14/06/13 12:34 PM, Noel Garwick wrote: > > You need to install the version of pygame for python 3

[pygame] install problem

2013-06-14 Thread David
me.base import * ImportError: DLL load failed: The specified module could not be found. >>> *Why did it fail?* -- David Running Linux since 1994

Re: [pygame] which version?

2013-05-31 Thread David
thank you. On Fri, May 31, 2013 at 3:23 PM, Jake b wrote: > The site doesn't make it clear, but I think you use these installers first > : https://bitbucket.org/pygame/pygame/downloads > > > > On Thu, May 30, 2013 at 11:52 AM, David wrote: > >> It would be helpf

[pygame] which version?

2013-05-30 Thread David
python.org/ftp/python/3.3.2/python-3.3.2.msi> - WHICH VERSION OF PYGAME WILL WORK WITH THAT? Thanks! (and sorry if its there and I missed it) -- David

[pygame] Draft PEP 3156 -- Asynchronous IO Support Rebooted

2012-12-21 Thread David Burton
Re: http://www.python.org/dev/peps/pep-3156/ Early draft PEP 3156 defines an event loop for handling asychronous I/O. I've not looked at it, but my guess is that this could be problematic for compatibility with pygame, which uses thinly-wrapped SDL events. Perhaps someone from the pygame communi

Re: [pygame] GUI toolkit for Python for Android

2012-06-01 Thread David Burton
Hey, Brian, I've written an incomplete but working pygame sprite-based GUI system, which you are welcome to try. It supports basic GUI elements like buttons, vertical menus, dialog boxes, scroll bars, and forms. It doesn't currently have cascading menus, a file-browser, or an HTML renderer. Use

Re: [pygame] Pygame crashes reliably when clicking away.

2012-03-17 Thread David Burton
It works fine for me with 32-bit Python 3.2 and Python 2.7, running on Windows 7: Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32 Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32 I am running slightly newer pygames than you are.

Re: [pygame] Python 3, scrap, and the Mac

2012-03-17 Thread David Burton
Hi Lenard, Did your scrap module ever get merged into Python 3? Pydoc fails on pygame 1.9.2pre using Python 3.2.1 (32-bit) on Windows 7: NotImplementedError: scrap module not available (ImportError: No module named scrap) server> c:\python32\Lib\inspect.py:103: RuntimeWarning: use scrap: No mo

Re: [pygame] issue with pygame.rect.inflate_ip()

2012-02-06 Thread david BERTRAND
so important in gaming. Regards, David.

Re: [pygame] issue with pygame.rect.inflate_ip()

2012-02-05 Thread david BERTRAND
Hi kevin, hi Lenard, here is my try : import pygame pygame.init() class Box(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) self.image = pygame.Surface((10, 10)) self.rect = self.image.get_rect() b = Box() print "initial b.rect : %s b.

Re: [pygame] issue with pygame.rect.inflate_ip()

2012-02-05 Thread david BERTRAND
Hi Lenard, I agree with you (and with the theory), but in practice, the new object size and the new center position are not correct ( in both case, the error is (x/2, y/2). regards, David 2012/2/4 Lenard Lindstrom > On 04/02/12 07:12 AM, david BERTRAND wrote: > >> Hi, >> &

[pygame] issue with pygame.rect.inflate_ip()

2012-02-04 Thread david BERTRAND
; Please, excuse me if I am wrong : I am not a great C reader. David.

Re: [pygame] pygame download page still reccomends python 2.5

2011-09-29 Thread David Burton
Or 3 On Thu, Sep 29, 2011 at 6:28 PM, Ian Mallett wrote: > On Thu, Sep 29, 2011 at 4:20 PM, Jake b wrote: > >> I don't think its true anymore, AFAIK you should go with python2.7 for >> pygame. >> There is a python 2.7 download on the mailing list. >> >> Outside of pygame, 2.7.x is what you want

Re: [pygame] growing out of idle ide

2011-08-15 Thread David Burton
"Eric Python IDE" sounds pretty nice. Has anyone here tried it? http://eric-ide.python-projects.org/ Dave On Tue, Aug 16, 2011 at 12:16 AM, David Burton wrote: > Stani's Python Editor unfortunately depends on wxPython, which I think > means no Python 3 version, now and fo

Re: [pygame] growing out of idle ide

2011-08-15 Thread David Burton
Stani's Python Editor unfortunately depends on wxPython, which I think means no Python 3 version, now and for a long time to come. On Mon, Aug 15, 2011 at 2:28 PM, Kevin Secretan wrote: > > I played with SPE (Stani's Python Editor) a while back, it was pretty neat: > http://pythonide.stani.be/ >

Re: [pygame] growing out of idle ide

2011-08-15 Thread David Burton
y good. Dave On Mon, Aug 15, 2011 at 5:55 AM, Alex Nordlund wrote: > On Mon, Aug 15, 2011 at 9:31 AM, David Burton > wrote: > > doesn't support Python 3. Rats! > > Why are you using Python 3? > > > --- > //Alex >

Re: [pygame] growing out of idle ide

2011-08-15 Thread David Burton
Is anyone here using Eclipse+PyDev, or Eclipse+DLTK? Opinions, please? Dave On Mon, Aug 15, 2011 at 4:31 AM, David Burton wrote: > Downloaded DrPython only to discover that it depends on wxPython, and thus > doesn't support Python 3. Rats! > > Dave > > > On Thu, Au

Re: [pygame] growing out of idle ide

2011-08-15 Thread David Burton
Downloaded DrPython only to discover that it depends on wxPython, and thus doesn't support Python 3. Rats! Dave On Thu, Aug 11, 2011 at 9:49 PM, B W wrote: > Tried many, keep going back to DrPython. Its Qt layout is a bit nicer in > Windows than Linux, though. > > Gumm > >

Re: [pygame] freesansbold.ttf

2011-05-08 Thread David Burton
, 2011 at 3:28 PM, Nathan BIAGINI wrote: > Ok so now the freesansbold font seems to be found but i got a Fatal error > each time i want to use it. > > > 2011/5/8 Nathan BIAGINI > >> Hum... Nicer i can't say but it's a pretty simple font and also usable for >&g

Re: [pygame] Sprite troubles

2011-04-30 Thread David Burton
screen = pygame.display.set_mode(scrsize, pygame.constants.RESIZABLE) screen.fill((240,240,240)) sprite_group.draw(screen) pygame.display.update() * Dave On Sat, Apr 30, 2011 at 8:52 PM, David Burton wrote: > RenderPlain? What's that? It's not mentioned here: > http:/

Re: [pygame] Sprite troubles

2011-04-30 Thread David Burton
RenderPlain? What's that? It's not mentioned here: http://www.pygame.org/docs/ref/sprite.html I found it mentioned in some 2002 documentation. I think it might be obsolete. Not sure. I've been using pygame.sprite.OrderedUpdates. Dave

Re: [pygame] Re: I can't install pygame on activestate python [win, 32bit python 2.7]

2011-04-13 Thread David Burton
you are reading this... I can also >>> build a new installer, with the under development freetype and _movie >>> modules included. Would there be interest in a Python 3.2 installer? >>> >>> Lenard Lindstrom >>> >>> >>> On 02/04/11 07:50 PM, Davi

Re: [pygame] News: SDL 1.3 is now under the zlib licence.

2011-04-11 Thread David Burton
Hey, stupid gmail, what happened to my line breaks?!? If the code is all run together when you view it in email, you can find it here: http://www.pygame.org/docs/ref/event.html in the comments under *pygame.event.Event * Dave On Mon, Apr 11, 2011 at 11:59 PM, David Burton wrote: > On Sun,

Re: [pygame] News: SDL 1.3 is now under the zlib licence.

2011-04-11 Thread David Burton
On Sun, Apr 10, 2011 at 8:08 PM, Jake b wrote: > Are there new features in 1.3 , and will any be available in pygame in the > near future? Couldn't figure out a good google query. One thing that changes is event numbers. Event numbers are 16 bits in SDL 1.3 (as opposed to 5 bits in SDL 1.2),

Re: [pygame] Recommendations required

2011-04-04 Thread David Burton
Go to youtube and search for: Pygame Tutorial TheNewBoston ("Bucky") has some good ones. Dave On Mon, Apr 4, 2011 at 9:10 PM, Jake b wrote: > Asteroids > Pong > Tetris > Space invaders > A top down shooter > > On Monday, April 4, 2011, ANKUR AGGARWAL wrote: > > Hey > > I am reading pygame mo

Re: [pygame] Re: I can't install pygame on activestate python [win, 32bit python 2.7]

2011-04-02 Thread David Burton
Yes, thank you, Lenard!! Could you, perhaps, put it on the web site? I think it will have broad appeal! I remember being surprised and disappointed there wasn't a pygame windows installer for 2.7. Python 2.7 seems to be the "most mainstream" version, since is the version at www.ninite.com. Dav

Re: [pygame] Using reStructuredText for document sources

2011-03-05 Thread David Burton
On Sat, Mar 5, 2011 at 4:41 AM, René Dudfield wrote: > On Fri, Mar 4, 2011 at 6:42 PM, David Burton wrote: > > >> Uh, what does "ACE" mean? >> >> Dave >> >> > hey, > > It's a superlative like excellent or RAD. As in 'Monty python is bulk > ace!'. > Swell! * ;-)* Dave

Re: [pygame] Using reStructuredText for document sources

2011-03-04 Thread David Burton
t; > cya! > > > > > > On Fri, Mar 4, 2011 at 5:41 PM, Lenard Lindstrom wrote: > > >> Hi, >> >> I guess the concern is that there is no one assigned with doing overall >> maintenance of the documentation. Pygame is an informal operation. >> >>

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
dn't it be "Surface.unmap_rgb"? On Fri, Mar 4, 2011 at 2:17 AM, David Burton wrote: > *Oops!* I was obviously too hastly picking my example. > >

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
s. Still, the comments are invaluable. Dave On Fri, Mar 4, 2011 at 2:04 AM, David Burton wrote: > On Fri, Mar 4, 2011 at 12:49 AM, Lenard Lindstrom wrote: > > > >> ... As for comments, they can be hidden. But some way is needed to flush >> them. Maybe comments should

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
On Fri, Mar 4, 2011 at 12:49 AM, Lenard Lindstrom wrote: > ... As for comments, they can be hidden. But some way is needed to flush > them. Maybe comments should only be allowed for the frequently updated docs, > with comments older than (let's say) six months automatically deleted. > > *N

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
Agreed! There are, however, many choices to be made... like what wiki system to use. There are a *lot* of Wiki systems available. http://www.wikimatrix.org/ lists 129(!!) different wiki systems. Here's a comparison of a few of them: http://www.wikimatrix.org/compare/DokuWiki+MediaWiki+MoinMoin

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
On Thu, Mar 3, 2011 at 9:37 PM, Greg Ewing wrote: > As for downloadability, I think that it is possible to export wiki >> content as downloadable HTML documentation, >> > But then you just get a dump of a wiki, not properly designed > and written documentation. > Why would you expect that the wi

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
27;d need to > moderate it, remove spam/stupid and/or wrong content/etc. -> work, no one > has time for. > > Regards, > Julian On Thu, Mar 3, 2011 at 8:09 PM, Greg Ewing wrote: > David Burton wrote: > >> I think just putting up a wiki with the documentation wou

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread David Burton
I think just putting up a wiki with the documentation would be much better. It would put an end forever to the need for you to update the documentation and the complaints about it being out of date! Dave On Thu, Mar 3, 2011 at 6:09 PM, Lenard Lindstrom wrote: > Hi everyone, > > It seems that

Re: [pygame] Inconsistency in online docs

2011-03-01 Thread David Burton
dating the docs in SVN is on the TODO > list. Personally, I am considering translating them to reStructuredText or > something. > > Finally, the online docs are out-of-date. I believe there was a plan to > have them update from SVN automatically. But I don't know what has happene

Re: [pygame] Inconsistency in online docs

2011-03-01 Thread David Burton
There are many other errors in the docs, too. Click "show all comments" and read the comments on the various documentation pages to read about them. They don't appear to have been updated in a long time. Is anyone "in charge of" those documents? Is there a way to volunteer to fix some of the pr

Re: [pygame] Re:10 hours of sex is guaranteed!

2011-02-26 Thread David Burton
password, ASAP!* Note that this problem seems to happen with all the major webmail services: yahoo, gmail, aol, and hotmail. Dave On Sat, Feb 26, 2011 at 7:59 PM, David Burton wrote: > On Sat, Feb 26, 2011 at 4:37 PM, Rob wrote: > >> Congratulations! I can help you!... >>

Re: [pygame] Re:10 hours of sex is guaranteed!

2011-02-26 Thread David Burton
On Sat, Feb 26, 2011 at 4:37 PM, Rob wrote: > Congratulations! I can help you!... > http://chpci.com/links.php?siSID=007 > Dear Rob, Your Gmail account has been hijacked!! The bad guys have your gmail account password, and are spamming the addresses i

Re: [SPAM: 3.100] Re: [pygame] GSoC

2011-02-07 Thread David Burton
On Mon, Feb 7, 2011 at 3:52 PM, Greg Ewing wrote: > David Burton wrote: > > So if the GUI toolkit uses callbacks to communicate its results to the >> application code, then when one of those callbacks into the application gets >> called, it's nested something like this

Re: [pygame] GSoC

2011-02-07 Thread David Burton
Or you could do it the other way around. Instead of building event support on top of callbacks, by having callback functions which (optionally) post pygame events, you could build callback support on top of events, by posting pygame events which (optionally) contain callback functions. In Python,

Re: [pygame] GSoC

2011-02-07 Thread David Burton
On Mon, Feb 7, 2011 at 1:28 PM, DR0ID wrote: > > Hi > > " from deep within the GUI code itself" <-- how does that get called? from > the event loop? > In a typical pygame app, the event loop is simply the outermost level of the application. So if the GUI toolkit uses callbacks to communicate

Re: [pygame] GSoC

2011-02-06 Thread David Burton
On Sun, Feb 6, 2011 at 4:42 PM, Greg Ewing wrote: > David Burton wrote: > > (That's because, if you are an experienced programmer, you have learned >> [probably the hard way] that you really don't want to start anything >> complicated in response to a click if y

Re: [pygame] GSoC

2011-02-06 Thread David Burton
ct() TypeError: 'dict' object is not callable >>> ev.__dict__ Traceback (most recent call last): File "", line 1, in ev.__dict__ AttributeError: event member not defined >>> ev.dict {'internal': False, 'id': 'test'} >>>

Re: [pygame] GSoC

2011-02-05 Thread David Burton
*Any GUI-widget toolkit needs to send information back to the application about the events that happen: button clicks, menu items picked, text entered, etc.. There are two obvious ways to do that in pygame: callbacks and pygame events.* * * *Pygame events are by far the better approach. * * * Here

Re: [pygame] OpenGL + OS X refresh problem

2010-11-12 Thread David Warde-Farley
to do with double-buffering or something like that? At any rate, it might be worth mentioning in the documentation if you have some sort of 'troubleshooting' or 'FAQ' page. David On Thu, Nov 11, 2010 at 06:24:29PM -0500, David Warde-Farley wrote: > Thanks for your reply Bria

Re: [pygame] OpenGL + OS X refresh problem

2010-11-11 Thread David Warde-Farley
, do you know if you are using 32-bit or 64-bit python? 64-bit. It's the Python 2.7 for OS X 10.6 installer provided at Python.org. > Where did you install pygame from? >From source, I tried both easy_install and with the tarball manually. David

[pygame] OpenGL + OS X refresh problem

2010-11-11 Thread David Warde-Farley
n.org and the latest PyOpenGL (3.0.1, I think, whatever easy_install delivers as of last night). Many thanks, David

Re: [pygame] roguelike question

2010-10-04 Thread David Gowers (kampu)
On Tue, Oct 5, 2010 at 8:59 AM, Michael Schultz wrote: > >> Have you read PEP 8? >> >> Your Common.Common class, which has two unrelated methods and no >> instance state, and is instantiated everywhere for a single use and then >> discarded, is not how we do things in Python land.  What's wrong wi

RE: [pygame] are individual midi instruments sounds copyrighted

2010-07-21 Thread David Taylor
You guys are working much too hard at this. All you have to do is download the Furniture Genuine Advantage patch from Microsloth.com. Then you will have the comfort of knowing that your furniture is truly your own property and not a pirated copy of someone else's furniture. You will also be able to

RE: [pygame] Layout module for Pygame surfaces

2010-05-16 Thread David Taylor
I like that idea a whole lot more than XML. > -Original Message- > From: owner-pygame-us...@seul.org [mailto:owner-pygame-us...@seul.org] On Behalf Of > Mark Reed > Sent: Saturday, May 15, 2010 12:07 PM > To: pygame-users@seul.org > Subject: Re: [pygame] Layout module for Pygame surfaces

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread David Muffley
Windows XP Python 2.6.4 Pygame 1.9.1

RE: [pygame] informal poll on Windows python version

2010-04-28 Thread David Taylor
Windows XP, SP3 Pygame 1.9.1 Python 2.6, & very happy with it. Will move to 3.1 as soon as all the libraries I use have been ported. > -Original Message- > From: owner-pygame-us...@seul.org [mailto:owner-pygame-us...@seul.org] On Behalf Of > James Paige > Sent: Wednesday, April 28, 201

Re: [pygame] pygame.image.save(...)

2010-04-27 Thread David Muffley
My first instinct is that the first several frames' data is sent to your hard drive, where it's cached to be written, which fills up faster than it's depleted since the file size per second is higher than your disk can handle writing it. I had this issue myself trying to do something similar. If

RE: [pygame] Running Python 2.5 alongside 2.6

2010-04-27 Thread David Taylor
Doh! Guess I didn't look past the big bold notice. I also had pygame 1.7 installed and hadn't uninstalled it yet, & that could have been the problem. Anyway, I uninstalled 1.7, downloaded the Python 2.6 version, and I'm up and running. Thanks for your help. I'm eager to try out the MIDI feat

[pygame] Running Python 2.5 alongside 2.6

2010-04-27 Thread David Taylor
ion of 2.5 doesn't let me change the value. Can someone explain to me how I can run PyGame on 2.5 while using 2.6 for my other work? Rolling the other work back to 2.5 isn't an option for me. Thanks, David

Re: [pygame] GSoC project proposal: A new draw module

2010-04-05 Thread David
hat provides you a pygame surface within an OpenGL display, that you can draw on using Pygame drawing libraries and GUIs. I have not used it for a year or so, but if you are using PyOpenGL/OpenGL 2, it should work fine. http://pitchersduel.wordpress.com/2007/07/13/lamina-v-02/ David Keeney I am the author, so feel free to email me for assistance, if you decide to use it. -- dkee...@travelbyroad.net Rdbhost -> SQL databases as a webservice [www.rdbhost.com]

Re: [pygame] Pygame and Enthought

2010-01-07 Thread David Arnold
Bill, EPD is installed in /Library/Frameworks/Python.framework/Versions/6.0/ David On Jan 7, 2010, at 6:03 PM, Bill Coderre wrote: > On Jan 7, 2010, at 10:13 AM, David Arnold wrote: >> Hi, >> >> I've installed the latest EPD 6.0 on a Macbook Pro running Snow Leopard

Re: [pygame] Pygame and Enthought

2010-01-07 Thread David Arnold
Brian et al, I downloaded: pygame-1.9.1release-py2.6-macosx10.5.zip Then ran the installer. At the Destination Select window, the installer gave this error: "pygame 1.9.1release can't be installed on this disk. pygame requires System Python 2.6 to install." David On Jan 7

[pygame] unsubscribe

2010-01-07 Thread David Gustafson
-- Doubt is not a pleasant condition, but certainty is absurd. -- Voltaire

Re: [pygame] Pygame and Enthought

2010-01-07 Thread David Arnold
cary. I think I can easy_install pyobjc. What about numeric? I have numpy installed. Is numeric really necessary? David. On Jan 7, 2010, at 10:32 AM, James Paige wrote: > On Thu, Jan 07, 2010 at 10:13:15AM -0800, David Arnold wrote: >> Hi, >> >> I've installed th

[pygame] Pygame and Enthought

2010-01-07 Thread David Arnold
but these depended on Macpython, a different distribution. Has anyone installed pygame in the Enthought distribution that could lend some advice? Thanks David Arnold College of the Redwoods Department of Mathematics

[pygame] Intallaing pygame with enthought

2010-01-06 Thread David Arnold
pygame.org and seen some hints for installing on Snow Leopard, but these use the Macpython, not the EPD 6.0 distribution from www.enthought.com. Any help will be appreciated. David Arnold College of the Redwoods Department of Mathematics

Re: [pygame] 10 bits per color

2009-10-07 Thread David Gowers
On Fri, Oct 2, 2009 at 12:20 PM, Greg Ewing wrote: > James Paige wrote: > >> So by that measure, average human eyes should not be able to tell the >> difference between RGB888 and RGB101010 > > There could conceivably be an advantage in terms of > dynamic range to using more bits, if the display >

Re: [pygame] Networking library

2009-04-14 Thread David
Chris: Could you share your test code, that you used to evaluate gherkin and rencode? David On Tue, Apr 14, 2009 at 3:25 AM, Chris McCormick wrote: > After talking to a friend who suggested a few different serialisation methods, > like gherkin, and rencode, I tried implementing a seriali

[pygame] py2exe oceangui problem

2009-04-07 Thread David Gustafson
I'm having a problem and I wonder if anyone has any insight. I have a program that works runs properly but when I use py2exe to create an executable and then attempt to run that executable from the dist dir I get: D:\code\test\dist>twisted_ocean_client.exe D:\code\test\dist\library.zip\twisted\sp

Re: [pygame] new game

2009-02-09 Thread David Gowers
On Tue, Feb 10, 2009 at 9:40 AM, Yanom Mobis wrote: > DO NOT USE CVS OR SVN! > use Mercurial. Cvs and Svn are much to complicated. Git. Free repository hosting is available at: http://repo.or.cz I use it myself -- http://repo.or.cz/w/pyion.git David

Re: [pygame] free 3D glasses in some US grocery stores

2009-02-02 Thread David
dy is interested, I can test and update it. David http://pduel.sourceforge.net/spyre/frames.html On Sat, Jan 31, 2009 at 7:04 PM, Bill Coderre wrote: > > On Jan 31, 2009, at 5:50 PM, Ian Mallett wrote: > > The maths for this are simple. > > In OpenGL it's extremely doable r

Re: [pygame] Geany

2008-11-16 Thread David Gowers
roduces an equivalent result, with the benefit of easily obtaining additional flags also (eg `pkg-config --cflags sdl glib-2.0`) David -- Truth isn't something you can know. It's something you can do.

Re: [pygame] regarding sys...

2008-11-16 Thread David Gowers
he paths listed in PYTHONPATH are automatically added to sys,path. This is why it does not normally need to be set to anything. David

Re: [pygame] regarding sys...

2008-11-16 Thread David Gowers
close python and open it > again? David

  1   2   >