Re: [pygame] Movies in .exe

2009-01-02 Thread Charlie Nolan
You can use py2exe's "bundle my files" parameter. That adds the zip file to the exe. Browse around in the py2exe docs and examples, it'll tell you how to do it and how to get a file pointer back out. -FM On Fri, Jan 2, 2009 at 4:45 PM, Noah Kantrowitz wrote: > > On Jan 2, 2009, at 5:39 PM, Ian

Re: [pygame] Movies in .exe

2009-01-02 Thread Noah Kantrowitz
On Jan 2, 2009, at 5:39 PM, Ian Mallett wrote: Yes, I've gotten it to work that way, but I want the file to be inside the .exe itself, not just in the same folder ;) http://code.google.com/p/pefile/ can access the resource fields of an executable. You will either need to buffer the data in

Re: [pygame] Movies in .exe

2009-01-02 Thread Ian Mallett
Yes, I've gotten it to work that way, but I want the file to be inside the .exe itself, not just in the same folder ;)

Re: [pygame] Movies in .exe

2009-01-02 Thread leo kirotawa
first sorry for my english. you can put the file .mpg in folder dist created by py2exe, and in your code you call the movie. Will be that? On Fri, Jan 2, 2009 at 6:49 PM, Ian Mallett wrote: > Hi, > > I have a .mpg movie that I want to play in a .exe, but I also want the > movie file to be inc

[pygame] Movies in .exe

2009-01-02 Thread Ian Mallett
Hi, I have a .mpg movie that I want to play in a .exe, but I also want the movie file to be included inside the .exe itself. I came up with two solutions: 1. Supposedly, this is possible with py2exe, but I don't know how. I looked at http://www.py2exe.org/index.cgi/CustomDataInExe, I couldn't fi

Re: [pygame] Background ghosts

2009-01-02 Thread Michael Phipps
Weeble - You nailed it! Thanks for your help - it is very much appreciated. Michael

Re: [pygame] Background ghosts

2009-01-02 Thread Weeble
Michael Phipps: > Anyway, if someone wants to take a look, the code is attached... In this line: blocksprite = self.makenewblocksprite(group) You create a new sprite and add it to "group", but you do not remove the old one. So you end up with a group filled with many sprites. The reason you do

Re: [pygame] can PyGame mime KongregateLab's "Shoot" tutorial game?

2009-01-02 Thread Eli Bendersky
On Thu, Jan 1, 2009 at 15:57, Bill Seitz wrote: > I'd like to get my sons (age 10 and 8) programming, but the only hook > that I think will get them started is the ability to make a kinda cool > game. > > Ideally, I'd like to see a tutorial that leads them down the path of > making a starter non-

Re: [pygame] Background ghosts

2009-01-02 Thread Jake b
>As for the splitting the sprites, I considered that. The problem is that when >a row is complete (just like in >Tetris), a whole piece that fell wouldn't >necessarily disappear, but only part of one. I guess I could separate >each >piece into multiple sprites, but that would involve dozens of s