> I'd like a sanity check from the gurus :-)

What are you talking about?  YOU'RE the guru.

> one main sprite floating around the screen, bouncing off
> the sides.

With or without gravity?  I have some code for both, but I may not be able
to get at it until early next week, which wouldn't end up saving you any
time.  I'll see if I can dig it up & send it directly.

> Reasonable, rational?

I think so, personally.

> Is this the way you would approach it?

It's exactly how I'd approach it.  Or since there are 80 sprites, I might
tend to keep the main sprite's loc and vector global.  Then all the
secondary sprites could access it directly each frame, rather than using
sendAllSprites on each frame.

> We're using a high-end machine in a controlled environment,
> but I need the animation to be really, really smooth, and
> there are a lot of sprites--about 80, I think.

I was about to suggest boosting the fps to 120 until I saw that you're using
80 sprites. Still, if they're smallish and are using fast inks, you might
try something high like that.  At least 60. I've noticed remarkable
differences in smoothness when I've boosted the framerate to 120.  Now
whenever I do ball rolling or bouncing movements, I use 120 fps.  It may be
wrong, but it has worked well for me.  At least you're sure of the
capabilities of the target machines.

Good luck
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[EMAIL PROTECTED] *
*********************************/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to