On 7/16/2013 1:29 PM, Daniel Kersgaard wrote:
I'm having a little trouble, tried Googling it, but to no avail.
> Currently, I'm working on making a snake game, however
> I'm stuck on a simple border.
To give a variation of the other answers, it would be easier if you drew
the four sides more s
On 07/16/2013 01:29 PM, Daniel Kersgaard wrote:
I'm having a little trouble, tried Googling it, but to no avail. Currently, I'm
working on making a snake game, however I'm stuck on a simple border. The only
thing I need help with is when you run the program, the bottom right corner of
the bord
I didn't even think about that! I added one more draw and it worked like a
charm, thanks so much! I'm not sure why I couldn't think of that!
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jul 17, 2013 at 3:29 AM, Daniel Kersgaard
wrote:
> def drawWalls(surface):
>
> #left and right walls
> for y in range(HEIGHT):
> surface.blit(wallblock, (0, y * BLOCK_SIZE))
> surface.blit(wallblock, (WIDTH * BLOCK_SIZE, y * BLOCK_SIZE))
>
> for x in range(W
I'm having a little trouble, tried Googling it, but to no avail. Currently, I'm
working on making a snake game, however I'm stuck on a simple border. The only
thing I need help with is when you run the program, the bottom right corner of
the border is missing. I'm not sure why. And I know I'm no
Op maandag 9 april 2012 22:51:48 UTC+2 schreef Roy Smith het volgende:
> In article
> <1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com>,
> aapeetnootjes wrote:
>
> > I'm trying out the pygame tutorial at
> > http://www.pygame.org/docs/tut/intro/intro.html
> > If I try out the
In article
<1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com>,
aapeetnootjes wrote:
> I'm trying out the pygame tutorial at
> http://www.pygame.org/docs/tut/intro/intro.html
> If I try out the code I'm facing an error:
> ./game.py: line 4: syntax error at unexpected symbol 'si
On 09/04/2012 21:20, aapeetnootjes wrote:
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I try out the code I'm facing an error:
./game.py: line 4: syntax error at unexpected symbol 'size'
./game.py: line 4: `size = width, height = 320, 240'
can anyone
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I try out the code I'm facing an error:
./game.py: line 4: syntax error at unexpected symbol 'size'
./game.py: line 4: `size = width, height = 320, 240'
can anyone here tell me what's going wrong?
thanks
--