Pong

Show off your games, demos and other (playable) creations.
Post Reply
Pkill-9
Prole
Posts: 4
Joined: Sat Sep 15, 2018 1:49 pm

Pong

Post by Pkill-9 »

Hello, I'm new to the LÖVE game engine, I am liking it a lot. Here is my creation of Pong. You can't actually beat the computer because the enemy paddle is always set to the y-position of the ball, lol, but it's a nice little demo.

Control the left paddle using the up and down arrow keys.

Here is a browseable repository of the code: https://gitlab.com/pkill-9/love/tree/38 ... 55014/pong

I look forward to making more interesting games :D
Attachments
pong-for-love-0.8.love
Fixed to be compatible with Love 0.8.0
(2.91 KiB) Downloaded 313 times
pong.love
Tested with love version 11.1
(2.91 KiB) Downloaded 437 times
User avatar
milk
Prole
Posts: 39
Joined: Sun Jul 17, 2016 7:20 pm

Re: Pong

Post by milk »

Well it's definitely pong, good job on the collisions and stuff. The AI looks impossible to beat as it just tracks the ball y position though (at least it appears that way...) I'd suggest adding some hysteresis so it's more of a 'game'.
User avatar
Stifu
Party member
Posts: 106
Joined: Mon Mar 14, 2016 9:53 am
Contact:

Re: Pong

Post by Stifu »

milk wrote: Sun Sep 16, 2018 4:09 am The AI looks impossible to beat as it just tracks the ball y position though (at least it appears that way...)
Yep, it's clearly stated in the original post.
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests