Newbie's second game

Show off your games, demos and other (playable) creations.
Post Reply
Olayinkagenius777
Prole
Posts: 10
Joined: Thu Jul 02, 2020 6:03 pm

Newbie's second game

Post by Olayinkagenius777 »

:awesome: :awesome: Hi, I am new to love2d and I kinda enjoy making games. I made a pong game which works on Windows and I'd love to share it. Please support. This is the link https://olayinkagenius777.itch.io/pong2d Thanks
Clover
Prole
Posts: 2
Joined: Mon May 18, 2020 11:33 pm
Location: Brazil, São Paulo
Contact:

Re: Newbie's second game

Post by Clover »

The ball is too fast, i think you forgot to use dt to normalize it's speed :nyu:
I made a video of the game https://youtu.be/72L6U8INZVs :3
sphyrth
Party member
Posts: 260
Joined: Mon Jul 07, 2014 11:04 am
Contact:

Re: Newbie's second game

Post by sphyrth »

Clover wrote: Tue Sep 29, 2020 12:04 am The ball is too fast, i think you forgot to use dt to normalize it's speed :nyu:
I checked the source, and you're right:
pong.lua lines 33-35

Code: Select all

function love.update(dt)
	ball.x = ball.x + ball.vel.x
	ball.y = ball.y + ball.vel.y
	...
end
Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests