If you change line 97: step = 8 and line 112: elif e.key == K_s: step = 8 if step == 1 else 1 you should see that when X is 8, 24, 40, etc. the problem occurs. When it is 0, 16, 32, 48, etc. it does not occur. The same holds true for the negative X values. 16 is the magic number. Gumm On 4/27/2014 01:35, diliup
gabadamudalige wrote:
|