Re: [pygame] Pygame vs XNA

2010-07-26 Thread Thadeus Burgess
Having Develop XNA games as a hobby and deploy them to the Windows Game network on your resume is much more appealing to an employer. It really depends on what platform you want to develop for. If you want cross-platform, use pygame . If all you care about is windows/xbox, then use XNA. --

Re: [pygame] Node Based Visual Programming Language

2010-07-19 Thread Thadeus Burgess
I want to join you on this grand adventure! I have an example I used out of a book... it has some ants, they roam around collecting leaves and bringing them back to the nest, and they attack spiders if they come to close to the nest. They don't really have brains though, just simple statemachine

Re: [pygame] Audio Manipulation: The Swinger

2010-06-06 Thread Thadeus Burgess
... directly in the post... http://code.google.com/p/echo-nest-remix/source/browse/trunk/examples/swinger/swinger.py -- Thadeus On Sun, Jun 6, 2010 at 5:28 PM, Kris Schnee ksch...@xepher.net wrote: http://musicmachinery.com/2010/05/21/the-swinger/ I came across this project, but don't

Re: [pygame] Game engine?

2010-04-16 Thread Thadeus Burgess
I have done a tilemap, however I think it might be quite a bit more involved than what you are looking for. http://hg.thadeusb.com/Games/PyBTS/file/f7473ac7857e/src/pybts/terrain See tileengine.py and tilemap.py -- Thadeus On Fri, Apr 16, 2010 at 2:29 PM, Mark Reed markree...@gmail.com

Re: [pygame] Game engine?

2010-04-16 Thread Thadeus Burgess
All of the code is in the repositories (hg.thadeusb.com/Games) PyBTS (pygame behind the scenes) is the game engine MyRTS is a set of two proof of concepts that utilize PyBTS. I do plan on continuing work when I find time to. -- Thadeus On Fri, Apr 16, 2010 at 4:13 PM, Mark Reed

Re: [pygame] Game engine?

2010-04-16 Thread Thadeus Burgess
801992 bytes, expected 5841998) Mark On Sat, Apr 17, 2010 at 5:18 AM, Thadeus Burgess thade...@thadeusb.com wrote: All of the code is in the repositories (hg.thadeusb.com/Games) PyBTS (pygame behind the scenes) is the game engine MyRTS is a set of two proof of concepts that utilize PyBTS. I

Re: [pygame] Game engine?

2010-04-16 Thread Thadeus Burgess
Looks to be a bug in hgwebdir with the large binary files. Here is a gunzip of the files. http://static.thadeusb.com/MyRTS.tar.gz -- Thadeus On Fri, Apr 16, 2010 at 10:02 PM, Thadeus Burgess thade...@thadeusb.com wrote: Odd.. seems as if the repository got corrupted... version control

Re: [pygame] Creating sprites on the fly?

2010-04-12 Thread Thadeus Burgess
Sure Make a default sprite. Hold a list of sprites in a dictionary-like class... def __getattr__(key): if self.sprites.has_key(key): return self.sprites[key] else: return self.default_sprite -- Thadeus On Mon, Apr 12, 2010 at 7:08 PM, Julian Marchant onp...@gmail.com

Re: [pygame] Control Systems

2010-03-30 Thread Thadeus Burgess
Are you limiting this to just a pygame type application? How about a web application interface, using web2py ? That way you can do anything fancy that you can do with html/css, and have it accessible from any computer in the building. -Thadeus On Tue, Mar 30, 2010 at 11:41 AM, Cameron

Re: [pygame] Python 2.5.4 or 2.6

2010-03-25 Thread Thadeus Burgess
I have always used python 2.6 and py2exe just fine together. The only issue I have ever ran into is running a created .EXE on a windows system that has NEVER had python installed previously, it acts as if there is no python installed, however on a system that has had python installed, and the

Re: [pygame] GSoC project proposal: Pygame on rails

2010-03-06 Thread Thadeus Burgess
I have actually attempted to perform this same thing. My project went on a standstill as other things were pressing, however I am interested in reopening my project back up. I am calling it PyBTS (pygame behind the scenes). It includes a world manager, terrain, physics based on the genre. You can

