[pygame] Re: Can't install pygame on Windows. Please help!

2018-07-01 Thread John Salerno
Thanks guys! It worked with 3.6.5. I'll keep using that for now. Much appreciated! On Sunday, July 1, 2018 at 12:18:57 PM UTC-5, John Salerno wrote: > > Hi all. I just tried installing pygame on my Windows system using the > following on the command line: > > python -

[pygame] Can't install pygame on Windows. Please help!

2018-07-01 Thread John Salerno
Hi all. I just tried installing pygame on my Windows system using the following on the command line: python -m pip install --user pygame but it seems to have failed. Below is a link to an image of the command window after it ran. Why didn't this work? Did anypart of it install? I don't want to

[pygame] Some pygame documentation typos

2015-06-04 Thread John Smith
https://www.pygame.org/docs/ various programs demonstrating the use of individual pyame modules https://www.pygame.org/docs/tut/chimp/ChimpLineByLine.html players fist Since this sprite container is really an instance of the "DrawPlain" sprite group, it knows how to draw our sprites. https://www.

[pygame] remove

2014-05-14 Thread John Jameson
Hi - could you take me off your list? Great list though! best, john

[pygame] no midi

2012-01-04 Thread John Jameson
Thanks Anthony, I now see the recent thread on this issue. John From: Anthony Palomba Reply-To: Date: Wed, 4 Jan 2012 18:25:43 -0600 To: Subject: Re: [pygame] no midi I think last I heard MIDI output was not working. It seems to not be included in the current build. Anthony On Wed

[pygame] no midi

2012-01-04 Thread John Jameson
thons 2.6 and 2.7. Anyone know what happened to the midi? thanks, john

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
Perfect ­ thanks so much yet again! John From: Lenard Lindstrom Reply-To: Date: Mon, 24 Oct 2011 19:26:02 -0600 (MDT) To: Subject: Re: [pygame] Fast method for pixellated animation Hi, The Pygame scroll.py example program uses the pygame.transform.scale function to zoom in on an image

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
Thanks ­ I tried this but I'm just learning pygame and just need to get a little higher on the curve I guess. I'll get it though. Thanks so much again. john From: Christopher Night Reply-To: Date: Mon, 24 Oct 2011 18:22:00 -0400 To: Subject: Re: [pygame] Fast method for

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
possible? If not, is there yet another way to do this that might be more efficient? thanks, john

