PDA

View Full Version : Velocity



1337Elite
July 7th, 2005, 02:22 PM
I'm making a game...with a ball!
Well i want to throw it away so it get some velocity, not just drop from the place the mouse is when releasing the mouse button.

smack_boom
July 7th, 2005, 02:32 PM
You could try like..


onClipEvent (load) {
velosity = 0;
}
onClipEvent (enterFrame) {
if (ballisthrown) {
_x += velosity;
velosity++;
}
}

something like that

Boom_Smack
July 7th, 2005, 02:58 PM
smack_boom buys his clothes from zellars

NiñoScript
July 10th, 2005, 10:09 AM
could i see what've u done till now?i'd like to watch ur swf if u dont mind