[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: collidelist Problem, indices



Ian Mallett <geometrian@...> writes:

> 
> Not sure about this... try "self.i-1" for the index.In case you didn't know,
here's why:my_array = [100, 200, 300, 400]my_array[0] = 100my_array[1] =
200my_array[2] = 300my_array[3] = 400
> good luck!Ian


no that does not work, if i use a 
print self.i 
i can see, that the indice is not too big, thats strange