Re: [pygame] Quick OS survey - 2013

2013-12-05 Thread Julian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just Trisquel for me. I have to wonder, though, how the heck can you deduce how much you use each OS to the nearest half of a percent? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird -

Re: [pygame] Pygame logo license?

2013-11-03 Thread Julian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/03/2013 10:25 AM, Jason Marshall wrote: OK, here is a definitive answer from Gareth Noyce: 'They're public domain but I'd like attribution if they're used anywhere. Just a logo by Gareth Noyce would do, but I won't be complaining if people

[pygame] Pygame logo license?

2013-11-02 Thread Julian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is the Pygame logo[0] under any sort of free culture license? I can't seem to find any license information about it. [0] http://www.pygame.org/docs/logos.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with

Re: [pygame] Pygame logo license?

2013-11-02 Thread Julian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2013 04:48 PM, Jason Marshall wrote: See this previous discussion: https://groups.google.com/forum/#!searchin/pygame-mirror-on-google-groups/horst$20snake$20logo/pygame-mirror-on-google-groups/Td1bnVhsZeA/W7q4MwBP5DgJ It looks like the

Re: [pygame] unsubscribe pygame-users

2013-03-01 Thread Julian
I really think this confusion would be prevented if this page was reworded: http://www.pygame.org/wiki/info The list of commands to send to mojord...@seul.org is right after the sentence You can email the list at pygame-users@seul.org, which seems at a glance to imply that you're supposed to

Re: [pygame] How to control the physical size of displayed objects?

2013-02-27 Thread Julian
On 02/27/2013 04:23 PM, Mathieu Dubois wrote: Just a last question: do you think the horizontal and vertical factors has to be the same? Because list_modes() tells me that my monitor can display: 1280x800 (ratio: 1.6), 1024x768 (ratio: 1.33), 800x600 (ratio: 1.33), 640x480 (ratio: 1.33). You

Re: [pygame] import pygame.font failing

2013-02-27 Thread Julian
On 02/27/2013 06:51 PM, Kai Childheart wrote: 5. import pygame 6. import pygame.font 7. 8. pygame.init( ) I don't know if this is your problem, but you're normally not supposed to import pygame.font explicitly. It comes with the pygame module. If the font module is unavailable, you will get

Re: [pygame] Does PyGame 1.9.1 work with Python 3.3.0 on Mac OSX 10.6.8?

2013-02-15 Thread Julian
On 02/15/2013 02:18 AM, Mt.Rose$TheFerns wrote: Yeah I am quite sure. I have 2.7.3 on my comp and it gives me no error at all. I don't know anything about Mac OS X, but I don't think you can use the same Pygame installation for two different versions of Python. At least, that's the case for

Re: [pygame] Alternate to graphics modules

2013-02-06 Thread Julian
On 02/06/2013 06:12 PM, Elias Benevedes wrote: There must be a way to write it in pure python code for the fact that pygame uses python (I assume?). Pygame does not use Python for the low-level stuff. It's mostly a front-end for SDL, which is in C. Like Richard suggested, try Pyglet. That is

Re: [pygame] Resetting display

2012-05-09 Thread Julian Marchant
No. Only X11, e.g. GNU/Linux (and I think Mac OS X is another example). If you really want to use toggle_fullscreen when the program is run on X11 without also sacrificing platform-independence, you could do something like: fullscreen = not fullscreen if not pygame.display.toggle_fullscreen():

Re: [pygame] Declaring variables in function as if at code's line-level

2012-03-12 Thread Julian Marchant
Many of my variables' names are re-stating the exact value they hold, so I rarely have any confliction with names: filename_of_current_level = 'desert.txt' Font__New_Times_Roman_size_20 = ... pi_divided_by_180 = math.pi() / 180 etc. The names are just according to what values they hold

Re: [pygame] Declaring variables in function as if at code's line-level

2012-03-11 Thread Julian Marchant
! All the best, -Lee- On Sat, Mar 10, 2012 at 8:31 PM, Julian Marchant onp...@yahoo.com wrote: I am struggling with my desire to say things that would be insulting to you. Listen closely: you CAN read global-level variables at any time as long as there isn't a local variable

Re: [pygame] Declaring variables in function as if at code's line-level

2012-03-10 Thread Julian Marchant
I am struggling with my desire to say things that would be insulting to you. Listen closely: you CAN read global-level variables at any time as long as there isn't a local variable with the same name. You CAN write to global variables from within a function as long as you first declare it

Re: [pygame] Line collision detection?

2012-02-21 Thread Julian Marchant
Ah, the linear equation. I'd forgotten about it, silly me. Thanks! I think I can get that to work easily enough even without examples. Regarding using multiple lines, that would be the ideal solution (it seems you could do even better by having four lines for each object, one for each corner),

