From: | amorel |
Date: | 19 Apr 2001 at 04:05:14 |
Subject: | Re: moving shape |
On 18-Apr-01, David McMinn wrote:
C=When you say flickers up and down, is that when you say x+1 in one frame and
C=then y+1 in the next - so you actually see it move right and then down
C=individually instead of right and down at the same time?
Not exactly, ine the case I try to move it <>90 degrees, for example 135, the
shape only gets blitted once every 2 loops, when y gets upped with one(then x
has been upped twice with 1).
C=It's not actually twice the speed, it's the square root of 2 times the speed
C=(about 1.41) when you say x+1:y+1. The only way I can think of to make them
C=move at the same speed is to either speed up the shape moving at 90 degrees
by
C=1.4 or slow down the shape at 135 degrees by 1.4.
Well afaics the shape DOES move at the same speed, it just has an annoying
skipping/flicker.
I`ll try that little example, but I wonder how this will move the shape in
<>90 degrees.
Regards
-*R u an AOL l33t? ----------> Amoralplayer1.5, a no fuss audioplayer*-
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie