Re: [pygame] Newbie performance question

2018-07-19 Thread Andreas Zielke
Hi all, thank you very much for your kind help. All the best Andreas Am Mi., 18. Juli 2018 um 22:02 Uhr schrieb Ian Mallett : > ​I think OP is confusing framerate with jitter due to lack-of-VSync. >

Re: [pygame] Newbie performance question

2018-07-18 Thread Ian Mallett
​I think OP is confusing framerate with jitter due to lack-of-VSync.

Re: [pygame] Newbie performance question

2018-07-17 Thread Christopher Night
It runs fine for me. What sort of framerate are you getting (self.clock.get_fps())? If it really is significantly less than 60, my only suggestion would be to try running it in windowed mode instead of fullscreen and see if that makes any difference. On Tue, Jul 17, 2018 at 2:53 PM Andreas Zielke

Re: [pygame] Newbie performance question

2018-07-17 Thread MrGumm
Hi, Andreas. The sprite speed of 5 pixels per tick creates a jarring effect on the eye. This especially happens if the colors starkly contrast. Try this to lower the pixel delta (difference) per rendered frame: self.fps =180 self.ball.x_speed = random.choice([-1, 1]) *5 * (60.0 /self.fps) sel

[pygame] Newbie performance question

2018-07-17 Thread Andreas Zielke
Hi all, I've dabbled with pygame and wrote a Pong-like game (code see below). I've tried to follow the advice in the tips/tutorial section and also tried out the dirty-rect strategy described in https://www.pygame.org/docs/ref/sprite.html#comment_pygame_sprite_RenderUpdates This did not seem to

Re: [pygame] newbie who is lost asking for rescue party

2012-10-05 Thread James Paige
Thursday, October 4, 2012 1:20 AM >Subject: Re: [pygame] newbie who is lost asking for rescue party >I'm assuming you have Windows. If you have a 64-bit machine, download this >file: http://www.python.org/ftp/python/3.2.3/python-3.2.3.amd64.msi > >If you have a 32-

Re: [pygame] newbie who is lost asking for rescue party

2012-10-04 Thread Al Sweigart
u had to start from the beginning > > > > i also got advice to download the latest version but then is it as > supported > > as version 2.7 > > > > Shane > > From: Owen Rexian > > To: pygame-users@seul.org > > Sent: Thursday, October 4, 2012 1:08 AM &g

Re: [pygame] newbie who is lost asking for rescue party

2012-10-04 Thread Dan Uznanski
> as version 2.7 > > Shane > From: Owen Rexian > To: pygame-users@seul.org > Sent: Thursday, October 4, 2012 1:08 AM > > Subject: Re: [pygame] newbie who is lost asking for rescue party > > Not 100% sure what the problem is... > > So you have downloaded the

Re: [pygame] newbie who is lost asking for rescue party

2012-10-04 Thread SHANE VAN STRAATEN
you suggest if you had to start from the beginning   i also got advice to download the latest version but then is it as supported as version 2.7   Shane From: Owen Rexian To: pygame-users@seul.org Sent: Thursday, October 4, 2012 1:08 AM Subject: Re: [pygame] newbie who is lost asking for

Re: [pygame] newbie who is lost asking for rescue party

2012-10-04 Thread SHANE VAN STRAATEN
i ahve to still learn what would you do   Shane   From: Al Sweigart To: pygame-users@seul.org Sent: Thursday, October 4, 2012 1:20 AM Subject: Re: [pygame] newbie who is lost asking for rescue party I'm assuming you have Windows. If you have a 64-bit machine, download this file:

Re: [pygame] newbie who is lost asking for rescue party

2012-10-04 Thread Jason M. Marshall
re written before Python 3 arrived with its minor syntax changes. Jason From: Al Sweigart To: pygame-users@seul.org Sent: Wednesday, October 3, 2012 6:20 PM Subject: Re: [pygame] newbie who is lost asking for rescue party I'm assuming you have Windows

Re: [pygame] newbie who is lost asking for rescue party

2012-10-03 Thread Al Sweigart
I'm assuming you have Windows. If you have a 64-bit machine, download this file: http://www.python.org/ftp/python/3.2.3/python-3.2.3.amd64.msi If you have a 32-bit machine, download this file: http://www.python.org/ftp/python/3.2.3/python-3.2.3.msi If you don't know, go to Start > Control Panel >

Re: [pygame] newbie who is lost asking for rescue party

2012-10-03 Thread Owen Rexian
Not 100% sure what the problem is... So you have downloaded the binary, opened it up, and then what? On 4 October 2012 00:05, shane wrote: > Hi > > totaly a newbie in every sense > > was told to download 2.7 version but even when i go to instruction page i > get lost again please some help > >

[pygame] newbie who is lost asking for rescue party

2012-10-03 Thread shane
Hi totaly a newbie in every sense was told to download 2.7 version but even when i go to instruction page i get lost again please some help i downloaded python-2.7.3 exe (15.5mb) what else do i need and where di i get it because there is a heck of a lot of files that i dont know what they mean

Re: [pygame] Newbie Main Window / Message Loop questions..

2010-12-16 Thread Shavais Z
To fix these problems I attempted to integrate with wxPython, like this: [code] #!/usr/bin/env python FRAMETITLE = 'Basic Frame test' APPNAME = 'Basic Frame' import sys, os, wx pygame = None class MainFrame(wx.Frame): def __init__(self, parent, ID, title, pos=wx.DefaultPosition, size=wx.De

Re: [pygame] Newbie Main Window / Message Loop questions..

2010-12-12 Thread Greg Ewing
Shavais Z wrote: it seems weird to me that while there is this "Python" menu up there with a "Quit" option that actually works, when you click it, but the advertised shortcut key (Option Q) for it doesn't work. +1 from me on fixing this too... it's really quite lame. For some reason, the who

[pygame] Newbie Main Window / Message Loop questions..

2010-12-12 Thread Shavais Z
Hello, and thanks for looking at this. I hope you have patience for a pygame newbie.. I'm using Mac OS 10.6, python 2.6.6, and pygame 1.9.1. I got this slightly modified sample working: [code] import sys, pygame pygame.init() size = width, height = 320, 240 speed = [4, 4] black = 0,

Re: [pygame] newbie

2010-03-30 Thread snet-1
Thanks for everyone's help. Much appreciated. Mark From: inigo delgado Sent: Tuesday, March 30, 2010 9:52 AM To: pygame-users@seul.org Subject: Re: [pygame] newbie > Or like me you can run Ubuntu(Or your distro of choice) inside a VM like > Virtual Box. Saves monkeying around

Re: [pygame] newbie

2010-03-30 Thread inigo delgado
> Or like me you can run Ubuntu(Or your distro of choice) inside a VM like Virtual Box. Saves monkeying around looking for Win > versions of things like grep, wget etc etc. I have a better choice: run windows inside a VM like Virtual Box in a ubuntu (or your distro of choice) host machine. :) So y

Re: [pygame] newbie

2010-03-30 Thread Thomas Ibbotson
On 29 March 2010 21:40, James Paige wrote: > grep is a unix command for searching files. All us cool Linux kids know > it :) and love it... > > But the Windows equivalent would just be to search in the pygame > examples folder for any files that contain the word SLK_ > and the google equivalent

Re: [pygame] newbie

2010-03-30 Thread Thomas Ibbotson
On 30 March 2010 02:23, Russell Cumins wrote: > Or like me you can run Ubuntu(Or your distro of choice) inside a VM like > Virtual Box. Saves monkeying around looking for Win versions of things like > grep, wget etc etc. > cygwin + puttycyg FTW! Tom

Re: [pygame] newbie

2010-03-29 Thread Russell Cumins
wrote: >> >grep -r for "SDLK_" ? O.o >> > >> >Just so you know, i'm 100% new at programming, so all input is >> greatly >> >received and please be patient if I need everything spelled out. >> > >> >Thanks for th

