# Help With Slime Volleyball Project

**URL:** <https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541>\
**Category:** programming\
**Created:** [August 10, 2004, 4:12pm UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541 "2004-08-10T16:12:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robotochan](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Robotochan](https://forum.kirupa.com/u/Robotochan)\
**Post date:** [August 10, 2004, 4:12pm UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541/1 "2004-08-10T16:12:43Z")

</div>

Hi, I’m trying to create a flash version of 2 Player Slime Volleyball but I have encountered a few problems I hope someone can help me with. I have movement of the 2 slimes but it is slow, jolty and only one can be moved at a time. So any help here would be great.

I Also have no idea on how to get the ball to bounce off them at angles and accelerate etc. so I would love it if someone could point me in the right direction :hugegrin:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 12:24am UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541/2 "2004-08-12T00:24:12Z")

</div>

I’ve sorted the movement :ne: Anyone got any ideas on the main problem, getting the ball to bounce off with different y & x velocities when the ball hits different parts of a semi circle?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 12:26am UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541/3 "2004-08-12T00:26:57Z")

</div>

For those who may not know, this is a link to the original slime volleybal: [http://tartarus.uwa.edu.au/~wedgey/slime1/](http://tartarus.uwa.edu.au/~wedgey/slime1/)

With regards to your question, I have no clue ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 8:44pm UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541/4 "2004-08-12T20:44:13Z")

</div>

Maybe you could help with this Kirupa?

Here is my code for gravity

onClipEvent (load) {  
yspeed = Math.sin(dir\*Math.PI/180)\*speed;  
\_y = 20;  
yspeed = 20;  
if (\_y\<290) {  
yspeed = yspeed-1;  
}  
setInterval;  
100;  
}

In a nutshell it should reduce the vertical speed by 1 ever 100ms, however the ball just stays at the same height. Anyone got any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 10:46pm UTC](https://forum.kirupa.com/t/help-with-slime-volleyball-project/60541/5 "2004-08-12T22:46:02Z")

</div>

OK sorted that bit out… trying to figure out why something else happens now, but I don’t seem to be getting much help here unfortunatly ☹ Will try somewhere else
