Page 1 of 2

Pong Game

Posted: Sat Nov 10, 2012 10:01 pm
by clepto
Just a pong game..

Image

Re: Pong Game

Posted: Sat Nov 10, 2012 10:28 pm
by Macunfadebo
why does the paddle move on its own?

Re: Pong Game

Posted: Sun Nov 11, 2012 8:52 am
by clepto
I read somewhere that thats the original motion of the paddle...
When the 'w' is depressed the paddle moves upwards, then the 's' is pressed the paddle moves downwards...

Also, i like it :crazy:

Re: Pong Game

Posted: Mon Nov 12, 2012 7:53 am
by OmarShehata
clepto wrote:I read somewhere that thats the original motion of the paddle...
When the 'w' is depressed the paddle moves upwards, then the 's' is pressed the paddle moves downwards...

Also, i like it :crazy:
That's not what happens though. The paddle moves upwards even if 'w' isn't pressed.

Re: Pong Game

Posted: Mon Nov 12, 2012 12:38 pm
by clepto
I think i misunderstand...
English is not my native language, so, what depressed means? :crazy:

Re: Pong Game

Posted: Mon Nov 12, 2012 1:06 pm
by Nixola
When you 'unpress' the key; it's pressed when you put your finger on it, it's depressed/unpressed/released when you move the finger away

Re: Pong Game

Posted: Mon Nov 12, 2012 3:15 pm
by clepto
Nixola wrote:When you 'unpress' the key; it's pressed when you put your finger on it, it's depressed/unpressed/released when you move the finger away
oh...i see...
i'm bored to fix it now... :crazy:

Re: Pong Game

Posted: Mon Nov 12, 2012 10:24 pm
by OmarShehata
Nixola wrote:When you 'unpress' the key; it's pressed when you put your finger on it, it's depressed/unpressed/released when you move the finger away
de·pressed
   [dih-prest]
adjective
1.
sad and gloomy; dejected; downcast.
2.
pressed down, or situated lower than the general surface.


The more you know!

Re: Pong Game

Posted: Mon Nov 12, 2012 10:30 pm
by Nixola
I think that 'depressed' refers to the terrain level... It wouldn't have sense saying that a key is 'depressed' instead of saying that it's 'pressed'

Re: Pong Game

Posted: Tue Nov 13, 2012 1:40 am
by Puzzlem00n
You're not using dt, huh? You have no idea how fast that makes the games run on my machine. You really need to factor this in, it's basic LÖVE, although I can see why you'd think it's safe to ignore. :|