Re: [pygame] How to add Zoom functionality?

2008-03-03 Thread Sean Berry
Ok, so you drew some shapes on the screen. You also want to put in zoom in/out functionality. How do you want them to be able to zoom in? What do you want to happen when they zoom in? What is zooming in? On Sun, Mar 2, 2008 at 11:37 PM, gopal mishra [EMAIL PROTECTED] wrote: Hi All I am

RE: [pygame] How to add Zoom functionality?

2008-03-03 Thread Sibtey Mehdi
To add zoom in, I want to transform the size of the shape when we select that shape and press crl+I key. If the size is increased the scroll bar should be added that's why I am using 'wx'. Ok, so you drew some shapes on the screen. You also want to put in zoom in/out functionality.

[pygame] Announce: pygame 1.8.0rc4 tar ball.

2008-03-03 Thread René Dudfield
Hi, I've tagged pygame1.8.0rc4. Here's the tar ball for testing: http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc4.tar.gz md5sum 4e07b4a68ebc1773f7a2ad557b6adc6c pygame-1.8.0rc4.tar.gz Mac OSX, and windows binary installers are coming soon. It's also tagged in subversion as 1.8.0rc4. The

Re: [pygame] Announce: pygame 1.8.0rc4 tar ball.

2008-03-03 Thread Marcus von Appen
On, Mon Mar 03, 2008, Rene Dudfield wrote: Hi, I've tagged pygame1.8.0rc4. Here's the tar ball for testing: http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc4.tar.gz Great! I just put a note on the news site. Regards Marcus pgpN653iyLXBx.pgp Description: PGP signature

Re: [pygame] Announce: pygame 1.8.0rc4 tar ball.

2008-03-03 Thread René Dudfield
ya! Thanks. On Mon, Mar 3, 2008 at 11:21 PM, Marcus von Appen [EMAIL PROTECTED] wrote: On, Mon Mar 03, 2008, Rene Dudfield wrote: Hi, I've tagged pygame1.8.0rc4. Here's the tar ball for testing: http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc4.tar.gz Great! I just put a

[pygame] PyGame GUI Database

2008-03-03 Thread Richie
Hello, I am a Open Source programmer. I am developing a cross platform GUI Pygame Database which will: - Have a WxWidgets GUI - Be Open Source - Be able to download, extract and run PyGame's with a single click and they will start even faster once downloaded for the first time. - Quickly search

Re: [pygame] PyGame GUI Database

2008-03-03 Thread Dave LeCompte (really)
Richie [EMAIL PROTECTED] wrote: I am developing a cross platform GUI Pygame Database which will: Sort of like a Steam for PyGame games? - Be programmed in C++ and be compiled into a single small executable. The small exectuable I understand, but could you describe why you're thinking of

Re: [pygame] Display follow

2008-03-03 Thread Ian Mallett
Yes. Keep in mind that computer-wise, the top of the screen is 0. Generally, I flip everything in the y direction (ScreenSize[1]-Point[1]), but you could just as easily not and instead make the camera move the same same direction for the y. This, however, will not be as clear--(you're moving

Re: [pygame] Display follow

2008-03-03 Thread James Paige
*All* sprites should subtract the camera position when you draw them (for example, in their draw() methods) Then all you have to move is the camera. --- James Paige On Mon, Mar 03, 2008 at 10:52:37AM -0500, Samuel Mankins wrote: Interesting. I'm also going to have to make it so all the other

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Pete Shinners
Olaf Nowacki wrote: - as classes - as modules or - as singleton-pattern classes? what do you think are the pros and cons of each aproach? I always like using a module as a container for all my singletons and shared globals. Python modules already work this way, making it a natural fit.

Re: [pygame] PyGame GUI Database

2008-03-03 Thread Richie
Yeah but better than steam due to a number of reasons :-) I just want a small download so you can start using it quickly, py2exe gives a bigger download. I'm sure there's a few programmers here that have done other languages also, I don't mind if I end up being the only developer though. I will

Re: [pygame] Text To Speech PYTTS

2008-03-03 Thread John Popplewell
On Mon, Mar 03, 2008 at 11:23:22AM +1300, Greg Ewing wrote: The only sensible quoting method is to quote as *little* of the original as necessary to establish context. Anyone who refuses to take the time to do this is being selfish and lazy. Hehehe, I'm with Greg. But if a post contains huge

Re: [pygame] PyGame GUI Database

2008-03-03 Thread Luke Paireepinart
Richie wrote: Yeah but better than steam due to a number of reasons :-) I just want a small download so you can start using it quickly, py2exe gives a bigger download. I'm sure there's a few programmers here that have done other languages also, I don't mind if I end up being the only developer

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Olaf Nowacki
On 3/3/08, Pete Shinners [EMAIL PROTECTED] wrote: I always like using a module as a container for all my singletons and shared globals. Python modules already work this way, making it a natural fit. Python can build a class that is a true singleton. It involves overriding the __new__

