Re: [pygame] Drawing Bullets

2007-04-27 Thread Kris Schnee
Charles Christie wrote: Well, bullets just seem to be a sticking point for me... Stick with it! 1. bullet cleanup (self.kill, etc.) which isn't important to me right now, as the demo won't be running for an extended period, and when it does it'll be running on a monstrous beast of a computer

[pygame] Galcon mods - using pysafe

2007-04-27 Thread Phil Hassey
Hi, Thanks again to the folks who helped me troubleshoot my pysafe code. I've now integrated that into Galcon and the game now the ability to create Galcon mods. Here's the announcement I sent out: http://www.imitationpickles.org/galcon/download.html The new mods system in Galcon is in "beta

Re: [pygame] AI bug

2007-04-27 Thread Casey Duncan
I think it would be easier to understand this if instead of assigning the direction as an arbitrary number, you instead had separate x and y directions, which could each have only the values -1, 0, or 1. A naive directional algorithm (which assumes no obstacles between the monster and the n

[pygame] AI bug

2007-04-27 Thread Samuel Mankins
I'm working on a sort of RPG/Roguelike game, and right now I'm have problems with the monster's AI. It works just fine if the Ninja (The player) is above, below, or to the left of the monster, but if it's tot he right, the monster just goes up or down, but not right. Here's the directional code

[pygame] Drawing Bullets

2007-04-27 Thread Charles Christie
Well, bullets just seem to be a sticking point for me. Just when I think I have code that'll work, I get hit with another problem. This time, I get almost done. There is a bullet class, that adds 50 bullets to a bullet container array, and then fires them. Or, rather, it should fire them. But you

Re: [pygame] Fugu's Friend

2007-04-27 Thread Kamilche
Will McGugan wrote: Wow! Nice work. A+ for the A*! :-) I noticed that turtle can't fit through the diagonal spaces between blocks. Must be the hard shell! Actually, that was intentional. The first time I encountered an astar pathfinding routine written in Pygame, it let them 'cheat' by goin

Re: [pygame] Free Graphic Tileset / Automatic Use of "Coast" Tiles

2007-04-27 Thread Greg Ewing
Kris Schnee wrote: it strikes me that it would look nice, but shift the apparent terrain half a tile up and left I think you need to incorporate that half-tile shift into your coordinate system, e.g. your internal map looks like 0.0 1.0 2.0 3.0 4.0 0.0 +-+--

Re: [pygame] Fugu's Friend

2007-04-27 Thread Will McGugan
Kamilche wrote: Well, I was inspired by Fugu, so I wrote a variation of it called "Fugu's Friend" that displays an animated turtle that rotates to face the correct direction for movement, toggles fullscreen mode on alt-enter, displays info such as FPS and current mouse position, lets you togg