Thanks for the profilers - never had hear of 'em. Also, no, I cannot strip
out unnecessary parts, 'cuz I don't know what part is slowing it down.
Thanks a lot, though Hugo.
On Thu, Jan 5, 2012 at 11:02 AM, Hugo Arts wrote:
> On Thu, Jan 5, 2012 at 3:56 PM, Nate Lastname wr
Hello ANKUR,
Just add a timer variable to the plane class. Every time it is
updated, subtract time from the timer. When it hits 0, the bullet can
be fired. Else, it cannot. When the bullet is fired, reset the timer
to a delay value. It's that simple :)
Cheers,
Nathanael Lastname.
--
My Blo
Have you looked at help(sys)? sys stores the PYTHONPATH variable. Just run
>>> import sys
>>> help(sys)
at the python prompt.
On 1/18/12, Downey, Patrick wrote:
> Hello,
>
> I'll start by saying that I have a math/stats background, not a computer
> science one. I've found lots of great material
On Fri, Feb 3, 2012 at 10:46 AM, Simeon Tesfaye <
simeon.tesf...@eaudeparis.fr> wrote:
> Hello everyone,
>
> I am having a bit of trouble here with my code, which uses a shapefile
> library, named pyshp, to import, edit, and save GIS files within Python.
> So, I open up my shapefile (data is poly
>
> More details: I want it to be something similar to this: powdertoy.co.uk.
> It will have different elements, though.
>
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tut
Hey List,
I am thinking about making a sandbox game. Where should I start? Has
anyone done this before? I'm having trouble in MANY places, and I couldn't
find any similar projects with a Google search.
___
Tutor maillist - Tutor@python.org
To unsubs
Hello Robert,
I appreciate the reply, but I have two things to say:
1. Your nastiness is not appreciated or really needed.
2. If you look at the results, none of them actually give relavant info. I
DID do research before I asked here, extensively, and found nothing.
Thanks,
The Defenestrator.
__
Hello List,
I am quite sorry for my attitude. I will look more thoroughly into the
search results. Thanks for the link to Epik. I had found this, but I
didn't realize that it was Python. I apologize once again, and thank you
for your help. I did give you a link to a sandbox game (powdertoy.co
P.S.: I also would like to say that I am a noob at Python, Pygame, and the
list. I'll try not to post more stupid questions, though.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/li
Hey all,
The basic idea is that there are different types of sand. They fall
and move (or don't, if they are solid) and interact with each other in
different ways. I.E.; there is a lava type; it falls, and when it
hits other sand types, it heats them up. If it gets cold, it becomes
sand.
I do
Hey Tonu,
The problem is that in your statement definition, you are not
including the self argument. Your definition needs to be something
like:
def dolt(self):
# Do stuff.
For more info on the self keyword, see
http://docs.python.org/tutorial/classes.html, section 9.3.2.
On 2/6/12, Tonu Mikk
Some more info:
It's in pygame.
It's 2d.
I cannot find any python versions out there. Yes, there is a
graphical interface, and yes, it is a user-controlled game.
Thank you all for your help!
The Defenestrator
On 2/6/12, bob gailer wrote:
> On 2/6/2012 11:16 AM, Nate Lastname wrot
Hold on... I just found one! It's not ideal, but it will work at
least for a base -
http://www.pygame.org/project-pysand-1387-2577.html. Thanks again,
all, for your excellent help!
The Defenestrator
On 2/6/12, Nate Lastname wrote:
> Some more info:
>
> It's in pygame.
&g
Thanks, Greg. I actually have two projects on the pygame website, and
I already have a great book, too. But thank you very much :D
--
My Blog - Defenestration Coding
http://defenestrationcoding.wordpress.com/
___
Tutor maillist - Tutor@python.org
T
Exponents and remainder (modulus) are **(or ^) and % respectively. I.E.;
d = a ** b (exponent)
c = a % b (modulus)
There you are!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listi
Have you considered pygame and its surfarray module?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
16 matches
Mail list logo