Subject: Re: [stella] JoustPong: maybe ditch "poorlords" wall From: Glenn Saunders <mos6507@xxxxxxxxxxx> Date: Mon, 12 Jan 2004 21:24:31 -0800 |
.23 pixels per frame... or 1.56 pixels per frame. Just because you program things on a frame by frame basis doesn't mean your objects have to move on a frame by frame basis. If you have a variable holding the coordinate of the ball, and that variable has a fractional component, then you just add ".23 pixels" or "1.56 pixels" to the ball position... every frame... and use the integer part of the ball's coordinate for the actual ball position display.
---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] JoustPong: maybe ditch, Andrew Davie | Thread | Re: [stella] JoustPong: maybe ditch, Thomas Jentzsch |
Re: [stella] JoustPong: maybe ditch, Thomas Jentzsch | Date | Re: [stella] JoustPong: maybe ditch, KirkIsrael |
Month |