Re: [pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
:05 AM, "Lenard Lindstrom" wrote: >Hi John, > >I have experimented with lazy importing of Pygame modules. Modules are >only loaded when directly accessed. It does decrease Pygame startup >time. I am considering adding it to Pygame 1.9.2. If there is interest I >can make it a

Re: [pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
ons on only the packages you need, i.e. display, mixer, etc. And see if that helps. At the very least, we'll have a better idea of which packages are causing slowdown. On Fri, Aug 26, 2011 at 8:58 AM, John Jameson wrote: > I have a new Macbook Pro running 10.6 Snow Leopard and when I run any p

[pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
e? I installed python 2.6 via Macports (64bit) with Pygame 1.9. best, John

Re: [pygame] Forcing sprites to use specific palette entries?

2010-08-17 Thread John Anderson
it. On Tue, Aug 17, 2010 at 11:59 AM, Lenard Lindstrom wrote: > Palette surfaces blit to 24 bit or 32 bit surfaces without any color > changes. So unless the screen is set to 16 bit colors, there will be no > problem. > > Lenard Lindstrom > > > On 16/08/10 04:36 PM, John A

Re: [pygame] Forcing sprites to use specific palette entries?

2010-08-16 Thread John Anderson
we can reproduce your > issue. > > -Thiago > > On Sun, Aug 15, 2010 at 10:12 PM, John Anderson > wrote: > > I actually have one, but I would like if it were possible to alter which > > palette entries are used by pygame in real-time, what it seems happens > when &

Re: [pygame] Forcing sprites to use specific palette entries?

2010-08-15 Thread John Anderson
out, or is it my display setup? On Sun, Aug 15, 2010 at 10:01 AM, Thiago Chaves wrote: > You need an image editor that gves you an easy way to keep track of > the color index of your palettes. =) > > -Thiago > > On Fri, Aug 13, 2010 at 6:32 PM, John Anderson > wrote: >

Re: [pygame] Forcing sprites to use specific palette entries?

2010-08-13 Thread John Anderson
ctions on surfaces? > > http://www.pygame.org/docs/ref/surface.html#Surface.get_palette > > -Thiago > > On Thu, Aug 12, 2010 at 8:56 PM, John Anderson > wrote: > > Hi, I was wondering if it was possible to force an 8-bit colour sprite to > > use a very particular set o

[pygame] Forcing sprites to use specific palette entries?

2010-08-12 Thread John Anderson
Hi, I was wondering if it was possible to force an 8-bit colour sprite to use a very particular set of palette entries, like say, Sprite A uses colour indicies 0 - 16, and Sprite B uses 17 - 32. As it stands, pygame automatically assigns the colours in a sprite to the closest colour on the main pa

Re: [pygame] Sprite colours dont maintain same palette indicies

2010-07-30 Thread John Anderson
t has this functionality, but not the display itself. On Fri, Jul 30, 2010 at 4:08 PM, John Anderson wrote: > Hmm, using .setPalette() doesnt seem to help matters, perhaps it has > something to do with the way I've loaded images/ converted them? I've been > using the image loader from

Re: [pygame] Sprite colours dont maintain same palette indicies

2010-07-30 Thread John Anderson
tized .gifs and then converted with no arguments to pixel format. On Fri, Jul 30, 2010 at 3:47 PM, John Anderson wrote: > ah, thats kind of akward syntax, but I think I can manage if I wrap it > properly, thanks! > > > On Fri, Jul 30, 2010 at 2:04 PM, Mel Collins wrote: > >>

Re: [pygame] Sprite colours dont maintain same palette indicies

2010-07-30 Thread John Anderson
ah, thats kind of akward syntax, but I think I can manage if I wrap it properly, thanks! On Fri, Jul 30, 2010 at 2:04 PM, Mel Collins wrote: > On 30 July 2010 19:10, John Anderson wrote: > > it seems that if I change the colours in the main palette (the display > > surface pa

[pygame] Sprite colours dont maintain same palette indicies

2010-07-30 Thread John Anderson
I'm having an issue with my attempts at implementing palette swapping, it seems that if I change the colours in the main palette (the display surface palette), all the sprites onscreen, rather than staying in their respective indicies on the palette, shift to the closest colour on the palette to th

Re: [pygame] pygame missing mouse events

2010-03-17 Thread John Eriksson
Regards /John Eriksson 2010/3/17 René Dudfield : > hi, > > which OS are you using? > > cheers, > > On Thu, Mar 18, 2010 at 12:58 AM, Wakefield, Robert > wrote: >> >> I've been trying to handle mouse support using pygame, and I've found that >&g

Re: [pygame] Problem with Pygame interface on Macs

2010-02-08 Thread John Wormell
ll at least every few seconds pygame.event.get() or wait() or pump() cu, On Mon, Feb 8, 2010 at 12:58 PM, John Wormell wrote: Dear Pygamers, When trying to create a basic Pygame window on the terminal in Mac OS X 10.5.8, this crops up: Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)

[pygame] Problem with Pygame interface on Macs

2010-02-08 Thread John Wormell
rawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz. Upon which Pygame the application stops responding. What should I do? -- John Wormell

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-15 Thread John Eriksson
evels will be set by random. Best Regards /John

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-13 Thread John Eriksson
hope you wont be too angry with me. Best Regards /John Eriksson 2009/11/13 rebus_ : > Heres one to test your unicode :) > Davor Lučić / Croatia >

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-13 Thread John Eriksson
Haha! I guess I didn't read my mail carefully enough before I pressed send. Of course I won't use your e-mail addresses :-) Best Regards /John Eriksson 2009/11/13 Olof Bjarnason : > > > 2009/11/13 John Eriksson >> >> *smile* >> >> I hereby promise t

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-13 Thread John Eriksson
*smile* I hereby promise to not use your names, nationalities or e-mailaddresses in any other way than to name the AI-players in Power Play (or whatever it might be called whenever it's done). Best Regards /John Eriksson 2009/11/13 : > > Hi again. > > may I add that I assu

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-12 Thread John Eriksson
27;m counting (including my self) 15 names from 11 different countris! The PyGame community rocks! Keep 'em comming! Best Regards /John Eriksson

[pygame] Need names and nationalities for AI playes in new sport-game

2009-11-12 Thread John Eriksson
he game is done. If you wan't your name to apear as a AI-player in the game, please send me your name (first + last) and your nationality. Best Regards /John Eriksson http://arainyday.se

Re: [pygame] Strange Error

2009-09-21 Thread John Eriksson
I've seen this some year ago. It occured when another program got hold of all sound resources. Check to see if there is any other program running that might use sound and try to close/terimate that process. /John 2009/9/21 René Dudfield : > my guess is it's a weird corruptio

Re: [pygame] "tint" a surface?

2009-09-21 Thread John Eriksson
Take alook at my PaintBrush project. The PaintBrush class has a feature to set both color and to modify the current alpha values on a brush (wich actually is a surface). Best regards /John http://www.pygame.org/project/1280/?release_id=2230 2009/9/20 Ian Mallett : > On Sat, Sep 19, 2009 at 3

Re: [pygame] Re: Hexagonal collision detection?

2009-09-15 Thread John Eriksson
Ouch...a bug(!!!): This lines: > x = pos[0].rect.w > y = pos[1].rect.h Should be: > x = pos[0] - rect.w > y = pos[1] - rect.h 2009/9/15 John Eriksson : > Code without comments: > > if rect.collidepoint(pos): >  x = pos[0].rect.w >  y = pos[1].rect.h >  c = tup

Re: [pygame] Re: Hexagonal collision detection?

2009-09-15 Thread John Eriksson
Code without comments: if rect.collidepoint(pos): x = pos[0].rect.w y = pos[1].rect.h c = tuple(img.get_at((x,y)) if c[3] > 0: return True return False /John 2009/9/15 John Eriksson : > Hi, > > I allways use the alpha value of an button image to accomplish this. >

Re: [pygame] Re: Hexagonal collision detection?

2009-09-15 Thread John Eriksson
] > 0:# Did we click on a none transparent pixel, Then we have clicked on the image. return True return False My five cents /John Eriksson (wmjoers) 2009/9/15 René Dudfield : > On Tue, Sep 15, 2009 at 12:05 PM, rygoody wrote: >> Where do I get at th

Re: [pygame] Problem with py2exe and font.pyd

2009-08-18 Thread John Eriksson
L = isSystemDLL #--- This will make sure that the SDL_ttf.dll isn't recognized as a system dll. Best Regards /John Eriksson 2009/8/19 John Eriksson : > Hi, > > I found a solution. I had to cop

Re: [pygame] Problem with py2exe and font.pyd

2009-08-18 Thread John Eriksson
Hi, I found a solution. I had to copy the following DLL's manualy: SDL_ttf.dll libfreetype-6.dll Why arn't those included automaticly? Is there a way of telling py2exe to include those? Best Regards /John Eriksson 2009/8/18 René Dudfield : > Hi, > > this post seems to have

[pygame] Problem with py2exe and font.pyd

2009-08-18 Thread John Eriksson
Hi, I'm trying to use py2exe and get the following error when wxwcuting the exe file. C:\Users\john\workspace\FlickrBackupTool\src\FlickrTagTool\FlickrTagTool.exe\lib\GameGUI.py:40: RuntimeWarning: use font: MemoryLoadLibrary failed loading pygame\font.pyd (ImportError: MemoryLoadLibrary f

RE: [pygame] multi-width aalines and aacircles

2009-03-24 Thread John Krukoff
les to draw caps, and viola! AA donuts would still be a pain, and require an offscreen buffer, which is unfortunate. And, likely you'd ask for variable width AA bezier curves next, which also isn't supported. That one may be because it's hard, though. -- John Krukoff he...@comcast.net

[pygame] gsoc idea sqlite db for pygame

2009-03-21 Thread John Robinson
and whether this would a good GSoc project. Thanks John Robinson

[pygame] problems building pgreloaded in Vista

2009-03-20 Thread John Robinson
Last night I tried to build pgreloaded but it wasn't successful. I downloaded msys,MinGW, and all the libraries needed, and ran into some problems. 1.I was unable to run python from Msys or the Windows cmd line.I would say that there was a problem with my Python install, but everything else work

Re: Re: [pygame] gsoc pygame more ideas

2009-03-20 Thread John Robinson
I appreciate clarifying the situation. I noticed on other pages that GSoc usually doesn't allow documentation projects.A whole documentation system.. however...that's interesting and definitely worth writing a proposal about. John p.s. Has anyone built pgreloaded from source in Windows

Re: Re: [pygame] gsoc pygame more ideas

2009-03-19 Thread John Robinson
cu, On Fri, Mar 20, 2009 at 4:29 AM, John Robinson wrote: > I have been browsing the ideas page for pygame projects. > in the previous email,I had raised an interest in working on the math library > for > pygame.I am also interested in helping to develop the documentation and >

Re: Re: [pygame] gsoc pygame more ideas

2009-03-19 Thread John Robinson
-Original Message- From: Marcus von Appen To: pygame-users@seul.org Date: Thu, 19 Mar 2009 19:50:07 +0100 Subject: Re: [pygame] gsoc pygame more ideas On, Thu Mar 19, 2009, John Robinson wrote: > I have been browsing the ideas page for pygame projects. In the > previous email

Re: Re: [pygame] Gsoc pygame math

2009-03-19 Thread John Robinson
skills as a programmer at this point(my c skills are not strong). I'm still interested in working with the documentation and examples though John -Original Message- From: Iuri To: pygame-users@seul.org Date: Thu, 19 Mar 2009 14:32:18 -0300 Subject: Re: [pygame] Gsoc pygame math I guess

[pygame] gsoc pygame more ideas

2009-03-19 Thread John Robinson
ne of the projects. I would like to hear from the group and the mentor on my idea, and any suggestions that may be helpful. John Robinson

[pygame] Gsoc pygame math

2009-03-19 Thread John Robinson
BEGIN:VCALENDAR PRODID:-//Novell Inc//NetMail ModWeb// VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT ATTENDEE;cn=pygame-us...@seul.org;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:pygame-users@seul.org ORGANIZER;CN="John Robinson":MAILTO:john-robin...@utc.edu DTSTART:20090319T143000Z DTEND:200903

Re: [pygame] Implementing the A* finder algoritm in a non tile-based game

2009-02-02 Thread John Eikenberry
ience on this problem and can help me, or point me to > a good documentation somewhere? A nice article on modern path-finding. "Fixing Pathfinding Once and For All" http://www.ai-blog.net/archives/000152.html -- John Eikenberry [...@zhar.net - http://zhar.net] [PGP public

Re: [pygame] Name self not defined

2009-01-29 Thread John Eikenberry
Ian Mallett wrote: > Frankly, I like this solution: > self.rect = self.rect.move(speedv or (0,0)) > Looks Pythonic to me. +1 -- John Eikenberry [...@zhar.net - http://zhar.net] [PGP public key @ http://zhar.net/jae_at_zha

Re: [pygame] Name self not defined

2009-01-29 Thread John Eikenberry
the traditional sense (as I understand it), it is already passed the constructed instance. In python the constructor is the __new__() method which is passed the class and you must call the superclass' __new__() to get the instance to work with. -- John Eikenberry [...@zhar.net - http://z

Re: [pygame] Pathfinding

2009-01-26 Thread John Eikenberry
# is the sprite, > > -> is the direction the sprite is moving, and > > _ and | are obstacles? > > > > > > > > -- John Eikenberry [...@zhar.net - http://zhar.net] [PGP public key @ http://zhar.net/jae_at_zhar_net.gpg]

Re: [pygame] pygame mixer problem upgrading to ubuntu intrepid

2008-11-19 Thread John Eriksson
I have the same problem on Ubuntu 8.10. Did you install Pygame from the ubuntu repository or from the source? /John Eriksson sön 2008-11-16 klockan 16:37 -0600 skrev pymike: > Re-installed and re-booted, and it's still not working. > > On Sun, Nov 16, 2008 at 4:23 PM, pymike <

[pygame] Guidelines for sound?

2008-07-08 Thread John Eriksson
some games for blind and visual impaired users and then the sound is crucial. Help! Best Regards /John

Re: [pygame] Float precision

2008-07-03 Thread John Leach
self.rect.centerx = int(self.xx) self.rect.centery = int(self.yy) where self.xx and self.yy are floats. It was still not perfect but much better than before. John On Thu, 2008-07-03 at 19:36 +0200, OsKaR wrote: > If you try to move forward and left or right it would mad

[pygame] BUG: pygame.time tick()?

2008-06-27 Thread John Leach
ge; I put that down to the fact that if ntpdate was run when the program was not in clock.tick() then it was ok, but if it occurred when inside clock.tick() then the problem could occur. Possibly the reverse could be true. Does this sound likely? Regards John Leach

RE: [pygame] New pygame.Color class now in SVN

2008-05-27 Thread John Krukoff
x27;d probably be first on the list: http://www.imagemagick.org/script/index.php Interestingly, with US patent law it can actually be a good idea not to research if you're infringing on any patents, as knowing that you're infringing can be grounds for treble damages. (Not a lawyer, this is not legal advice, yada yada). - John Krukoff [EMAIL PROTECTED]

RE: [pygame] Maybe a bug in pygame.draw.circle?

2008-05-01 Thread John Krukoff
now what can be done about this. > > -- > Lenard Lindstrom > [EMAIL PROTECTED] Well, I would think the right way to fix it would be to create a "draw_donut" or something similar that adapts the ellipse drawing code to do the right thing. Out of curiosity, is there a good reason why pygame has it's own set of graphic primitive drawing functions in draw.c instead of using SDL_gfx: http://www.ferzkopp.net/joomla/content/view/19/14/ ? - John Krukoff [EMAIL PROTECTED]

RE: win9x testers wanted. Re: [pygame] C file pointers and file loading

2008-05-01 Thread John Krukoff
g that win9x is one of the platforms specifically unsupported by python 2.6: http://www.python.org/dev/peps/pep-0011/ It looks like this is planned deprecation. - John Krukoff [EMAIL PROTECTED]

RE: [pygame] The introduction of my Google Summer Code Project

2008-04-30 Thread John Krukoff
n way to group a large number of vector operations for speed, much like the numpy hacks that people use today. - John Krukoff [EMAIL PROTECTED]

RE: [pygame] pygame.sprite collision callback functions patch.

2008-04-22 Thread John Krukoff
escribing motion yet. And before we can get there, we'd need a 2d vector class at the very least (likely 3d to make everybody happy). Then we might be able to start talking about what collision response means in a generic enough way to be helpful. Until pygame gets there, I just don't see th

[pygame] Need help with CashTrainer!

2008-04-22 Thread John Eriksson
anges (especially the English translation) * If some one could help me find some more currencies it would be great (for exmaple USD and GBP)! * It would be greate if someone could help me translate Cash Trainer to other laguages as well. Thanks in advance! John Eriksson http://arainyday.se

[pygame] pygame.sprite collision callback functions patch.

2008-04-21 Thread John Krukoff
ch kept it from working correctly. By the way, I keep meaning to write a sweep and prune collision detection implementation that'll plug into the standard sprite module, has anybody done that already? - John Krukoff [EMAIL PROTECTED] sprite.patch Description: Binary data

RE: Re: [pygame] Python and Speed

2008-04-18 Thread John Krukoff
hmark.php?test=all&lang=all If python isn't working out for you performance wise, sort by speed and head down the list until you find one you like. Programming langauges are tools, pick the right one for the job. - John Krukoff [EMAIL PROTECTED]

Re: [pygame] get_wm_info on linux

2008-03-12 Thread John
hi i create subwindow for mplayer like this: first you need some imports: from ctypes import * Xlib = CDLL("libX11.so.6") Xtst = CDLL("libXtst.so.6") def create_subwindow(x,y,width,height): pygame_win = pygame.display.get_wm_info()["window"] dpy = Xtst.XOpenDisplay(None) win = Xlib.X

Re: [pygame] Text To Speech PYTTS

2008-03-03 Thread John Popplewell
post contains huge unedited chunks, I just hit SHIFT-T (in Mutt) and all the quoted stuff vanishes, leaving the posters responses easily visible, cheers, John.

Re: [pygame] +1 for sdl directx backend on windows (compiled latest pygame to find opengl fullscreen badness)

2007-11-11 Thread John Popplewell
lkit compiler. I failed to find a working link as Microsoft don't host it anymore :-(. I'll add it to my page, cheers, John.

Re: [pygame] Book review opportunity (the pygame book)

2007-11-02 Thread John Andrew Raub
ou a copy of the book for reviewing. > > Thanks! > Phil > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- -John Andrew Raub

Re: [pygame] centered screen position using SDL_VIDEO_CENTERED

2007-11-01 Thread John Popplewell
estore thing, although it isn't very slick (and isn't included in the demos), regards, John. > >

Re: [pygame] Help with the 3rd Lecture, first tutorial

2007-10-31 Thread John Popplewell
am Files\examples\' directory, right-click on it and select 'Open Command Window Here'. This should open a Windows Command Prompt with the current directory set to the examples directory. I find this invaluable, but that might just be me. Type Python in the shell (if it doesn't work the path is not set correctly) and Python will start. Your problem (2) with the relative path will be fixed now, because the files are loaded relative to the current working directory. I don't know about problem (1). Hope that helps, John.

