|
|
Ya, the idea is that it could bounce back and forth, and I could render any
number of frames. I guess I'm going to have to find a way to change the Speed
to Speed = speedValue - 0.1 - delta;
"clipka" <nomail@nomail> wrote:
> "RC" <nomail@nomail> wrote:
> > Now on the question #2, I have to find a way so that when the object gets to the
> > edge of the image, it will turn and go the other way, and once it hits the other
> > edge of the image turn again and go forward. Any suggestions? I tried a loop
> > that would write a negative Speed to my text file, but I end up with an
> > animation that just jumps from one end of the image to the other every frame.
> > ;(
>
> Maybe you want to inverse the acceleration once you reach the center of the
> screen.
>
> Or do you want it to just bounce back and forth then at a constant speed (but
> changing direction)?
Post a reply to this message
|
|