Re: PÖNG
Posted: Mon Mar 07, 2011 5:30 am
Yeah, both pong and pong2 move at the speed of light.
I suspect you're not using DT quite right. Here's the general idea:furi wrote:Are you serious? It moves a crapload slower for me, and in fact, it's quite unplayable because of it. Do you own a supercomputer or something?TechnoCat wrote:I still can't react in the fraction of a second the ball takes to move off screen.furi wrote:Well, you've convinced me. Pong2 is the changed one, with a weird way of using dt, and I kept up the original one for a pseudo-diff.
Code: Select all
--We want x to increase by 50px per second
x = x+50*dt