Re: [pygame] Pygame Scene System

2010-02-13 Thread Thadeus Burgess
ah ok -Thadeus On Sat, Feb 13, 2010 at 2:07 AM, Nikhil Murthy murthyn...@gmail.com wrote: Thadeus, when looking through the sprite.py file of pygame, line 123 in Sprite.add, and line 138 in Sprite.remove both do this. On Sat, Feb 13, 2010 at 7:46 AM, Thadeus Burgess thade...@thadeusb.com

Re: [pygame] Pygame Scene System

2010-02-12 Thread Thadeus Burgess
Do take a look at PyBTS (Pygame Behind The Scenes) (which MyRTS uses this engine) project in hg.thadeusb.com It has a scenemanager, world manager, map manager, entity manager, etc etc etc.., this was my initial start on a pygame engine. -Thadeus On Thu, Feb 11, 2010 at 11:32 PM, nikwin

Re: [pygame] Pygame Scene System

2010-02-12 Thread Thadeus Burgess
through it now. The entity module is pretty cool, and the whole thing seems very well commented. On Fri, Feb 12, 2010 at 9:03 PM, Thadeus Burgess thade...@thadeusb.com wrote: Do take a look at PyBTS (Pygame Behind The Scenes) (which MyRTS uses this engine) project in hg.thadeusb.com It has

Re: [pygame] Pygame Scene System

2010-02-12 Thread Thadeus Burgess
), and then I always use the self reference from then on out. -Thadeus On Fri, Feb 12, 2010 at 7:01 PM, Alexandre Quessy alexan...@quessy.net wrote: Hello, There's also Clutter to look at. There are Python bindings. a Thadeus Burgess wrote: Do take a look at PyBTS (Pygame Behind The Scenes

Re: [pygame] Squirrel Game Demo

2010-02-04 Thread Thadeus Burgess
, Thadeus Burgess thade...@thadeusb.com wrote: not messy if there is no source to look at :) -Thadeus On Thu, Feb 4, 2010 at 2:11 PM, Kris Schnee ksch...@xepher.net wrote: http://kschnee.xepher.net/code/squirrelgame/ http://kschnee.xepher.net/pics/squirrel_game/ Here's a demo (5 MB EXE w

Re: [pygame] Squirrel Game Demo

2010-02-04 Thread Thadeus Burgess
Ah, see it ok. I redownloaded and its there squirrel_demo_source.py, also the first download missed alot of files in the zip, maybe it was corrupted. -Thadeus On Thu, Feb 4, 2010 at 9:40 PM, Thadeus Burgess thade...@thadeusb.com wrote: Nope, I see the pygame .pyd files, the windows exe

Re: [pygame] Is PyGame dying?

2010-01-27 Thread Thadeus Burgess
I think in this stressful economy people don't have time to write games in their downtime, what little they have :) pygame is a great library, I'm not sure what else they could work on except adding the new SDL features to pygame. The only other cool thing pygame could do was make a wrapper

Re: [pygame] Collisions + tiledtmxloader?

2010-01-03 Thread Thadeus Burgess
I have done this in the beginnings of an RTS I was attempting to make... I have not looked at the code in 6 months. You are welcome to browse my repository and see if any of the collision code would help you. The engine code is PyBTS (pygame behind the scenes), this code does all of the heavy

Re: [pygame] HTML editor woes on pygame.org/wiki

2009-12-19 Thread Thadeus Burgess
Currently on my web2py blog, I am using python-markdown2 with the codecolor extra, and WMD for the editor. I couldn't be more happy honestly. It beats the socks off WYSIWYG editors, and with the extras, syntax highlighting and other options are available making it that much better. And since WMD

Re: [pygame] Pygame community platform?

2009-12-18 Thread Thadeus Burgess
I don't think I could live without the plethora of libraries available to python :) What about playdeb.net / getdeb.net? Wouldn't it be easier if we packaged games for the OS package manager ? deb and apt-get can handle any needed dependences automatically. Then perhaps all that would be

Re: [pygame] Help - Events

