Re: [pygame] Pygame Render Text as Variables

2007-10-05 Thread Lamonte Harris
Why not try to slice the var? On 10/5/07, Samuel Mankins <[EMAIL PROTECTED]> wrote: > > Hi, > I'm trying to wright a rap-around code for my in-game message system, > which uses the Pygame render text tool for the text. So, I'd like to > know, is there a way to access the first and last letters of

Re: [pygame] Free chapter of my book

2007-10-04 Thread Lamonte Harris
I'm buy this book :). I think I'll preorder next week. On 10/4/07, Will McGugan <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I've just posted a free chapter from my book 'Beginning Game Development > with Python and Pygame' on my blog. > > > http://www.willmcgugan.com/2007/10/04/free-chapter-of-b

Re: [pygame] Pitcher's Duel Pitcher Demo playtesters needed.

2007-10-01 Thread Lamonte Harris
I'll do it after school. On 10/1/07, David <[EMAIL PROTECTED]> wrote: > > > I need play testers for an OpenGL baseball themed game. > > Pitcher's Duel will be a networked baseball simulation game, featuring > three-dimensional graphics, and minimal dependence on chance (luck). > The pitcher demo i

Re: [pygame] noname

2007-09-27 Thread Lamonte Harris
Probably there using weird signatures or something. On 9/27/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > On many people's posts, they seem to be attaching a small file called > "noname". It reads as follows: > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (FreeBSD) > > iD8DBQFG/AJAo/J

Re: [pygame] Starting with pygame

2007-09-25 Thread Lamonte Harris
For the background image its much like bliting a regular image. Just blit the image the same size at the screen of the window before anything then blit images. I'll have a working example some time today. On 9/25/07, bembulak <[EMAIL PROTECTED]> wrote: > > Hello everybody! > > Like many others,

Re: [pygame] You think tic tac toe is a good starter game?

2007-09-24 Thread Lamonte Harris
ut a nice game of chess? > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of [EMAIL PROTECTED] > Sent: Saturday, September 22, 2007 15:02 > To: pygame-users@seul.org > Subject: Re: [pygame] You think tic tac toe is a good starter game? > >

Re: [pygame] Working on a new project, Involves Collision

2007-09-23 Thread Lamonte Harris
:P, Google is your friend as they always tell me :)? Thanks btw. On 9/23/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > http://www.pick.ucam.org/~ptc24/brickbats.html > is a basic search for an open-source break-out game. I think it's even > wri

[pygame] Working on a new project, Involves Collision

2007-09-23 Thread Lamonte Harris
Okay I'm working on a new game: http://tickload.com/uploads/91277breakit2.gif is the idea of it we got the images done, does anyone have any collision tutorials for pygame or games that are pretty basic that uses a decent amount of collision that you would recommend reading? Thanks :D, Lamonte(thi

Re: [pygame] Just finished TicTacToe, but How would I do some AI?

2007-09-22 Thread Lamonte Harris
Yeah, I just found that error some time earlier, the exact one O_o. Weird lol. Thanks. Anywho about the AI, wouldn't it constain a lot of code? Is it possible to make this as little code as possible? Humm I'll see what I come up with. On 9/23/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > I s

Re: [pygame] Anybody think they can help me with my small problem?

2007-09-22 Thread Lamonte Harris
Yeah I did it another way, I divided by 2 instead, it was much clearer to me then. On 9/22/07, R. Alan Monroe <[EMAIL PROTECTED]> wrote: > > > Okay I took your idea Alan and I finally got the outcome that I wanted. > > Thanks. > > Not sure you "got" what I meant :) > > If you divide the mouse coor

[pygame] Just finished TicTacToe, but How would I do some AI?

2007-09-22 Thread Lamonte Harris
Yah, http://wecodepython.info/code/TicTacToe/TicTacToe.py is the code and http://wecodepython.info/games/TicTacToe.zip is the exe, Does anyone know how to do AI, if so can someone explain the mechanism to doing it?

Re: [pygame] Anybody think they can help me with my small problem?

2007-09-22 Thread Lamonte Harris
Okay I took your idea Alan and I finally got the outcome that I wanted. Thanks. On 9/22/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > I don't think thats the actual problem, its the part where I'm actually > trying to check what block im in. I got a feeling

Re: [pygame] Anybody think they can help me with my small problem?

2007-09-22 Thread Lamonte Harris
I don't think thats the actual problem, its the part where I'm actually trying to check what block im in. I got a feeling my numbers are off. It's confused me for some big now. On 9/22/07, R. Alan Monroe <[EMAIL PROTECTED]> wrote: > > > > def check_mouse(self,mouse): > > m1 = mouse[0

[pygame] Anybody think they can help me with my small problem?

2007-09-22 Thread Lamonte Harris
Well I was trying to get the current area of a Tic Tac Toe box: http://uni-code.com/MADIMG/1/afdeUntitled-1.gif The first 3 boxes worked and printed 1,2,3 then when I got to all the other ones it just spazzed. def check_mouse(self,mouse): m1 = mouse[0] m2 = mouse[1] x

Re: [pygame] I'm trying to make my X's and O's show using a while statement but for some reason it aint updating.

2007-09-22 Thread Lamonte Harris
Dang, never realized I accidentally changed that, no wonder it all of a sudden stop working :P. Thanks, Lamonte. On 9/22/07, Ulf Ekström <[EMAIL PROTECTED]> wrote: > > > elif self.cordnates[x][0] == 1 and self.cordnates [1][1] == 2: > > > Do you really want [1][1] there? > ^^^ > > > R

[pygame] I'm trying to make my X's and O's show using a while statement but for some reason it aint updating.

2007-09-21 Thread Lamonte Harris
The first self.cordnates value works, yet the others wont: def draw_game(self): x = 1 while x < len(self.cordnates) + 1: print self.cordnates[x] if self.cordnates[x][0] == 1 and self.cordnates[x][1] == 1: self.XandO('o',x) eli

Re: [pygame] You think tic tac toe is a good starter game?

2007-09-21 Thread Lamonte Harris
on't want to go > overboard). After that perhaps Tetris, Pong, Snake, Space Invaders, and > other various classics that in theory are not hard to code. > > On 9/21/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > > > I think it might be a great starter game, what a

[pygame] You think tic tac toe is a good starter game?

2007-09-21 Thread Lamonte Harris
I think it might be a great starter game, what about you guys?

Re: [pygame] Guys omg I'm about to preorder this book for pygame thats coming out oct 22 this year :D

2007-09-21 Thread Lamonte Harris
This is going to be great, I got just enough time to get 40$ :). On 9/21/07, Richard Jones <[EMAIL PROTECTED]> wrote: > > On Sat, 22 Sep 2007, Lamonte Harris wrote: > > Have you guys heard about it? I may be able to help with pygame even > more > > when I get t

[pygame] Guys omg I'm about to preorder this book for pygame thats coming out oct 22 this year :D

2007-09-21 Thread Lamonte Harris
Have you guys heard about it? I may be able to help with pygame even more when I get this book :D. http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?z=y&EAN=9781590598726&itm=3#pDetails

Re: [pygame] Is it possible to use GUI with pygame?

2007-09-17 Thread Lamonte Harris
Yeah, thanks I'll try PGU out. - Original Message - From: "Dave LeCompte (really)" <[EMAIL PROTECTED]> To: Sent: Monday, September 17, 2007 5:56 PM Subject: Re: [pygame] Is it possible to use GUI with pygame? "Lamonte Harris" <[EMAIL PROTECTED]&g

[pygame] Is it possible to use GUI with pygame?

2007-09-17 Thread Lamonte Harris
Okay, something new that I wanted to find out. Is there some type of GUI module that works smoothely with pygame it self or would I have to create something on my own?

[pygame] Hey guys, I'm trying to make mario jump :P Just I can't make him come back down.

2007-09-16 Thread Lamonte Harris
I'm not sure, how I would make mario come back down, I know for a fact I will have to rewrite this part. Can someone tell me if I'm on the right track and what I need to do. Code: http://wecodepython.info/mario

Re: [pygame] Not sure what to call this.

2007-09-16 Thread Lamonte Harris
round a base, but only in a certain range. If you want to > see it in action, download the game, run pen.py from the src/ directory, > and then edit a level and use the scrollwheel on a cannon. > > Hope this is helpful. > > --Mike > > Lamonte Harris wrote: > > Basically

[pygame] Not sure what to call this.

2007-09-15 Thread Lamonte Harris
Basically lets give a real live example. When your standing up and you move your arm at an diagonal the socket of the bone doesn't move but your arm does, lets put this back to pygame. How would Say if K have a simple sprite that has 2 parts body,1 arm. How would say if that sprite is in the mid

Re: [pygame] Looking for a somewhat beginner to help me start a game.

2007-09-15 Thread Lamonte Harris
USA,Mo On 9/15/07, Laura Creighton <[EMAIL PROTECTED]> wrote: > > In a message of Sat, 15 Sep 2007 12:03:04 CDT, "Lamonte Harris" writes: > >--=_Part_2427_14910439.1189875784479 > >Content-Type: text/plain; charset=ISO-8859-1 > >Content-Transfer-Encod

Re: [pygame] Looking for a somewhat beginner to help me start a game.

2007-09-15 Thread Lamonte Harris
pygame* On 9/15/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > THanks, Still would be nice if someone whos starting with python to work > with me. > > On 9/15/07, Samuel Mankins < [EMAIL PROTECTED]> wrote: > > > > Lamonte Harris wrote: > > > Y

Re: [pygame] Looking for a somewhat beginner to help me start a game.

2007-09-15 Thread Lamonte Harris
THanks, Still would be nice if someone whos starting with python to work with me. On 9/15/07, Samuel Mankins <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > Yes, I'm looking for someone whos learning pygame also that would want > > to create simple gam

[pygame] Looking for a somewhat beginner to help me start a game.

2007-09-15 Thread Lamonte Harris
Yes, I'm looking for someone whos learning pygame also that would want to create simple games with me. Would be a great learning experience.

Re: [pygame] 3D SHMUP

2007-09-15 Thread Lamonte Harris
I second that(learning the knowledge that is). On 9/15/07, Samuel Mankins <[EMAIL PROTECTED]> wrote: > > Hi, > I'm trying to right a SHMUP, sort of a Metroid style of thing. I > downloaded the RayForge demo from pygame.org, and I'm thinking I might > want to use that as a base, but where do I star

[pygame] Re: Just bought Python in a Nutshell

2007-09-14 Thread Lamonte Harris
Wow I just got it, and its nice doesn't even look used god damn. :D. On 9/14/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Lol, you bought it, dude theres not one left imho. When I bought it, it > still said 1 More left Lol...mines should be her no less then a hour -.-

[pygame] Re: Just bought Python in a Nutshell

2007-09-14 Thread Lamonte Harris
Right, I like reading books it comes handier then reading ebooks, less programs and its right there in your hands. Main reason I'm going to use it for is to find questions without asking them on the python list or tutor list for a quicker referrence. On 9/14/07, [EMAIL PROTECTED] <[EMAIL PROTECT

Re: [pygame] Pygame Problem Solving 1

2007-09-14 Thread Lamonte Harris
ah really, I'll look at that sometime today :). On 9/13/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > Whups major flaw forgot to check if the height also. > > Check out the collidepoint() method of the Rect class. > It'll che

[pygame] Just bought Python in a Nutshell

2007-09-13 Thread Lamonte Harris
http://www.powells.com/biblio/63-9780596001889-7 Used, has anyone read this book. Any additional information that you like,dislike about this book? [I like having real books and stead of ebooks because its better on the eyes.] Should be her 2morrow Afternoon :), few hours before I get home great

Re: [pygame] Pygame Problem Solving 1

2007-09-13 Thread Lamonte Harris
] rng2 = mouse[1] - MAP.blocks[2].point[1] if rng in range(0,25) and rng2 in range(0,25): print "True" Checks to see if I'm clicking the third square rendered from the text file map. http://cleanscript.com/Map/Map2 On 9/13/07, Lamonte Harris &l

Re: [pygame] Pygame Problem Solving 1

2007-09-13 Thread Lamonte Harris
gt; > y_tile = mouse_pos_y/tile_height > > > > instead of using a rect collision function. (well if you have scrolling > > then you need to add some offsets, > > but that should not be that difficult). > > > > As for the tileset and map I would go the way

[pygame] Pygame Problem Solving 1

2007-09-12 Thread Lamonte Harris
Problem Solving 1 Rendering a map switching script. There will be a simple window. At the bottom if tge screen it will say pick a map. Using the mouse events and positioning I will be able to click on the squares that will represent certain maps at the bottom of the screen and the diffe

Re: [pygame] Is there a downloadable Manual?

2007-09-12 Thread Lamonte Harris
he browser saves as that type so the > > appropriate registered plugin will run. > > > > > > On 9/11/07, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: > > > >> Interesting. I used 7zip to compress it. > >> > >> Lenard > >> > &g

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-12 Thread Lamonte Harris
In fact now that I think about it the way you wrote it isn't even > correct: frame % 2 == 0 whenever the frame number is even so every other > frame you'll get frame 9. > > --Mike > > Lamonte Harris wrote: > > Nvm I fixed it. :D > > > > On 9/11/07, *La

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-12 Thread Lamonte Harris
my tutorials to the pygame site? > > ~DR0ID > > Lamonte Harris schrieb: > > :) yuo need to finish your collision tutorial. > > > > On 9/12/07, *DR0ID* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > http://dr0id.homepa

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
Hey guys just wondering, do you think a bullet animation would be hard? On 9/12/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > :) yuo need to finish your collision tutorial. > > On 9/12/07, DR0ID <[EMAIL PROTECTED]> wrote: > > > > > > http://dr0id.

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
:) yuo need to finish your collision tutorial. On 9/12/07, DR0ID <[EMAIL PROTECTED]> wrote: > > > http://dr0id.homepage.bluewin.ch/pygame_tutorial04.html > > ~DR0ID > > > Casey Duncan schrieb: > > > > On Sep 11, 2007, at 9:00 PM, Ian Mallett wrote: > > > >> Opps. That's: > >> > >> if frame_number

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
Thanks :D, heres the updated file. I'm going to recode It so the code is sorter some how. On 9/11/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > Ah, good! > #Lamonte import pygame,sys,string from pygame.locals import * class Block(pygame.sprite.Sprite): def __init__(self):

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
Nvm I fixed it. :D On 9/11/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Okay this is really complicated, it seem like its looping correctly but > the images aren't switching. > > On 9/11/07, Lamonte Harris < [EMAIL PROTECTED]> wrote: > > > > Okay t

Re: [pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
Okay thanks sounds like a plan. On 9/11/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > Opps. That's: > > if frame_number%10 == 0: #frame_number is a multiple of ten > #draw frame 1 > elif frame_number%9 == 0: #frame_number ends in 9 > #draw frame 2 > elif frame_number%8 == 0: #frame_number en

[pygame] I can't seem to find any simple sprite animation game examples on the pygame.org site

2007-09-11 Thread Lamonte Harris
Does anyone know of any simple animation games or scripts I can referrer to to see how they switch thru 2 images to make it look like they are moving.

Re: [pygame] How do I make a image transparent?

2007-09-11 Thread Lamonte Harris
Thanks I'll keep that in mind :). On 9/11/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > On 9/11/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > > Tell me what you think: http://cleanscript.com/Map/main3.py > > > > On 9/11/07, Lamonte Harris &l

Re: [pygame] Is there some type of hex codes to rgb converter or something?

2007-09-11 Thread Lamonte Harris
Oh nice, thanks for the alternative But how do u know if ur gonna get a red/blue...etc.. out the colors, kinda confusing. On 9/11/07, Peter Shinners <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > I like using HTML hex, is there a library or something on pygame or >

Re: [pygame] How do I make a image transparent?

2007-09-11 Thread Lamonte Harris
Tell me what you think: http://cleanscript.com/Map/main3.py On 9/11/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Thanks :) works like a charm :P. > On 9/11/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > > > Lamonte Harris wrote: > > > See

Re: [pygame] How do I make a image transparent?

2007-09-11 Thread Lamonte Harris
Thanks :) works like a charm :P. On 9/11/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > See I got this png file w/ a white BG :( is it possible to make the > > white in the BG of the image transparent? > Of course - look into the set

[pygame] How do I make a image transparent?

2007-09-11 Thread Lamonte Harris
See I got this png file w/ a white BG :( is it possible to make the white in the BG of the image transparent? <>import pygame,sys,string from pygame.locals import * class Block(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) class SpriteSheet:

Re: [pygame] Does anyone know of any guides or tutorials for sprite sheets and pygame?

2007-09-11 Thread Lamonte Harris
> > > > > On 9/11/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > > > I want to know how to actually seperate the image, would I create a rect > > off the sprite sheet in a certain area of the spritesheet > > > > On 9/11/07, James Hancock <[EMAIL

Re: [pygame] Does anyone know of any guides or tutorials for sprite sheets and pygame?

2007-09-11 Thread Lamonte Harris
? > > On 9/11/07, Lamonte Harris < [EMAIL PROTECTED]> wrote: > > > > I said spritesheet for example theres one image that contains all your > > character's pieces or just different versions of your character. > > > > On 9/11/07, Rikard Bosnjakovic <

Re: [pygame] Does anyone know of any guides or tutorials for sprite sheets and pygame?

2007-09-11 Thread Lamonte Harris
I said spritesheet for example theres one image that contains all your character's pieces or just different versions of your character. On 9/11/07, Rikard Bosnjakovic <[EMAIL PROTECTED]> wrote: > > On 11/09/2007, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > > I do

[pygame] Does anyone know of any guides or tutorials for sprite sheets and pygame?

2007-09-11 Thread Lamonte Harris
I don't know how I could/would do it. I'm going to do some more google searching.

Re: [pygame] Is there a downloadable Manual?

2007-09-11 Thread Lamonte Harris
hm by > > default, so older zip programs can't handle them. I'm pretty sure that > > the current version of Winzip does support deflate64, so maybe Lamonte > > Harris was using an old one? > > This is an interesting bit of trivia, but the file was a .tar.gz :) >

Re: [pygame] Is there a downloadable Manual?

2007-09-11 Thread Lamonte Harris
rograms can't handle them. I'm pretty sure that > the current version of Winzip does support deflate64, so maybe Lamonte > Harris was using an old one? > > --- > James Paige > > On Tue, Sep 11, 2007 at 12:45:50PM -0700, Lenard Lindstrom wrote: > > Interesting. I

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Sorry I forgot the map1.map file. On 9/10/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Ok heres my outcome. main2.py is the newer one. main.py is the older > one. > > On 9/10/07, Lamonte Harris <[EMAIL PROTECTED] > wrote: > > > > Yeah I just seen it

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Ok heres my outcome. main2.py is the newer one. main.py is the older one. On 9/10/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Yeah I just seen it lol sorry my mistake. I'll email back when I'm done. > > Thanks for all the help, so far so good. > > On 9

Re: [pygame] Is there some type of hex codes to rgb converter or something?

2007-09-10 Thread Lamonte Harris
It works well for me. Its just a snippet i grabed from my class O_o. On 9/10/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > I came up w/ this for my class: > > def hex_converter(self,hexcolorcode): > > hexcolorcode = he

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Yeah I just seen it lol sorry my mistake. I'll email back when I'm done. Thanks for all the help, so far so good. On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote: > >

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
t;[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote: > > Oh dude you might be a life saver I found this script on google and I > > understand it. > > > > http://www.daniweb.com/code/snippet390.html thats wha

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Oh dude you might be a life saver I found this script on google and I understand it. http://www.daniweb.com/code/snippet390.html thats what you ment right On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Okay I'm a bit confused with the whole surfaces[i].image I understand how to assign rects and all but what I mean is how would I go about making that class into a list? On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
ore. On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > Can you give me a very basic example, I've been trying to look at code > > examples and the docs and I'm still not catching on. > > Attached is a very basic exampl

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Can you give me a very basic example, I've been trying to look at code examples and the docs and I'm still not catching on. On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote: &

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
I still don't understand the sprite class yet. If you have time can you give me a brief desc :). On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote: > > Okay :), I fixed it I h

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Okay :), I fixed it I had the x and y in the wrong spot: self.create_box(self.map[z][q][0],self.map[z][q][1],(y,x)) is the correct method. On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote

[pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.

2007-09-10 Thread Lamonte Harris
Yeah took some time of thinking and fixing and rethinking. Pygame is like a strategy puzzle. I've just mapping script, where in the text file are numbers. I read the numbers from 1,2 and switch then into rects that I created. Them I displayed them on the screen. Its quite nice to make somethin

Re: [pygame] Is there some type of hex codes to rgb converter or something?

2007-09-10 Thread Lamonte Harris
) return (red,green,blue) Thanks. again On 9/10/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Freaking thank you "Tries it out now" > > On 9/10/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > > > Lamonte Harris wrote: > > > I

Re: [pygame] Is there some type of hex codes to rgb converter or something?

2007-09-10 Thread Lamonte Harris
Freaking thank you "Tries it out now" On 9/10/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > I like using HTML hex, is there a library or something on pygame or > > python it self to convert hex to rgb > HTML hex colors ar

Re: [pygame] Is there a downloadable Manual?

2007-09-10 Thread Lamonte Harris
Works now, a tip for others, save to ur computer before trying to unzip. Using Winzip, it'll say corrupted. On 9/10/07, Ethan Glasser-Camp <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lamonte Harris wrote: > > Doesn't w

Re: [pygame] Is there a downloadable Manual?

2007-09-10 Thread Lamonte Harris
Doesn't work for me, let me know when it works. On 9/10/07, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > Life Saver :), can't wait til its updated. > > > > On 9/10/07, *Jason Marshall* <[EMAIL PROTECTED] <mailto:[EMA

[pygame] Is there some type of hex codes to rgb converter or something?

2007-09-10 Thread Lamonte Harris
I like using HTML hex, is there a library or something on pygame or python it self to convert hex to rgb

Re: [pygame] draw.rect question real simple

2007-09-10 Thread Lamonte Harris
Ok kool I sort of thought so. Thanks for the quick reply. More questions coming soon :). On 9/10/07, Kris Schnee <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > So basically pygame.draw.rect basically draws on the rect onto the > > surface, so its not actually a

[pygame] draw.rect question real simple

2007-09-10 Thread Lamonte Harris
So basically pygame.draw.rect basically draws on the rect onto the surface, so its not actually assigned to anything(such as a variable).

Re: [pygame] Is there a downloadable Manual?

2007-09-10 Thread Lamonte Harris
Life Saver :), can't wait til its updated. On 9/10/07, Jason Marshall <[EMAIL PROTECTED]> wrote: > > Lamonte, > > This is available, but it's not quite up-to-date: > ftp://pygame.org/pub/pygame/pygame-docs-1.6.exe > > Jason M. > > > > > _

Re: [pygame] Is there a downloadable Manual?

2007-09-10 Thread Lamonte Harris
Preferrable Compiled HTML Help File, runs smoother and its less RAM/CPU usage. On 9/10/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > On 9/10/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > Would be nice to have one :). > > I second that. >

[pygame] Is there a downloadable Manual?

2007-09-10 Thread Lamonte Harris
Would be nice to have one :).

Re: [pygame] How come when running games with pygame it takes a load of cpu?

2007-09-08 Thread Lamonte Harris
Actually I changed self.clock.tick(60) to self.clock.tick(10) Actually is working out quiet well thanks :). Learned something new. On 9/9/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > I think its pygame.time.Clock(), yah it is. That doesn't work for me > though

Re: [pygame] How come when running games with pygame it takes a load of cpu?

2007-09-08 Thread Lamonte Harris
I think its pygame.time.Clock(), yah it is. That doesn't work for me though humm. I'll try the time.sleep then. On 9/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sun, September 9, 2007 2:50 am, Lamonte Harris wrote: > > It gets anoyying, but w/ my 384

Re: [pygame] Yes I'm finally getting "Classes" with pygame.

2007-09-08 Thread Lamonte Harris
True, I attached the other files this time. Would be nice if python loaded faster though :). On 9/8/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > Lamonte Harris wrote: > > :D I'm making progress, taught my self some what of how to move images > > using keyb

[pygame] Yes I'm finally getting "Classes" with pygame.

2007-09-08 Thread Lamonte Harris
:D I'm making progress, taught my self some what of how to move images using keyboard keys. First I took some animated ball moving script ripped it apart tried understanding it and edited it a bit, was fun. Then I rewrote it using classes :D with my basic Python Knowledge I've been studying for f

[pygame] How come when running games with pygame it takes a load of cpu?

2007-09-08 Thread Lamonte Harris
It gets anoyying, but w/ my 384mb RAM I didn't expect it to take so much cpu. 99% Some times.

Re: [pygame] Ok another question from me - Python Classes and Pygame is pretty hard to understand.

2007-08-31 Thread Lamonte Harris
org/tut/node11.html > > hth, > > -Casey > > On Aug 31, 2007, at 2:52 PM, Lamonte Harris wrote: > > > Whats the best method to understand how to use classes w/ pygame > > code. I seen some complex stuff like: > > class Fist(pygame.sprite.Sprite): > > "&

Re: [pygame] Will there be a doc rewrite anytime soon?

2007-08-31 Thread Lamonte Harris
I'd volunteer my whole year if I get taught some of the information and get tutored w/ documentation :D. Please lemme know if I can learn and help :) I got time xD. On 8/31/07, Richard Jones <[EMAIL PROTECTED]> wrote: > > On Sat, 1 Sep 2007, Lamonte Harris wrote: > >

[pygame] Ok another question from me - Python Classes and Pygame is pretty hard to understand.

2007-08-31 Thread Lamonte Harris
Whats the best method to understand how to use classes w/ pygame code. I seen some complex stuff like: class Fist(pygame.sprite.Sprite): """moves a clenched fist on the screen, following the mouse""" def __init__(self): pygame.sprite.Sprite.__init__(self) #call Sprite initializer

Re: [pygame] Will there be a doc rewrite anytime soon?

2007-08-31 Thread Lamonte Harris
I hope this happens no longer then 6 months :) Because thats when I'm going to be developing a very BIG game w/ pygame. Just hope its documented well soon enough. On 8/31/07, Marcus von Appen <[EMAIL PROTECTED]> wrote: > > On, Fri Aug 31, 2007, Lamonte Harris wrote: > >

[pygame] Will there be a doc rewrite anytime soon?

2007-08-31 Thread Lamonte Harris
Some of the things on the site are good, but hard to understand without simple code examples. Would be a good addition to pygame's site.

Re: [pygame] What about python 3?

2007-08-31 Thread Lamonte Harris
Yeah thats true. On 8/31/07, Marcus von Appen <[EMAIL PROTECTED]> wrote: > > On, Fri Aug 31, 2007, Lamonte Harris wrote: > > > What do we do for python 3 :S. When will there be information on pygame > and > > the new Python 3? > > Citated from htt

[pygame] What about python 3?

2007-08-31 Thread Lamonte Harris
What do we do for python 3 :S. When will there be information on pygame and the new Python 3? Thanks.