The Daily Click ::. Forums ::. Klik Coding Help ::. Need help withPinball movement
 

Post Reply  Post Oekaki 
 

Posted By Message

BeanKing



Registered
  28/04/2004
Points
  180
2nd September, 2006 at 05:27:21 -

how to make a ball that will lose kinetic energy when it bounces and finally stopped ?

i tried so long and it just " ACCELERATE ! " funny

 
n/a

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
2nd September, 2006 at 05:38:41 -

you could subtract a number from its speed everytime the ball bounces.

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
2nd September, 2006 at 06:00:52 -

As far as I am aware, speed of an object with pinball movement isn't constant - it's always changing. So subtracting from speed wouldn't work.

The only way I can think of doing this, is by changing deceleration - every time the ball hits a backdrop, then add 5 to deceleration or something like that. However, the ball still moves a tiny bit, use an event such as:

+ Deceleration of ball = 100
- Stop

Image Edited by the Author.

Image Edited by the Author.

 
This is a signature. Have this one on me.

BeanKing



Registered
  28/04/2004
Points
  180
2nd September, 2006 at 08:51:28 -

really thx

 
n/a
   

Post Reply



 



Advertisement

Worth A Click