[pygame] Line collision detection?

2012-02-20 Thread Julian Marchant
Hi, I tried searching the internet for an answer, but didn't find anything, so I'll ask here. One problem with normal collision detection I'm sure we're all aware of is the problem that objects moving too fast can pass through other objects without a collision happening. I'm experiencing this

Re: [pygame] Compilation

2012-02-17 Thread Julian Marchant
The link you gave just gives instructions on how to use a combination of cx_Freeze (which is great, by the way, I recommend it) and Install Creator. Note that only cx_Freeze can be actually useful to someone running Mac OS X, as Install Creator is Windows-only. --- On Fri, 2/17/12, Andrew

Re: [pygame] Compilation

2012-02-16 Thread Julian Marchant
I use cx_Freeze for packaging up EXEs and Linux binaries. I don't have a Mac, so I don't know how well it works with them, but it's supposed to be cross-platform. --- On Fri, 2/17/12, Zack Baker zbaker1...@gmail.com wrote: From: Zack Baker zbaker1...@gmail.com Subject: [pygame] Compilation

RE: [pygame] Capabilities of Pygame

2012-01-14 Thread Julian Marchant
--- On Sat, 1/14/12, Ryan Strunk ryan.str...@gmail.com wrote: So if you were to stream audio, would that eliminate the potential delay. The only audio-only game I've seen written in Pygame, Sound RTS, has a bit of noticeable lag when playing sounds. Is there a way to program such that

Re: [pygame] Capabilities of Pygame

2012-01-13 Thread Julian Marchant
--- On Fri, 1/13/12, Lenard Lindstrom le...@telus.net wrote: Also, though SDL does support streaming, Pygame does not. Everything must be loaded before played. Um... that's not true. pygame.mixer.music is Pygame's streaming module.

Re: [pygame] Continuous Shooting

2012-01-12 Thread Julian Marchant
First off, you need some sort of time management. As it is now, it'll run at variable speeds depending on how fast the processor is. Use pygame.time.Clock to limit the frame rate and/or use delta timing. As for your problem, all you need is a counter variable. Have the counter variable start

Re: [pygame] Capabilities of Pygame

2012-01-12 Thread Julian Marchant
You couldn't build a game that's up to scope with any 3D game, because you wouldn't be able to use 3D. For that, you'd need either PyOpenGL (with Pygame) or Pyglet. The latter is better in some ways; the main advantage Pygame/PyOpenGL has that I can think of is joystick support. On the other

Re: [pygame] pygame performance limits

2011-11-24 Thread Julian Marchant
Now, of course, when you have a super-high-level language, like PyGame, and it's running in an interpreted language like Python, you will run out of power much sooner than you would in a language like C, especially on a phone computer. This, however, is no reason to stop using PyGame -- it's a

Re: [pygame] set new recommendation to which version of pygame?

2011-09-30 Thread Julian Marchant
You don't need to actually download an old version of Python 2.x to have source code that's compatible with the old version. All you need to do is not use the new features of versions 2.6 and 2.7. Besides, if you're a beginner who doesn't know what to download, it probably isn't the best idea

Re: [pygame] set new recommendation to which version of pygame?

2011-09-30 Thread Julian Marchant
Or just allow that discussion to remain on the Python site (http://wiki.python.org/moin/Python2orPython3). Unless Pygame itself has issues with certain versions of Python, there is no place for this discussion on pygame.org, IMO. --- On Fri, 9/30/11, James Paige b...@hamsterrepublic.com wrote:

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

2011-09-29 Thread Julian Marchant
I second this, mostly because the statement that version 2.5 is the best Python on Windows is simply untrue, as far as I can tell. I guess there must have been issues in the past or something (I didn't start using Pygame until around the time Python 2.7 came out, so I don't know), but right

Re: [pygame] Native PyGame method for automatically scaling inputs to a surface resolution?

2011-09-23 Thread Julian Marchant
What is the purpose to having calculations done with a size that's 10 times larger? If it's just precision, the solution could be simply to use floats for the calculations and convert to ints as necessary. Or, you could write some simple functions or methods that divide the x and y by 10 and

[pygame] iq81c x0flb

2011-09-10 Thread Julian Marchant
2jlpb53f, 43z2qoofk2. http://razniekuhni.ru/images/ydvy.html ofssm5 d5vnx x3n2p90c4eu, 3dou2v ch5qrua6li. z29mei ulyqvlc.

Re: [pygame] iq81c x0flb

2011-09-10 Thread Julian Marchant
to empty my trash folder. Whoops. :P - Original Message - From: Julian Marchant onp...@yahoo.com To: pygame-users@seul.org Cc: Sent: Saturday, September 10, 2011 8:15 PM Subject: [pygame] iq81c x0flb 2jlpb53f, 43z2qoofk2. http://razniekuhni.ru/images/ydvy.html ofssm5 d5vnx x3n2p90c4eu

Re: [pygame] Sprite troubles

2011-04-30 Thread Julian Marchant
From what I gather, pygame.sprite.RenderPlain, in its current form, just points to pygame.sprite.Group. From: David Burton ncdave4l...@gmail.com To: pygame-users@seul.org; Nathan BIAGINI nathan.o...@gmail.com Sent: Sat, April 30, 2011 8:52:04 PM Subject: Re:

Re: [pygame] Whoa! Bad slowdown!

2011-04-13 Thread Julian Marchant
To: pygame-users@seul.org Cc: Julian Marchant onp...@yahoo.com Sent: Wed, April 13, 2011 1:37:35 AM Subject: Re: [pygame] Whoa! Bad slowdown! On Wed, Apr 13, 2011 at 1:49 AM, Julian Marchant onp...@yahoo.com wrote: Is there a better way to do what I'm trying to do in that section of code? Try

[pygame] Whoa! Bad slowdown!

2011-04-12 Thread Julian Marchant
I have actually mentioned this project of mine on this list before, but it was about a Windows-specific issue. This time, it's about slowdown. Now, my laptop is very low-end, so it's not surprising to me when I experience lag in particularly graphically-intensive games, but this is ridiculous.

Re: [pygame] Whoa! Bad slowdown!

2011-04-12 Thread Julian Marchant
I tried changing the default fill-in surface size from 1x1 to 200x200 and removing all the empty 1x1 images in data/characters/noghost, but it had no effect on speed. This error occurred, however, and it seems to be a result of removing the 1x1 images (which caused dynamically generated

Re: [pygame] Using reStructuredText for document sources

2011-03-03 Thread Julian Marchant
This is what I'm afraid of. I would be very disappointed if the existence of a wiki led people to believe that maintaining proper documentation was no longer required. If I may jump in briefly, how exactly would this be a bad thing? If people feel that it's no longer required, that probably

Re: [pygame] loading images with special characters on file name

2011-02-08 Thread Julian Marchant
I doubt that this is related to your problem, but since you're using Python 3, shouldn't that shebang be #!/usr/bin/python3? From: Rodolfo Neu rneu2...@gmail.com To: pygame-users@seul.org Sent: Tue, February 8, 2011 1:41:32 PM Subject: [pygame] loading images

Re: [pygame] PyGame Windows Key Behaviour

2011-01-31 Thread Julian Marchant
What is this equal function that the AI uses, exactly? Does it use the same playerspeed variable? It might also be possible that you have a rounding problem, especially if you aren't limiting the frame rate (which seems to be the case). This might, for example, make you move faster in one

Re: [pygame] Pygame for py3?

2011-01-17 Thread Julian Marchant
me much. From: René Dudfield ren...@gmail.com To: pygame-users@seul.org Sent: Sun, January 16, 2011 10:34:53 AM Subject: Re: [pygame] Pygame for py3? On Sun, Jan 16, 2011 at 2:33 PM, Julian Marchant onp...@yahoo.com wrote: I can see a Windows binary for Python

[pygame] Pygame for py3?

2011-01-16 Thread Julian Marchant
I can see a Windows binary for Python 3.1 on the download page, but I don't see a source package for Python 3. Can the source be used for both Py2 and Py3? While I'm at it, why isn't there a Windows installer (or a Mac OS X package, for that matter) for Pygame for Python 2.7 listed on the

[pygame] Surface blitting not effective

2010-10-09 Thread Julian Marchant
Attached is the file in question, comet_fighter.py (version 0.1.0.5). Game.menu() is supposed to show a menu. It takes the following arguments: options, cursor, anim_wait, color=pygame.Color(0,0,0,155), border=16, sep=8 options is a list of surfaces used for the menu choices. cursor is a list

Re: [pygame] Creating sprites on the fly?

2010-04-12 Thread Julian Marchant
()... etc... or use line drawing or something to create the sprite remember it for later, then if you do a try-catch block around your image load, a fail could then assign the default sprite instead. On Mon, Apr 12, 2010 at 5:52 PM, NBarnes nbar...@gmail.com wrote: Julian Marchant onp...@gmail.com

Re: [pygame] Python 2.5.4 or 2.6

2010-03-25 Thread Julian Marchant
I'm wondering this, too. I'm only just starting to get into Python, but I do know that Python 2 is better in the sense that Python 3 is not really supported by a whole lot of things yet. But, isn't version 2.6 still better than 2.5? I haven't ever heard of any incompatibilities or disadvantages