Search:

Type: Posts; User: Campos

Search: Search took 0.10 seconds.

  1. Thread: Java n00b

    by Campos
    Replies
    6
    Views
    1,985

    Re: Java n00b

    Can't believe i missed the capital, thats like the first thing they tell you in big bold letters
  2. Thread: Java n00b

    by Campos
    Replies
    6
    Views
    1,985

    Re: Java n00b

    To HelloWorld922

    I added the rest of the code you posted in what i feel is the correct spot. To call lpmove() from the run method i used the following:


    if (lpmovedown = true || lpmoveup ==...
  3. Thread: Java n00b

    by Campos
    Replies
    6
    Views
    1,985

    Re: Java n00b

    Figured out the Top/Bottom collision problem. The ball and the paddle were moving vertically at the same speed, so once they met, the ball would reverse direction, but since the speed was the same...
  4. Thread: Java n00b

    by Campos
    Replies
    6
    Views
    1,985

    Re: Java n00b

    Thanks for the reply.

    See all those If statements? Thats where I did the collision detection.


    if (posx == lpredge)
    {
    if (posy >= lpuedge)
    {
    if (posy...
  5. Thread: Java n00b

    by Campos
    Replies
    6
    Views
    1,985

    Java n00b

    Hey,

    I'm trying to learn java. I've made a simple applet, kind of pongish. I have two problems with it. One is manual control of the paddles. Trying to do keylisteners makes my brain hurt. ...
Results 1 to 5 of 5