Re: [pygame] newbie

2010-03-29 Thread Daniel Tousignant-Brodeur
haven't had a chance to read through your sudjestions yet (on the > > books 2nite) but I will get back with more Q's (if that's cool. > > > > If anyone's interested, Py Em Up has a really interesting way of > > levelmakeing using bmp images

Re: [pygame] newbie

2010-03-29 Thread James Paige
9:06 PM >To: pygame-users@seul.org >Subject: Re: [pygame] newbie >Hi, >Here's a little trick: try grep -r for "SDLK_" for example in some game's >code, it will search recursively through all the game's files. this way >you do not have to rei

Re: [pygame] newbie

2010-03-29 Thread snet-1
grep -r for "SDLK_" ? O.o Just so you know, i'm 100% new at programming, so all input is greatly received and please be patient if I need everything spelled out. Thanks for the help Mark From: 0wl Sent: Sunday, March 28, 2010 9:06 PM To: pygame-users@seul.org Subject: Re: [pyga

Re: [pygame] newbie

2010-03-28 Thread 0wl
#x27;s cool. > > If anyone's interested, Py Em Up has a really interesting way of > levelmakeing using bmp images > > ------ > From: "Kris Schnee" > Sent: Thursday, March 25, 2010 11:20 PM > > To: >

Re: [pygame] newbie

2010-03-26 Thread snet-1
f anyone's interested, Py Em Up has a really interesting way of levelmakeing using bmp images -- From: "Kris Schnee" Sent: Thursday, March 25, 2010 11:20 PM To: Subject: Re: [pygame] newbie On 3/25/2010 6:03 PM, sne...@msn.com wrote:

Re: [pygame] newbie

2010-03-25 Thread Kris Schnee
On 3/25/2010 6:03 PM, sne...@msn.com wrote: Ah, yes I see what's happening, the last time I was doing it I was using: ...KEYDOWN: if event.key == K_LEFT: foreward = True ...KEYUP: if event.key == K_LEFT: foreward = False meaning it was staying true, until key up but now it's not k

Re: [pygame] newbie

2010-03-25 Thread snet-1
0, 0, 0)) D = Keyboard.controls() ball.draw(100, 100) ball.update(D, 1) controls: def controls(): output = 0 keysDown = pygame.key.get_pressed(): if keysDown[K_RIGHT]: output = 6 ? -- From: "Kris Schnee" Sent: T

Re: [pygame] newbie

2010-03-25 Thread Kris Schnee
On Thu, 25 Mar 2010 19:10:22 -, sne...@msn.com wrote: > Hi guys. > > I'm new to python and programming in general so expect noob questions :.) > > I've got up to classes & functions & having problems getting round a little > input problem. > > I've put my keyboard controls in a separate modu

[pygame] newbie

