Re: [pygame] Quick OS survey - 2013

2013-12-06 Thread Kevin Secretan
99% Gentoo Linux 1% Windows 7 On Thu, Dec 5, 2013 at 8:43 PM, Jason Marshall j...@yahoo.com wrote: pygamers, which computer operating system(s) have you used this year? If you have been using more than 1 operating system, approximately what percentage of your time are you using each one?

Re: [pygame] Extending OpenGL support in Pygame

2012-04-05 Thread Kevin Secretan
While not completely drop-in, I found this project a few months ago that more-or-less accomplishes the goal. http://pygame.org/project-PyGL3Display-1562-3793.html On Thu, Apr 5, 2012 at 8:15 AM, James Paige b...@hamsterrepublic.com wrote: On Thu, Apr 05, 2012 at 04:08:08PM +0100, Sam Bull

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

2012-03-13 Thread Kevin Secretan
I wanted to make one further suggestion: I think you need a fresh from-the-ground up education in programming as well as Python fundamentals. (Especially what makes Python different from Basic and from Java--there are a lot of things.) Since others have shared resources already, I'd like to share

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

2012-02-05 Thread Kevin Secretan
David, The inflate() method is designed such that r1.center == r1.inflate(x,y).center. You can easily prove this to yourself by running code, it works in practice. Additionally (r1.size[0]+x, r1.size[1]+y) == r2.inflate(x,y).size. If you have a line that's 10 units long and whose start point is

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

2012-02-05 Thread Kevin Secretan
Hey David. Good catch, I was a bit too hasty in asserting a strict equality. Just goes to show the problem with truncating instead of rounding or using rationals. Scaling a line from 0-10 down to length 5 results in chopping off 5 from the width, then adding 2.5 (which gets truncated to 2) to

Re: [pygame] Capabilities of Pygame

2012-01-13 Thread Kevin Secretan
Or just set it to -1? (Docs are wonderful: http://www.pygame.org/docs/ref/music.html#pygame.mixer.music.play ) On Fri, Jan 13, 2012 at 7:36 PM, Zack Baker zbaker1...@gmail.com wrote: I use it for my 'soundtracks' in the games. The only problem I run into with it is it takes a 'loop' argument,

Re: [pygame] Capabilities of Pygame

2012-01-12 Thread Kevin Secretan
It should also be noted that C++ itself isn't fundamentally a fast language from a design perspective (and if you make the mistake of having a lot of news and deletes going off at inopportune times you'll see its true potential sluggishness). Its primary benefit is that it lets you talk to

Re: [pygame] man oh man Java is painful

2011-11-05 Thread Kevin Secretan
I don't see why anyone would start a new project in C++ these days. There are just so many better alternatives. Perhaps you could look at a Lisp; Common Lisp can compile to machine code, and Clojure's really nice and runs on the JVM and can run on Android. Haskell's cool too but a bit hard. ;) On

Re: [pygame] growing out of idle ide

2011-08-15 Thread Kevin Secretan
On Thu, Aug 11, 2011 at 3:30 PM, Justin Hamilton justinanthonyhamil...@gmail.com wrote: I'm a huge Emacs + python-mode + rope + yasnippet guy, but if you don't already know Emacs its probably a bit much to jump into. I've never used IDLE. I'll be the vim guy. :) Linux is my IDE, vim is my

[pygame] Who else uses pyinstaller?

2010-11-01 Thread Kevin Secretan
I haven't used py2exe in a long time, but judging from the occasional mailing list or IRC questions I read people still have issues with it. Personally I've always just used PyInstaller ( http://www.pyinstaller.org/), since it's dead simple and I typically only have to compile once; I can fix

Re: [pygame] Show text on screen for a limited time

2010-06-07 Thread Kevin Secretan
Are you using sprite Groups? In any case, a simple solution to me would be having the Try Again surface wrapped up in a sprite class along with a lifetime attribute you can set, then in the update() loop check to see if it's time to kill it or not, where killing could mean removing from a sprite

Re: [pygame] Is PyGame dying?

2010-01-27 Thread Kevin Secretan
I think the slowness of PyGame development is simply due to the slowness of SDL development. I think everyone's just waiting for 1.3 to mature, and with it comes a lot of nice features. What is it you think the PyGame devs should be working on with all haste? I've found the level of development is

Re: [pygame] author license of the pygame_logo (the snake) ?

2010-01-24 Thread Kevin Secretan
If the snake is just being used in a tutorial then you could probably make a Fair Use case out of it, anyway. When an item is distributed freely without any mention to licenses, it is considered of public domain, so you can use it as you please. That is, if really there is no copyright on

Re: [pygame] Ncurses RTS?

2009-12-07 Thread Kevin Secretan
So build for 2.5? I know PDcurses is cross-platform, but I'm doubtful there's a Python wrapper for it. On Mon, Dec 7, 2009 at 9:11 AM, Yanom Mobis ya...@rocketmail.com wrote: wcurses only goes up to python 2.5. my system is 2.6