Re: [pygame] Character Movement

2007-04-26 Thread Charles Christie
moving diagonally down. It doesn't make sense... I'll update the svn repository later with my new code (there's lots of changes) when I get the chance so that you don't have to look at the code in the middle of an e-mail. On 4/25/07, Charles Christie [EMAIL PROTECTED] wrote: Well, this thing is due

Re: [pygame] Character Movement

2007-04-26 Thread Charles Christie
oooh. Lemme try that... On 4/26/07, Aaron Maupin [EMAIL PROTECTED] wrote: Just scanning your code, Charles Christie wrote: if event.key == K_e or K_i or K_KP8: player.xmove = -3 should probably be: if event.key

Re: [pygame] Character Movement

2007-04-26 Thread Charles Christie
It worked! ...but I confused x and y. o_O On 4/26/07, Charles Christie [EMAIL PROTECTED] wrote: oooh. Lemme try that... On 4/26/07, Aaron Maupin [EMAIL PROTECTED] wrote: Just scanning your code, Charles Christie wrote: if event.key == K_e

Re: [pygame] Character Movement

2007-04-26 Thread Charles Christie
]: player.xmove -=3 On 4/26/07, Charles Christie [EMAIL PROTECTED] wrote: It worked! ...but I confused x and y. o_O On 4/26/07, Charles Christie [EMAIL PROTECTED] wrote: oooh. Lemme try that... On 4/26/07, Aaron Maupin [EMAIL PROTECTED] wrote: Just scanning

Re: [pygame] Character Movement

2007-04-25 Thread Charles Christie
Paireepinart [EMAIL PROTECTED] wrote: Kris Schnee wrote: Charles Christie wrote: Kris: I did the typing part. Now I want to have a character that the person playing the game can move across the screen. Would this graphics engine be of any use? http://kschnee.xepher.net/pics/070416island.jpg I've

Re: [pygame] Sub-pixel rendering

2007-04-25 Thread Charles Christie
Of course, if you would rather release them for free, we wouldn't mind much either. ;D On 4/25/07, Kamilche [EMAIL PROTECTED] wrote: Will McGugan wrote: Hi folks, I've just posted a module to do sub-pixel blitting with 2D PyGame. Hopefuly someone will find it useful!

Re: [pygame] Sub-pixel rendering

2007-04-25 Thread Charles Christie
Interested ++; On 4/25/07, Kamilche [EMAIL PROTECTED] wrote: Well, color me interested. There's not enough pages devoted to advanced topics such as pathfinding and particle effects, in most game books. Throw in a 'line of sight' pathfinding routine that uses polygons instead of pixels for its

Re: [pygame] Character Movement

2007-04-24 Thread Charles Christie
idea, and sounds more simple too. I'll give that a go right now. You guys are the best, for real. ;) On 4/24/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles Christie wrote: So, I've finally gotten to the point where I want to make playable characters controllable. (took me long enough

Re: [pygame] Character Movement

2007-04-24 Thread Charles Christie
Oops, I forgot the SVN url. But for some reason it got removed because the svn client wasn't in my PATH (I forgot to install it since I'm running off of a LiveCD) Oops. On 4/24/07, Charles Christie [EMAIL PROTECTED] wrote: Kris: I did the typing part. Now I want to have a character

Re: [pygame] Character Movement

2007-04-24 Thread Charles Christie
I learned today that svn leaves a .svn directory in each working directory that has pretty much all of the information about it. svn://commons.game-host.org:3670/TypeNine There's the svn directory, if anyone wants to take a look at it. On 4/24/07, Charles Christie [EMAIL PROTECTED] wrote

Re: [pygame] Firing bullets

2007-04-23 Thread Charles Christie
or the character. I think I'll just make the bullets die when they hit people instead of re-using them because there's no point in coding pretty now, as my code is already ugly and I'm going to completely re-write it after school is out. Thanks for all your help! On 4/13/07, Charles Christie [EMAIL

Re: [pygame] Firing bullets

2007-04-12 Thread Charles Christie
): ## Just a simple render call. te.screenx and te.screeny are the offset that the current viewport is at. suf.blit(self.image, (self.x-te.screenx, self.y-te.screeny)) On 3/26/07, Charles Christie [EMAIL PROTECTED] wrote: Well, I'm trying to get my program to fire bullets now

Re: [pygame] Firing bullets

2007-04-11 Thread Charles Christie
have to put in all.add to get the bullets to actually show up on screen? On Mon, 09 Apr 2007 15:38:25 -0400 Kris Schnee [EMAIL PROTECTED] wrote: Charles Christie wrote: Now my questions are: A. If this is really all I have to do, how do I get the bullets to register with my screen redrawing

Re: [pygame] New here, me and my game

2007-04-09 Thread Charles Christie
I have the same problem. That's one of the reasons I still haven't gotten that far with my project... _ On 4/9/07, Kris Schnee [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: My biggest challenge so far, is trying to fully grasp OOP. (I pretty much get it.. pretty much). As I just went into

Re: [pygame] new Pygame-based framework: qxp

2007-04-05 Thread Charles Christie
It's a mixture between a typing game and a shoot-em-up game. I have the typing part but I'm still working on the shooting part. :P On 4/3/07, Diego Essaya [EMAIL PROTECTED] wrote: On 4/3/07, Charles Christie [EMAIL PROTECTED] wrote: I've already started on a game... but it sucks. :P How

Re: [pygame] Firing bullets

2007-04-02 Thread Charles Christie
Ha! That makes things much easier to take in. So I was doing it partially right. Thanks for the insight! You're a lifesaver. The pygame mailing list is really great... I don't know what I'd do without you guys! On 4/1/07, andrew baker [EMAIL PROTECTED] wrote: Well, I start by making a

[pygame] Firing bullets

2007-03-26 Thread Charles Christie
Well, I'm trying to get my program to fire bullets now. Isn't that great? I think I'm doing it all wrong though... My problem has been that I don't know how to make the program fire bullets. But then I thought, shouldn't the character be firing the bullets, not the program? and it's then that I

Re: [pygame] Strange syntax error

2007-03-06 Thread Charles Christie
And this is why we don't code past our bed times. ^_^;; (at about 11:00 my brain cuts off) So... yeah, I'm surprised I didn't catch that myself... sorry for the trouble. I need to get more sleep... On 3/5/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles Joseph Christie II wrote: I have

Re: [pygame] Strange syntax error

2007-03-06 Thread Charles Christie
, 2007-03-06 at 08:20 -0500, Charles Christie wrote: And this is why we don't code past our bed times. ^_^;; (at about 11:00 my brain cuts off) So... yeah, I'm surprised I didn't catch that myself... sorry for the trouble. I need to get more sleep... Syntax highlighting and bracket matching

Re: [pygame] Game idea revised

2007-03-01 Thread Charles Christie
I know the basics of both Python and C, I took robotics and the robot's programming was done in C. I've learned how to use C but I've never actually done it, though. I've read code, went bug hunting and used code in a robot but I've never actually done something on my own in it yet.I know a

[pygame] Game idea revised

2007-02-28 Thread Charles Christie
Someone in my huge 50 thread email (I shouldn't have made it that big, it's really hard to sort through now _) recommended that I change my game so that it displays a cross with a word in each corner in it and have it control the direction the character moves in by typing the word. This idea

[pygame] Making a moving character in Pygame

2007-02-16 Thread Charles Christie
So... I've seen it done in like a billion ways, but I don't know which way is the best. So, if I wanted to make a character move like in an arcade shoot-em-up game how would I do that? I've seen many different ways already but I want to know what you guys recommend. One of the ones that

[pygame] Pygame haet math

2007-02-12 Thread Charles Christie
I got nearly everything sorted out perfectly. The text isn't jumbled in the middle, the scoring system almost works and game over events actually produce results. Man, this is getting better by the day, but the scoring system is acting up. Does anybody see what I'm doing wrong? The scoring

[pygame] Re: Pygame haet math

2007-02-12 Thread Charles Christie
And in a rush, I made a typo and totally forgot to upload the file _ Go me. Anyway, sorry for the spam and mix up. Hopefully I'll have sound effects soon (no way I'm clogging your inboxes with that stuff though) and I still have to contact my cousin about graphics. On 2/12/07, Charles Christie

Re: [pygame] Problems with events and keys

2007-02-11 Thread Charles Christie
I was trying to do. I should read a little slower... On 2/9/07, Charles Christie [EMAIL PROTECTED] wrote: I didn't think punctuation would work but that's an easy fix if I want punctuation in later. Now my only problem is that the pygame.event.Event(GAME_OVER_W) or pygame.event.Event

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

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

2007-02-06 Thread Charles Christie
that would wipe everything off of the screen and print game over and print your scores, right? and I could even have a sort of max combo counter thing, because that wouldn't be too hard to program either. On 2/6/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles Christie wrote: hmm. So to make

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

2007-02-05 Thread Charles Christie
people's scores. On 2/4/07, Charles Christie [EMAIL PROTECTED] wrote: 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

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

2007-02-02 Thread Charles Christie
] wrote: 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

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 intriguing

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

2007-01-30 Thread Charles Christie
on the hardest levels. I think my idea would be easier to program but yours definitely, if I could think of a practical idea for more of the game play, would be more... innovative. Different. And different, as I always say, is good. On 1/30/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles

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

2007-01-30 Thread Charles Christie
PROTECTED] wrote: 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

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

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

2007-01-29 Thread Charles Christie
a DVORAK keyboard so I would have no clue on how to set it up for those. I'm having a little more trouble but I'll ask about it later - I have 3D art class now, not senior project. On 1/29/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles Christie wrote: Oh, and Luke, the game will be Open Source

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

2007-01-29 Thread Charles Christie
looked through the pygame API documentation to make sure I was doing it right, but it didn't help. Well, actually it kinda did (I had to convert the numbers to a string and it helped me there) but yeah, the words don't actually show up. I wonder why? On 1/29/07, Charles Christie [EMAIL PROTECTED

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

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

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

2007-01-23 Thread Charles Christie
. It didn't work. I tried using moving is True instead of moving == 1 and it still didn't work. I tried moving the statement moving = 0 into my main(), and it didn't work. Argh. I think I'm missing something really simple, but I can't place my finger on it... On 1/22/07, Charles Christie [EMAIL

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-22 Thread Charles Christie
of the code I'm going to write (the basic shoot-em-up part) the character doesn't move. You guys are so helpful! Thanks! On 1/22/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Charles Christie wrote: Sorry for spamming your email inboxes so much guys... I'm bad at this whole email list thing... I'm

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

2007-01-19 Thread Charles Christie
I'll troubleshoot this later... On 1/17/07, Brandon N [EMAIL PROTECTED] wrote: 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

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

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

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

[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