Re: [pygame] Current working version of Python and pygame

2020-10-23 Thread Berlioz Silver
You can add python to PATH by rerunning the same installer you used to install it. There will be a "modify" choice, and in the next two pages are options to adjust the parts of python installed, and to add it to "the environment"-- the PATH. I would suggest using 3.7. 3.8 is likely to work, but at

Re: [pygame] OpenGL stretch of a pygame.Surface

2014-08-07 Thread Berlioz Silver
right. Before you blit. My bad. On Mon, Aug 4, 2014 at 6:03 PM, Greg Ewing wrote: > Berlioz Silver wrote: > >> You want pixels2d, which gives you a variable which _references_ the data. >> > > Yes, sorry, I got it the wrong way round. You need to start > with a norma

Re: [pygame] OpenGL stretch of a pygame.Surface

2014-08-04 Thread Berlioz Silver
You want pixels2d, which gives you a variable which _references_ the data. While the reference is still there, the surface is locked (otherwise you could change the data mid-blit, which would be bad). Instead, you should use: del (variable with pixels2d in it) right before you pass it off to GL o

Re: [pygame] Re: Pygame not handling keyboard tracking correctly

2014-06-23 Thread Berlioz Silver
OK EVERYONE. If someone had read the python docs, they'd have known exactly why this occurs. The difference between the keyword operator "is" and "==" is due to the fact that: * some people want to compare a custom class and an integer, and if the custom class' __ methods return the same as the i