home *** CD-ROM | disk | FTP | other *** search
- stoney -= vy1;
- stone._y = int(stoney + (330 - stone._y) / 30 * (330 - stone._y) / 30);
- sinx = curve_amplitude * Math.sin((stone_starty - stone._y) * 3.142 * 0.6 / 180);
- degrees = (- (stone._y - 317)) * 180 / 282;
- newsinx = curve_amplitude * Math.sin(degrees * 3.142 / 180);
- sinx = newsinx;
- normal = last + vx1 / 3;
- stone._x = normal + sinx * curve;
- last = normal;
- t += 0.041666666666666664;
- vy1 = vystart - friction1 * t;
- scale = 0.2 * stone._y + 4;
- stone._yscale = scale;
- stone._xscale = scale;
- if(checker1.hitTest(stone._x,stone._y,true) or checker2.hitTest(stone._x,stone._y,true))
- {
- out_of_play = true;
- vy1 = 0;
- vx1 = 0;
- stone._visible = false;
- stone_status[stone_in_use] = "crossed";
- stoneboard.display_stones();
- stopAllSounds();
- }
-