2009-11-17 Thread Thadeus Burgess
I would suggest using my event input wrapper... It will clean up the event handling ALOT... http://www.pygame.org/wiki/InputWrapper -Thadeus On Tue, Nov 17, 2009 at 12:30 PM, Thiago Petruccelli thiagopetrucce...@gmail.com wrote: Thanks Rolf. In fact I was using a different way to drag the

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

2009-11-12 Thread Thadeus Burgess
Sweet! Thadeus Burgess - Texas USA - Caucasian On Thu, Nov 12, 2009 at 8:25 AM, leo kirotawa kirot...@gmail.com wrote: Cool!! Put my name too plz, I am from Brazil / BR / Brazilian, name is: leonidas kirotawa. cheers On Thu, Nov 12, 2009 at 9:47 AM, Ben Collier bmcoll...@gmail.com

Re: [pygame] Is my code messy?

2009-10-25 Thread Thadeus Burgess
Not at all, looks structured. Perhaps MegaBoom could inherit from Boom. If you want, you can use the pygame input wrapper class I made, which will help not having the massive if statement for handling input (also you can handle input all over the program, not just right there)

Re: [pygame] Function Inheritance

2009-10-14 Thread Thadeus Burgess
Inheritance would be the more software engineering politically correct scholastic way of doing this. However, this is how you accomplish this the way you describe. def hello(): print hello world def hello_vars(*args): print .join(a for a in args) class A(object): pass class

Re: [pygame] Whats wrong in events?

2009-10-07 Thread Thadeus Burgess
You might be interested in using my InputWrapper for PyGame, though I doubt it will solve your problem, since keyboards are evil :) But it will help you write better organized code! http://www.pygame.org/wiki/InputWrapper?parent=CookBook -Thadeus On Wed, Oct 7, 2009 at 4:12 PM, Kris Schnee

Re: [pygame] Python IDE for windoz

2009-10-06 Thread Thadeus Burgess
Look into Eclipse + Pydev, or Aptana + Pydev, or Netbeans 6.7 (has python beta) -Thadeus On Tue, Oct 6, 2009 at 8:03 PM, Eric Pavey warp...@gmail.com wrote: I really enjoy Wing IDE http://www.wingware.com/ Free to start, and once you learn more, the $$$ version is worth the money IMO

Re: [pygame] EXEs: Different Approach

2009-09-23 Thread Thadeus Burgess
The installer.nsi is just an extra file that I include with my setup. Its like as if I including character1.jpg or about.txt. If you don't use NSIS(nsis.sourceforge.net) then you can remove it from the data_files list. Another note, I am not sure if this has any impact, but I remember having

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

2009-09-23 Thread Thadeus Burgess
Thanks for the info on why py2exe does not include SDL_tff.dll. I have wondered, however I'm happy to continue with my setup.py :) -Thadeus On Wed, Aug 19, 2009 at 7:09 PM, Greg Ewing greg.ew...@canterbury.ac.nzwrote: John Eriksson wrote: For some reason py2exe regards the SDL_ttf.dll

Re: [pygame] pygame and py2exe problem !!

2009-07-20 Thread Thadeus Burgess
Check my blog post at for a solution http://blog.thadeusb.com/2009/04/15/pygame-font-and-py2exe/ Basically, you need to include SDL's dlls in the same directory as the exe file. For you, SDL.dll and SDL_mixer should be enough for now, but when you use fonts you will need the others as well.

Re: [pygame] pygame.quit() not working after upgrade to python 2.6

2009-04-28 Thread Thadeus Burgess
- It is even harder for the average ape to believe that he has descended from man. On Tue, Apr 28, 2009 at 12:59 AM, Brian Song unlucky...@gmail.com wrote: Have you tried if event.type == pygame.QUIT: sys.exit() On Tue, Apr 28, 2009 at 1:22 AM, Thadeus Burgess thade...@thadeusb.comwrote

[pygame] pygame.quit() not working after upgrade to python 2.6

2009-04-27 Thread Thadeus Burgess
Is there any reason pygame.quit() hangs the application up? I am running python 2.6 on Ubuntu. It works on python 2.6 in windows. What, if any information could I provide to help track down the culprite? -Thadeus http://thadeusb.com