Pong Game

Show off your games, demos and other (playable) creations.
clepto
Prole
Posts: 35
Joined: Wed Jul 25, 2012 10:20 pm

Pong Game

Post by clepto »

Just a pong game..

Image
Attachments
Pong.love
(3.24 KiB) Downloaded 218 times
Macunfadebo
Prole
Posts: 18
Joined: Wed Nov 07, 2012 10:24 pm

Re: Pong Game

Post by Macunfadebo »

why does the paddle move on its own?
clepto
Prole
Posts: 35
Joined: Wed Jul 25, 2012 10:20 pm

Re: Pong Game

Post 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:
User avatar
OmarShehata
Party member
Posts: 259
Joined: Tue May 29, 2012 6:46 pm
Location: Egypt
Contact:

Re: Pong Game

Post 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.
clepto
Prole
Posts: 35
Joined: Wed Jul 25, 2012 10:20 pm

Re: Pong Game

Post by clepto »

I think i misunderstand...
English is not my native language, so, what depressed means? :crazy:
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Pong Game

Post 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
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
clepto
Prole
Posts: 35
Joined: Wed Jul 25, 2012 10:20 pm

Re: Pong Game

Post 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:
User avatar
OmarShehata
Party member
Posts: 259
Joined: Tue May 29, 2012 6:46 pm
Location: Egypt
Contact:

Re: Pong Game

Post 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!
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Pong Game

Post 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'
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Puzzlem00n
Party member
Posts: 171
Joined: Fri Apr 06, 2012 8:49 pm
Contact:

Re: Pong Game

Post 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. :|
I LÖVE, therefore I am.
Post Reply

Who is online

Users browsing this forum: No registered users and 66 guests