Graphics Problem
- Posted by ROGER <rwd2 at COVENTRY.AC.UK> Mar 10, 1997
- 817 views
My problem is this: I have a 2-D shape, moving over a complex background, and am having trouble cleaning up after the shape has moved. I have thought of using get_pixel but am sure that this would slow down the the speed of the 2-D shape moving. I also have another question that is slightly related to the last one. I have coded the shape to move a certain number of pixels each turn in a loop. But the speed is dictated by how fast the computer can run the instructions, is there any other way to determine (to set), the speed at which the a shape moves, because at the moment the speed the shape is moving at is machine depandant. Now for the question, is there anyway to code it so that the shape moves at a set speed, and is does not change speed, (to much), on different range of systems. I would be very Grateful if you can help me with any of these problems. Roger.