2010-03-25 Thread snet-1
Hi guys. I'm new to python and programming in general so expect noob questions :.) I've got up to classes & functions & having problems getting round a little input problem. I've put my keyboard controls in a separate module from the pygames main loop and my 'character' in another module. Wh

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-07 Thread Charles Christie
I thought of doing that but figured that it would clutter inboxes or make it seem like I was trying to artificially garner attention. I'll make a new thread. On 2/6/07, Rikard Bosnjakovic <[EMAIL PROTECTED]> wrote: On 2/6/07, Charles Christie <[EMAIL PROTECTED]> wrote: > Anyway, Let's see. The

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-06 Thread Rikard Bosnjakovic
On 2/6/07, Charles Christie <[EMAIL PROTECTED]> wrote: Anyway, Let's see. The tools I need: [...] May I suggest you start a new thread? This thread of 50+ posts has evolved a bit, and for newcomers it would be easier to do a follow up of the actual content if it's pinned down with a proper sub

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-06 Thread Luke Paireepinart
Charles Christie wrote: >Wii will rock you I lol'd. Anyway, Let's see. The tools I need: a clock. I suppose pygame.time.set_timer(pygame.USEREVENT + 1, 1000) would be correct. That would set a timer that, every 1000 miliseconds (that's one second, right?), would call pygame.USEREVENT + 1 w

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-06 Thread Charles Christie
Wii will rock you I lol'd. Anyway, Let's see. The tools I need: a clock. I suppose pygame.time.set_timer(pygame.USEREVENT + 1, 1000) would be correct. That would set a timer that, every 1000 miliseconds (that's one second, right?), would call pygame.USEREVENT + 1 which would decrease the numb

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-06 Thread Luke Paireepinart
Charles Christie wrote: hmm. So to make a timer, I'd make an event that would, every second, subtract one from a number that I could call "timer?" I never thought of it that way. Actually, that's given me a new idea that would greatly simplify making a scoring system and a different way to con

Re: [pygame] Newbie needs Pygame instalation help (sorry)!

2007-02-05 Thread Adam Fitch
Hey there, Well, I tried everything you suggested, and it worked! Yay! Also, I joined the "Tutor" Python mailing list; I didn't know it existed, so thanks! Also, yes, I tried loading the "examples" files (chimp.py, aliens.py etc.), and they run fine. Thanks for all your help! -Adam On 2/4/0

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-05 Thread Charles Christie
hmm. So to make a timer, I'd make an event that would, every second, subtract one from a number that I could call "timer?" I never thought of it that way. Actually, that's given me a new idea that would greatly simplify making a scoring system and a different way to control difficulty as well...

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-05 Thread Luke Paireepinart
On 2/5/07, Charles Christie <[EMAIL PROTECTED]> wrote: I would like to ask you guys another question. If you feel in the mood to help me out, feel free... but it turns out that I don't have as much time as I had hoped, because they (my teachers) want something I can demonstrate out by early May.

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-05 Thread Bob the Hamster
On Mon, Feb 05, 2007 at 05:26:46PM -0500, Charles Christie wrote: > >Is there any way to get pygame to get the right y coordinates of a rect? >because I would like to have my text on the right side of the screen and >if I knew how to get that, it would be a walk in the park. I know you

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-05 Thread Charles Christie
I would like to ask you guys another question. If you feel in the mood to help me out, feel free... but it turns out that I don't have as much time as I had hoped, because they (my teachers) want something I can demonstrate out by early May. >.< I need to get moving on this, and find some sprites

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-04 Thread Charles Christie
Ha~! I got it working! I went over my code and compared it to a pygame example, and noticed I didn't add my new classes to the "all.add(textsprite)" at the bottom! Well, now it works, but it places the text in the wrong place. I know how to fix that, though! I will have to change parts of the code

Re: [pygame] Newbie needs Pygame instalation help (sorry)!

2007-02-04 Thread Luke Paireepinart
Adam Fitch wrote: Hello, Hi! First, I downloaded and installed Python itself, version 2.4.4 (the "python-2.4.4.msi" file), from python.org . Good so far. Second, I downloaded and ran the "pygame-1.7.1release.win32-py2.4.exe " file. Yep, that's what you should do. Third

[pygame] Newbie needs Pygame instalation help (sorry)!

2007-02-04 Thread Adam Fitch
Hello, So, I'm very new to scripting languages and the like, and not *that* good with computers, so sorry if this is stuff that should be plain and simple to me. :-) I'm going to go step-by-step and explain what I've done, and hopefully someone can tell me where I'm going wrong. Also, some basi

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-02-02 Thread Charles Christie
Crap. My hard drive died. Good thing I backed this thing up, huh? Well, now that I've recovered, I will post the code as an attatchment like I said I would. Here you go. On 1/31/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: I figured I was doing something wrong... I didn't know I co

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Charles Joseph Christie II
I figured I was doing something wrong... I didn't know I could include attachments. Sorry, this is really the first experience I've had with a mailing list... A few e-mails up, I said I was trying to get the game to display the letters and words you typed correctly in a row. Someone said to put th

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Greg Ewing
Charles Christie wrote: I have, however, thought of a way to do the basic idea of yours. The hard part would be the bullet patterns. Instead of bullets, maybe there could be obstacles to manoeuvre around, wandering monsters to avoid, etc. Sort of a "typing rogue"... hmmm... you could find scro

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Luke Paireepinart
Charles Christie wrote: Aww it still doesn't work... am I doin' it right? What doesn't work? it's easier to give you help if you explain the problem you're having and only include code snippets you think are relevant... I have zero desire to read through all your code and try to figure out

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Charles Christie
Aww it still doesn't work... am I doin' it right? #Credit to scriptedfun (http://www.scriptedfun.com) for the help with the typing portion #Still a very VERY barebones typing script. Next I have to work on #the basic shoot-em-up part and get the scoring in place import p

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Charles Christie
Yeah, that's a good idea, actually. But that would require a LOT more strategy as to how to program the bullet patterns and gameplay itself. I have, however, thought of a way to do the basic idea of yours. The hard part would be the bullet patterns. They obviously wouldn't be bullet hell, even on

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Luke Paireepinart
Charles Christie wrote: Oh. :P Interesting idea, but I really have no clue on how to program something like that... Another, probably more managable idea, is to lay words out on a +, so you type the up word to move up, the down word to move down, and some extra word if you want to shoot / bomb

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Charles Christie
Oh. :P Interesting idea, but I really have no clue on how to program something like that... On 1/30/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Charles Joseph Christie II wrote: > Actually, you would only move if you held the "TAB" button, else you'd > type. > He was suggesting an intrigui

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-30 Thread Luke Paireepinart
Charles Joseph Christie II wrote: Actually, you would only move if you held the "TAB" button, else you'd type. He was suggesting an intriguing alternate control scheme, not asking how your game worked :) -Luke The thing is that moving would be mapped, on a qwerty keyboard: WASD, IKJL, and th

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Charles Joseph Christie II
Actually, you would only move if you held the "TAB" button, else you'd type. On Tue, 30 Jan 2007 14:03:34 +1300 Greg Ewing <[EMAIL PROTECTED]> wrote: > Charles Christie wrote: > > The game would be about typing english words as fast as possible to > > damage the boss, while moving around the bull

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Greg Ewing
Charles Christie wrote: The game would be about typing english words as fast as possible to damage the boss, while moving around the bullet pattern it fires at you. The thing is that moving would be mapped, on a qwerty keyboard: WASD, IKJL, and the up, 5, left and right buttons on a numpad. Th

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Charles Christie
Ah, I get it. I remember there being a section in a pygame tutorial I read having this in it, but if I put them in another sprite class, how is it going to get the number of combos from the textsprite class to blit on screen? On 1/29/07, Patrick Mullen <[EMAIL PROTECTED]> wrote: Ok, first I thou

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Patrick Mullen
Ok, first I thought you weren't blitting the other text to the screen at all, now I see that you are, but you are doing it inside another sprites update() method. The problem is that when you do dirty = all.draw(screen) It is only getting dirty rectangles for each sprite that is in all. So it

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Charles Christie
Alright my friends, I am in need of a little more help I tried to have the game count combos but it's not displaying it on screen. (After I get this working, I'll also try to get it to display how many words you typed and how many words are left, and later convert that into an HP bar, but tha

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Charles Christie
The game would be about typing english words as fast as possible to damage the boss, while moving around the bullet pattern it fires at you. The thing is that moving would be mapped, on a qwerty keyboard: WASD, IKJL, and the up, 5, left and right buttons on a numpad. I've never even seen a DVORAK

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Luke Paireepinart
Charles Christie wrote: Oh, and Luke, the game will be Open Source. So go ahead and modify it for DVORAK or whatever. Do you really need to do that though? won't it work fine with any kind of keyboard? Well, aside from the moving parts. That would need modification for different keyboard types.

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-29 Thread Charles Christie
Oh, and Luke, the game will be Open Source. So go ahead and modify it for DVORAK or whatever. Do you really need to do that though? won't it work fine with any kind of keyboard? Well, aside from the moving parts. That would need modification for different keyboard types. On 1/24/07, Charles Chris

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-24 Thread Charles Christie
On 1/24/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Sounds good. What's this business about combos? Oh, and by the way, I'm in the process of writing a raycaster game engine. Thought that might interest you since you were thinking of making a first-person shooter typing game, right? I wou

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-24 Thread Luke Paireepinart
Charles Christie wrote: Thanks luke, that did it! My code now looks like this: ** [snip] elif event.type == KEYDOWN: if event.key == K_ESCAPE: return elif event.key == K_TAB: moving = 1

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-23 Thread Charles Christie
Thanks luke, that did it! My code now looks like this: ** #Credit to scriptedfun (http://www.scriptedfun.com) for the help with the typing portion #Still a very VERY barebones typing script. Next I have to work on #the basic shoot-em-up part and get the scoring in place impor

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-23 Thread Charles Christie
> It doesn't work... I can't quite figure it out. Am I missing a part? > It says my syntax is correct... syntax errors and logic errors are quite different beasts. just because your syntax is correct doesn't mean your program does what you want it to, just that it will do what you asked it to. I

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-23 Thread Luke Paireepinart
Charles Christie wrote: It doesn't work... I can't quite figure it out. Am I missing a part? It says my syntax is correct... syntax errors and logic errors are quite different beasts. just because your syntax is correct doesn't mean your program does what you want it to, just that it will do w

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-23 Thread Charles Christie
It doesn't work... I can't quite figure it out. Am I missing a part? It says my syntax is correct... At the very top of the file right after the import statements, I added a line that reads: moving = 0 After that, I changed this: def keyin(self, key): if key == self.text[self.current

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-22 Thread Charles Christie
Genius! Why didn't I think of that? I'll make a variable that will react to the state of the TAB key called "moving". Pressing TAB makes moving = 1 and releasing it changes it back to 0. Now, when moving = 1, keypresses won't register to the typing thinggy, and when moving = 0, the next part of th

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-22 Thread Luke Paireepinart
Charles Christie wrote: Sorry for spamming your email inboxes so much guys... I'm bad at this whole email list thing... I'm better with forums, because I can edit messages I post and stuff. Eh... Sorry. Anyway, now I want the Textsprite class to not accept input while the K_TAB button is pressed

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-22 Thread settrak
Hi, don't worry for spamming, I guess that most of us are using filters to move pygame mails in a nice pygame folder :) therefore you do not 'pollute' our mails, you are just using the mailing list as it is intended to be used. I looked at you program and I don't know why I liked it :P What you

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-22 Thread Charles Christie
Sorry for spamming your email inboxes so much guys... I'm bad at this whole email list thing... I'm better with forums, because I can edit messages I post and stuff. Eh... Sorry. Anyway, now I want the Textsprite class to not accept input while the K_TAB button is pressed. What would I have to c

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-22 Thread Charles Christie
At long last! I have it working perfectly! * #Credit to scriptedfun (http://www.scriptedfun.com) for the help with the typing portion #Stil a very VERY barebones typing script. Still got one last part of the main #engine to go before getting to work on part

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-19 Thread Charles Christie
No. I guess I should, huh? Well, whatever. In any case, I've almost got this thing working. But I forgot to add a line that resets the program after the last word is typed... It gives some sort of "list out of index" something or other error. I'm working on it... What I need to do now is calculate

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-17 Thread Brandon N
Great progress! One question, are you backing up your code in between "breaking" it? On Jan 17, 2007, at 11:43 AM, Charles Christie wrote: Good news everyone! I found out why I could never get anywhere: I was too afraid of breaking stuff so I didn't try to mess with anything. However, if you

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-17 Thread Charles Christie
Good news everyone! I found out why I could never get anywhere: I was too afraid of breaking stuff so I didn't try to mess with anything. However, if you don't break it, how can you fix it? So, I looked over that pygame thing again and decided to just start doing things that came to mind. It took

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-16 Thread Farai Aschwanden
Hi About Python with game programming I can recommend: http:// www.amazon.de/Programming-Python-Charles-Development-Paperback/dp/ 1584502584 Erm, not for free but some general neat routine explanations as seen a lot in games. Greetings Farai Am 16.01.2007 um 17:03 schrieb Charles Christie

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-16 Thread Charles Christie
On 1/6/07, Kris Schnee <[EMAIL PROTECTED]> wrote: > I think that you would benefit from buying and reading > _Python Programming for the Absolute Beginner_ by > Dawson. I've had some success working through "Dive Into Python," a free textbook available online at http://www.diveintopython.org/ .

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-11 Thread Charles Christie
On 1/4/07, Brandon N <[EMAIL PROTECTED]> wrote: I would be more concerned with ease of programming than efficiency, as this is a pretty straightforward and non- demanding application. Are shoot-em-up games demanding? because I'm going to (much later) add a shoot-em-up portion... that's not rea

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-06 Thread Kris Schnee
I think that you would benefit from buying and reading _Python Programming for the Absolute Beginner_ by Dawson. I've had some success working through "Dive Into Python," a free textbook available online at http://www.diveintopython.org/ . I kept ending up in the same part of code and denyin

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-05 Thread Jason Marshall
Charles, I think that you would benefit from buying and reading _Python Programming for the Absolute Beginner_ by Dawson. That book helped me to learn Python more than any other resource. After I worked my way through it, the other Python tutorials and documentation became understandable to me too

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-05 Thread Charles Christie
I understood the python parts (except for class and def stuff, but I never understood that in any programming language), but it was isolating the part of the code that I wanted that confused me. I thought I had it (and I was right) but I second-guessed and looked around the rest of the code to fin

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Rikard Bosnjakovic
On 1/5/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: Thanks for the replies, guys. I was afraid of using mailing lists because I thought I would get loads of "gtfo" and "noob" replies and, well, I never tried to figure out how they worked. That's usually the case for www-forums and

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Kai Kuehne
Sorry, forgot the smily: On 1/5/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: Ok, knowing python could be useful to make a game in it. ;-) Kai

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Kai Kuehne
Hi, On 1/5/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: Saw that, but I didn't feel like getting ideas from other people's code until I understood it myself. Oh yeah, and I couldn't make sense of anything I read in that the first time I looked it over (I'd probably get most of it no

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Luke Paireepinart
Charles Joseph Christie II wrote: Saw that, but I didn't feel like getting ideas from other people's code until I understood it myself. Oh yeah, and I couldn't make sense of anything I read in that the first time I looked it over (I'd probably get most of it now, but when I looked last time I did

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Charles Joseph Christie II
Saw that, but I didn't feel like getting ideas from other people's code until I understood it myself. Oh yeah, and I couldn't make sense of anything I read in that the first time I looked it over (I'd probably get most of it now, but when I looked last time I didn't even know how to get the typing

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Kai Kuehne
Hi, On 1/4/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: Well, actually, after I finish all of the homework that's due tomorrow. After I get this down, I just have to get the combo timer system thing up... But I'll ask about that a little later. Thank you! Maybe you can find some "

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Charles Joseph Christie II
YOU'RE AWESOME! Thank you, I was trying to figure out how to do it, and after a while thought my idea was completely wrong... I owe you one, I'll go and try this right now! Well, actually, after I finish all of the homework that's due tomorrow. After I get this down, I just have to get the com

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Brandon N
I will not give you the code since you have stated this in an assignment, but hopefully I can help. You are correct that you will need an array, or a list in Python, to store the strings. I would be more concerned with ease of programming than efficiency, as this is a pretty straightforward

[pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Charles Christie
Hey, I am making a typing game in Python using pygame. I have finally hit a roadblock, and I think I'm toast. I started this game as my senior project, and I need to have something to at least demonstrate by June. I think I screwed myself on this one. I thought I knew a reasonable amount of progr