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 » Sat Nov 10, 2012 10:01 pm

Just a pong game..

Image
Attachments
Pong.love
(3.24 KiB) Downloaded 131 times

Macunfadebo
Prole
Posts: 18
Joined: Wed Nov 07, 2012 10:24 pm

Re: Pong Game

Post by Macunfadebo » Sat Nov 10, 2012 10:28 pm

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 » Sun Nov 11, 2012 8:52 am

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 » Mon Nov 12, 2012 7:53 am

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 » Mon Nov 12, 2012 12:38 pm

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 » Mon Nov 12, 2012 1:06 pm

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 » Mon Nov 12, 2012 3:15 pm

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 » Mon Nov 12, 2012 10:24 pm

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 » Mon Nov 12, 2012 10:30 pm

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 » Tue Nov 13, 2012 1:40 am

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 22 guests