Thread: Help?
View Single Post
  #6  
Old 07-25-2008, 03:35 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
you can use overshoot physics, and can adjust the constant based on how difficult you want it to be.

Basically, the cursor follows the mouse movement on an imaginary spring (like a bungee cord), and when you stop, it continues in motion until it reaches the max spring potential and recoils back.

You can also add random "collisions", ie induce a hit at a random angle to modify the x,y velocity unpredictably. You see this in those "Drunk pee" flashes.

You can also model the same idea as an acceleration model.

Quote:
Originally Posted by excaliber7388 View Post
Just define an area where the mouse could click in, and every time the mouse is clicked, send the ball, and check if it was in the designated strike zone.
That is basically what he said. Stop postcounting++

Quote:
Originally Posted by zokemon View Post
We aren't going to design your idea for you. Give us an exact idea what you want before making ambiguous requests.
His idea was reasonably clear. If you want to be snarky to others, learn how to read first.
__________________
Reply With Quote