Re: [pygame] how to react as the window is being resized?

2007-10-16 Thread John Popplewell
On Tue, Oct 16, 2007 at 04:59:39AM -0400, inhahe wrote: > On 10/14/07, John Popplewell <[EMAIL PROTECTED]> wrote: > > On Sun, Oct 14, 2007 at 07:03:49PM -0400, inhahe wrote: > > > > If it has the same problem, try updating SDL.dll, otherwise it sounds >

[pygame] vbl

2007-10-14 Thread John Christie
Hi, Maybe I posed my previous question wrong. I am looking to be able to track the VBL, vertical blank, vertical retrace, what have you. Does anyone have any experience with this in pygame or another package?

[pygame] Patch to compile with MSVC7.1, bug fix to set_blocked(), adds event range-checking

2007-10-14 Thread John Popplewell
tached. Hope it's useful, regards, John. PS the reformatted code looks much better :-) Index: src/transform.c === --- src/transform.c (revision 1052) +++ src/transform.c (working copy) @@ -987,13 +987,13 @@

Re: [pygame] maximize broken..

2007-10-14 Thread John Popplewell
already got first - I usually use 'original-SDL.dll' - just in case :-) It *should* be a drop-in replacement, but I've not tried it. It definitely fixes some window positioning bugs like the ones you are describing, cheers, John. > > > > On 10/14/07, John Popplewell

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
_ == "__main__": main() ## If you are still having problems, what version of Pygame and SDL are you using? Some window sizing anomalies were fixed (when they reworked the code) in the latest version of SDL (1.2.12). Hope that helps, cheers, John.

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
the Pygame VIDEORESIZE event and ultimately call pygame.display.set_mode() with the value of event.size. I sometimes find it all a bit tricky to get right, what with potentially having to recreate all your surfaces again, cheers, John. > On 10/14/07, John Popplewell <[EMAIL PROTECTED]> wrote

Re: [pygame] problems with maximizing the window

2007-10-14 Thread John Popplewell
indow size. If you are using a later version of Pygame you can use this: info = pygame.display.Info() self.desktop_size = (info.current_w, info.current_h) to get the desktop size, cheers, John.

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
;s much more complicated. Equivalent functions could be added to Pygame with support for other Windowing systems, regards, John.

Re: [pygame] Introduction + call to join project for creating game frameworks

2007-10-04 Thread John Popplewell
#x27;shoulder surfing' of what interests and affects her emotionally, I think I might be able to get her involved. I can safely use a word I've never used seriously before - Awesome! cheers, John. > Download some of the free renai stories from > http://renai.us/ > > There is an active and helpful renpy community at > http://lemmasoft.renai.us/forums/ >

Re: [pygame] Python and Pygame Beginner and Win32 API

2007-09-24 Thread John Popplewell
the controls on Pygame surfaces directly. There is some info about these kinds of tool-kits here: http://www.pygame.org/wiki/gui?parent=index which recommends 'pgu' and 'OcempGUI', cheers, John.

RE: [pygame] Odd size circles?

2007-08-17 Thread John Krukoff
You could do it with four arcs though, if that's the OP's intent. - John Krukoff [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Mallett Sent: Friday, August 17, 2007 9:07 AM To: pygame-users@seul.org S

Re: [pygame] Odd size circles?

2007-08-17 Thread John Eriksson
*smile* What I ment with an uneven diameter was that I would like to draw circles with the diameter set to, for example, 3 - 9 - 17 - 33 etc. Maybe my English isn't all that understandable ;-) /John fre 2007-08-17 klockan 13:57 +0100 skrev Adam Bark: > > > On 17/08/07, John Er

[pygame] Odd size circles?

2007-08-17 Thread John Eriksson
Hi, It doesn't seem to be possible to draw circles with a uneven diameter. I tried to use pygame.draw.ellipse but that couldn't draw circles with an uneven diameter either. Is this a limit in pygame or sdl?? Best Regards /John

Re: [pygame] OpenGL Build Trouble

2007-07-29 Thread John Popplewell
full installer with Togl and Numeric-24 support: http://johnnypops.demon.co.uk/files/PyOpenGL-2.0.2.01-1.py2.4-numpy24.exe (5.1M) The same page also has an example of using Pygame with PyOpenGL, Py2Exe and Inno-Setup: http://www.johnnypops.demon.co.uk/python/index.htm http://www.johnnypops.demon.co.uk/python/demo-fm-0.0.1-src.zip http://www.johnnypops.demon.co.uk/python/demo-fm-0.0.1-win32-installer.exe Hope that helps, cheers, John.

RE: [pygame] Multiple Mice

2007-07-17 Thread John Krukoff
Two gamepads/joysticks would probably be a more workable solution for windows. I've found that 360 controllers work quite well for PC use. ----- John Krukoff [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Mallett

Re: [pygame] Testing if a File Exists

2007-07-08 Thread John Eikenberry
/docs.python.org/lib/module-os.path.html -- John Eikenberry [EMAIL PROTECTED] - http://zhar.net] __ "It is difficult to produce a television documentary that is both incisive and probing when every twelve minutes one is interrupted by twel

Re: [pygame] File Copying

2007-07-07 Thread John Popplewell
write(f.read()) > n.close() > > Presto, there should be now two similar images :D Hi, I tend to use the shutil module for this kind of work. See shutil.copy() and shutil.copy2(). To manipulate file path/names I tend to use the os.path functions. See os.path.join(), os.path.split(), os.path.splitext(). cheers, John.

Re: [pygame] multiple key presses

2007-07-05 Thread John Eikenberry
.e. more than 2). I > > need at least 6. Is there a way to do that? > > Thanks > > Geo > > > > > - > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel > and lay it on us. -- Jo

Re: [pygame] Questions about surface with alpha channel

2007-06-20 Thread John Eriksson
Hi, Thanks for your answer. But can you pass an RGBA value to the fill method? In the document it says RGB I think. Best Regards /John ons 2007-06-20 klockan 22:14 -0700 skrev Peter Shinners: > John Eriksson wrote: > > 1. Is this the correct way of creating an surface with an >

[pygame] Questions about surface with alpha channel

2007-06-20 Thread John Eriksson
ethod? Best Regards /John

RE: [pygame] Text-Based RPG

2007-06-18 Thread John Krukoff
ions for how to improve the overall structure of things here, but the reason why your sample isn't working like you expect it to is because your command_line() function isn't returning a value. Since it doesn't have an explicit return, the value your command() function is seeing is None, which is what would be printed if you put a 'print command' line at the top of your command() function. Try this instead: def command_line(): return raw_input('>>> ') As a suggestion for dealing with capitilization variations, take a look at the lower string method. - John Krukoff [EMAIL PROTECTED]

Re: [pygame] Dirty Rect Animation

2007-06-08 Thread John Cabral
Ahh, thank you both very much. You even answered my follow up question. Best, JC On 6/9/07, Peter Shinners <[EMAIL PROTECTED]> wrote: John Cabral wrote: > I was working on some code for my game and read about the optimization > of feeding a list of rects to the update func

[pygame] Dirty Rect Animation

2007-06-08 Thread John Cabral
Hello, all; I was working on some code for my game and read about the optimization of feeding a list of rects to the update function. I was curious if it would be worthwhile to try to optimize the list that is fed to the function. Specifically, I would try to shorten the list by merging rects th

Re: [pygame] Slingshot 1.0

2007-06-01 Thread John Eriksson
fre 2007-06-01 klockan 10:07 +0200 skrev Rikard Bosnjakovic: > On 5/30/07, John Eriksson <[EMAIL PROTECTED]> wrote: > > > If you could help me test it I would be very happy! > > I would be happy to do so, if only you could provide an URL for it. > http://www

Re: [pygame] Slingshot 1.0

2007-05-31 Thread John Eriksson
ing back in the 60's...and...you would be right. But they didn't have the highly advanced Aiming Assistance Technology that you get when hitting an A-bonus!!! Ha, got you there! ;-) Best Regards /John Eriksson tor 2007-05-31 klockan 10:14 -0700 skrev Lenard Lindstrom: >

[pygame] MIDI files in Games?

2007-05-31 Thread John Eriksson
just a small difference? What are your experiences of using midi-files in games? Best Regards /John

[pygame] Fixed aspect ratio scaling

2007-05-31 Thread John Eriksson
now if it's even possible to detect the best screen resolution to use. As far as I know there are no way to determine the current screen resolution (to calculate the monitors aspect ratio) of the system? Any inputs? Thanks /John

Re: [pygame] Website move

2007-05-30 Thread John Eriksson
Hi Phil, One more thing! I tried to edit a relase and when I submitted the changes the same SQL-error was displayed. Best Regards /John sön 2007-05-27 klockan 16:04 -0700 skrev Phil Hassey: > John, > > Thanks for pointing that out :) I've got it fixed (I think) please > te

[pygame] Slingshot 1.0

2007-05-30 Thread John Eriksson
all your help! Best Regards /John Eriksson

SV: [pygame] Fullscreen perfomance problems

2007-05-30 Thread John Eriksson
Ok, some progress. This gives poor perfomance: FULLSCREEN|DOUBLEBUF|HWSURFACE This gives poor perfomance: FULLSCREEN|DOUBLEBUF This gives poor perfomance and some bad flickering: FULLSCREEN|HWSURFACE This gives perfect result: FULLSCREEN What do you think about this? /John

[pygame] Fullscreen perfomance problems

2007-05-30 Thread John Eriksson
s on Windows XP. There are no problems on Linux. All ideas are welcome! Best Regards /John Eriksson

  1   2   >