Search:

Type: Posts; User: genesis004

Search: Search took 0.18 seconds.

  1. Replies
    7
    Views
    1,686

    Re: Help with the body/tail of Snake

    moving to the exact position of eposx and eposy will give you a score

    g.setColor(Color.RED);//Food
    g.fillRect(eposx,eposy,10,10);//Food Position


    if the head of the snake goes to the exact...
  2. Replies
    7
    Views
    1,686

    Re: Help with the body/tail of Snake

    Here's how it works the Black oval is the head of the snake, it's followed by one green oval which is followed by one green oval. These green oval's are the body/tail of the snake. The black...
  3. Replies
    7
    Views
    1,686

    Re: Help with the body/tail of Snake

    My problem is the body of the snake, I need it to follow the snakes head, once the head of the snake moves on the position of the body, game-over. The body goes to every previous position of the head...
  4. Replies
    7
    Views
    1,686

    Help with the body/tail of Snake

    Hi, I'm trying to create a snake game, but I can't make the body/tail to follow correctly at the back of the snake's head.
    Honestly, I don't know what to do here..


    here's my code

    import...
Results 1 to 4 of 4