I was going by the width of the sprite, not the diameter of the circle. As it is, those numbers might still be off. I didn't check them very well. IF curtpos + (speed * 15) < 240 THEN curtpos = curtpos + (1 / 2) * speed IF curtpos + (speed * 15) > 240 THEN curtpos = curtpos - (1 / 2) * speed could probably be changed to something like: curtpos = curtpos + SGN(240 - (curtpos + (speed * 15))) I haven't tested that, but it should work, or should be easily fixable to work. I've haven't really kept up with the thread very well. I've been lazy, and have been doing other things. I will review the thread again later. I noticed your post in the big programs forum, but I haven't gotten around to examining it yet. Regards, Michael
|
| Response Title | Author and Date |
| Re: Re: also | on Sep 8 |