Re: [pygame] PyGame GUI Database

2008-03-03 Thread Richie
Okay, No problem. I will dump C++ and use wxPython. I was designing the GUI in a XML based format called XRC anyway, so I don't loose the work I have done on that. If I get support from Phil Hassey for the commenting, then I will put that in also. I may even be able to persuade him to have a

Re: [pygame] How to add Zoom functionality?

2008-03-03 Thread Ian Mallett
Are you trying to make a paint program? I tried that. You need to use pygame.transform.scale(). Unfortunately, this takes too long to be realtime, so you will need to figure out which section will be visible in the window. I think I have some demo code somewhere...

[pygame] Ludum Dare 11 - April 18-20 - Advanced Warning!

2008-03-03 Thread Phil Hassey
Ludum Dare 11 is coming! Ludum Dare is a regular community driven game development competition. The goal is, given a theme and 48 hours, to develop a game from scratch. Ludum Dare aims to encourage game design experimentation, and provide a platform to develop and practice rapid game

Re: [pygame] Text To Speech PYTTS

2008-03-03 Thread Gary Bishop
Speaking of selfish and lazy, changing topics in a thread without changing the subject is the worst. Years from now people will be searching for Text to Speech PYTTS and get this crap! Lazily and selfishly yours, gb Greg Ewing wrote: Joe Johnston wrote: Top posting, also known as jeopardy

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Laura Creighton
I usually need Borg rather than Singleton. Explanation from its author here: http://www.aleax.it/Python/5ep.html and here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531 But then I am using pygame to do very simple things -- what I need is a 'shared state' pattern for my

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Greg Ewing
Olaf Nowacki wrote: i'm not sure if i got this right: you - use an ordinary class - make an instance in a module and - excess this instance only via the module? Yes, that's essentially right. If you can create the instance as soon as the module is loaded, all you need is a module-level name

[pygame] Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS))

2008-03-03 Thread Greg Ewing
Gary Bishop wrote: Speaking of selfish and lazy, changing topics in a thread without changing the subject is the worst. Sorry about that! -- Greg

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Greg Ewing
kschnee wrote: I later decided that this was stupid. Why make a class if I'm only going to make one instance of it and then have to refer to module.object.function(), when Python treats modules themselves as objects too? Sometimes there are reasons, e.g. you want the object to have properties,

[pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread René Dudfield
I like space ships. On Tue, Mar 4, 2008 at 9:05 AM, Greg Ewing [EMAIL PROTECTED] wrote: Gary Bishop wrote: Speaking of selfish and lazy, changing topics in a thread without changing the subject is the worst. Sorry about that! -- Greg

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Ian Mallett
As do I.

Re: [pygame] Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS))

2008-03-03 Thread Ian Mallett
What happens if someone changes the subject in the middle of a topic? If you can close the deviating topic by posting a similarly out of place response, should you do so? And if a topic is changed by common consent, should we break it into two new threads, or leave the topics seamlessly spliced

Re: [pygame] sndarray from line in?

2008-03-03 Thread Ian Mallett
I figured it out, thanks!

[pygame] monthly FAQ?

2008-03-03 Thread Dave LeCompte (really)
Years ago, USENET groups and mailing lists would periodically post Frequently Asked Questions lists to cut down on people repeatedly covering old topics. Such a thing might not be a bad idea for pygame-users, as we've had a lot of similar questions come through over and over again. It might also

Re: [pygame] monthly FAQ?

2008-03-03 Thread Ian Mallett
I agree with a doctrine for syntax in the lists, and a FAQ for pygame. Since FAQs tend to be updated, I recommend putting on pygame.org first, until the common questions have been answered there. The FAQ should be obvious, so that people would see it first, before the link to the pygame users

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread PyMike
Spaceships are cool... On Mon, Mar 3, 2008 at 4:41 PM, Ian Mallett [EMAIL PROTECTED] wrote: As do I. -- - PyMike

Re: [pygame] monthly FAQ?

2008-03-03 Thread René Dudfield
hi, I think our general approach has been to try and make the documentation better until those FAQs disapear. Feel free to start a FAQ in the wiki :) That'd be cool. Especially since then documentation writers could look at the FAQ and figure out which parts of the docs to improve. I'm not

Re: [pygame] monthly FAQ?

2008-03-03 Thread Ian Mallett
Well, I think code samples should not be in the documentation. The documentation should provide links to the code samples in, as you say, a place like the wiki. Code directly with the documentation is clutter. The current system, where they are by default hidden, is a good one.

Re: [pygame] PyGame GUI Database

2008-03-03 Thread PyMike
This would be awesome! I'd totally use it :) On Mon, Mar 3, 2008 at 8:53 AM, Richie [EMAIL PROTECTED] wrote: Hello, I am a Open Source programmer. I am developing a cross platform GUI Pygame Database which will: - Have a WxWidgets GUI - Be Open Source - Be able to download, extract and run

Re: [pygame] PyGame GUI Database

2008-03-03 Thread Ian Mallett
I like the idea of an app that does this. I'm afraid I don't know enough wxPython to be able to help you in this matter. Sorry.Ian

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Lenard Lindstrom
All spaceships, or only the imaginary ones? Lenard PyMike wrote: Spaceships are cool... On Mon, Mar 3, 2008 at 4:41 PM, Ian Mallett [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As do I.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Ian Mallett
Well, the spaceship I have in my garage, of course.If something is not mine, how can I possibly like it? Obviously, the world benefits not from my solipsism.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread PyMike
Ian: What kind of spaceship is it? Lenard: The imaginary ones :D On Mon, Mar 3, 2008 at 6:26 PM, Ian Mallett [EMAIL PROTECTED] wrote: Well, the spaceship I have in my garage, of course.If something is not mine, how can I possibly like it? Obviously, the world benefits not from my solipsism.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Lenard Lindstrom
You have a space shuttle in your garage. Wow, that must be one big garage. Lenard Ian Mallett wrote: Well, the spaceship I have in my garage, of course. If something is not mine, how can I possibly like it? Obviously, the world benefits not from my solipsism.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread AlgoMantra
On Tue, Mar 4, 2008 at 5:29 AM, Lenard Lindstrom [EMAIL PROTECTED] wrote: You have a space shuttle in your garage. Wow, that must be one big garage. We've not yet confirmed if Ian is humanoid. It is yet early to speculate about the size of his ship, and therefore, his garage. -- ---

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Lenard Lindstrom
Fictional. I meant fictional. Poor choice of words. PyMike wrote: Ian: What kind of spaceship is it? Lenard: The imaginary ones :D

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread PyMike
He might have a LEGO spaceship in his garage... On Mon, Mar 3, 2008 at 6:45 PM, AlgoMantra [EMAIL PROTECTED] wrote: On Tue, Mar 4, 2008 at 5:29 AM, Lenard Lindstrom [EMAIL PROTECTED] wrote: You have a space shuttle in your garage. Wow, that must be one big garage. We've not yet

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Adam Bark
On 03/03/2008, René Dudfield [EMAIL PROTECTED] wrote: I like space ships. On Tue, Mar 4, 2008 at 9:05 AM, Greg Ewing [EMAIL PROTECTED] wrote: Gary Bishop wrote: Speaking of selfish and lazy, changing topics in a thread without changing the subject is the worst. Sorry about

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Ian Mallett
On Mon, Mar 3, 2008 at 4:45 PM, AlgoMantra [EMAIL PROTECTED] wrote: We've not yet confirmed if Ian is humanoid. It is yet early to speculate about the size of his ship, and therefore, his garage. I sense much logicality in this one. On Mon, Mar 3, 2008 at 4:59 PM, Adam Bark [EMAIL PROTECTED]

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Ian Mallett
On Mon, Mar 3, 2008 at 4:47 PM, PyMike [EMAIL PROTECTED] wrote: He might have a LEGO spaceship in his garage... Bingo.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Greg Ewing
Lenard Lindstrom wrote: Ian Mallett wrote: Well, the spaceship I have in my garage, of course. You have a space shuttle in your garage. Wow, that must be one big garage. He didn't say shuttle, specifically. You could probably fit in a Mercury or Gemini, maybe even an Apollo command

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Greg Ewing
Adam Bark wrote: Cool cos I'm trying to right a game involving spaceships, it's 3d Make sure you include a garage to keep them in! -- Greg

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Lenard Lindstrom
I thought the space shuttle is the only true spaceship. Everything before it was a spacecraft. Lenard Greg Ewing wrote: He didn't say shuttle, specifically. You could probably fit in a Mercury or Gemini, maybe even an Apollo command module. The booster would be a bit of a squeeze, though.

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Ian Mallett
hmmm. I would not define the space shuttle as a space ship because it requires an external fuel tank and two extra rockets to get into space. In fact, all of NASA's creations, then have not been rockets because they cannot travel to and from space without incredible difficulty and sacrifice of

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread AlgoMantra
which reminds me of: There are no passengers on spaceship earth. We are all crew. (Marshall McLuhan)

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread FT
What ever happened to a list talking about game writing and code? Besides, the ship in the garage was, My Favorite Martian! Any other would be copy right infringement, a stolen idea. Ha! Ha! Also Rod Serling wrote about the Will The Real Martian Stand Up? where footsteps came out of

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread Richard Goedeken
All space vehicles use staging; the space shuttle's are just on the side. NASA also made the Saturn 5, don't forget. The space shuttle is a poor investment but an incredibly high-performance vehicle and launch system. It can lift almost as much as the Saturn 5 (including the orbiter) -- way