Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 Viewswhat is the actionscript i need for a ragdoll object
thanks for all help
I think there's a downloadable .fla on some stick website, like stickpage.com or something like that, search around, i know it's out there.
At 2/12/06 12:30 PM, cram320 wrote: what is the actionscript i need for a ragdoll object
why are all the people so fucking lazy they don't even bother looking to find themself or learn or think about what they would need to do and just fucking ask for somebody to give them a whole script??!! What makes everybody so fucking lazy these days??!!!
I'm speechless!
At 2/12/06 12:50 PM, Khao wrote:
I'm speechless!
Oh rly?
why are all the people so fucking lazy they don't even bother looking to find themself or learn or think about what they would need to do and just fucking ask for somebody to give them a whole script??!! What makes everybody so fucking lazy these days??!!!
=D
well, you can get pretty lazy nowadays. some companies are giving away ehtire game engines for free, and the whole flash ragdoll thing is exclusive to a few AS writers, so it's won't be readily available.
ppl arent that lazy we do look around but cant find it thats y we ask here
At 2/12/06 12:59 PM, AtomicTerrorist wrote: ppl arent that lazy we do look around but cant find it thats y we ask here
but you don't know how lazy it makes you look when you ask.
At 2/12/06 12:59 PM, AtomicTerrorist wrote: ppl arent that lazy we do look around but cant find it thats y we ask here
well then this guy doesn't know google cause he would have found lots of tutorials about inverse kinetics and rag doll physics! He just asks for a whole script! >:(
If I ever ask something on a forum it's when I can't find any solution to my problem after looking over google, help files, sites related to the language I'm having problems with (AS, php, javascript..), ask friends.. and if all these fails then I go ask help on a forum! Most of the time I find answer by myself and I learn A LOT MORE by doing this then by asking someone to give me a fucking answer!
At 2/12/06 12:59 PM, AtomicTerrorist wrote: People aren't that lazy, we do look around but can't find anything. That's why we ask around here.
Damn this thread is too flammable.
"Lazyness serves the ignorant."
Always keep in mind, the ease of the things you can, was firstly the effort of someone else.
And simply put we can't just go all easy, because then we won't get anywhere.
So get your ass moving!
At 2/12/06 01:44 PM, goofgoof wrote: ragdoll i need help how to one plz
How can you write if you can't read? Interesting...
At 2/12/06 12:32 PM, SpamBurger wrote: Learn some trigonometry.
you don't need trigonometry :p
At 2/12/06 01:55 PM, SpamBurger wrote: If this guy doesnt know trig though, how can he learn kinematics and stuff like that? It would be hard without basic math knowledge.
No, no, you see, Delta uses his own overconfidence and ego to make stuff in Flash, and he doesn't realise not all of us are able to do this.
D
I'm back! on a temporary basis. No-one can remember who I am! but I don't really mind.
I agree with everyone here but if you really want a script, just decompile "interactive budy" or "n: way of the ninja"
At 2/12/06 02:06 PM, Disarray_yarrasiD wrote: just decompile
That's really not helping anyone. Then he'll be a theif too.
no he would not be a thief
everyone decompiles its one of the best ways to learn.
its only stealing if you use the same codes as whay you find there but if you use the codes that you decompiled to develop your own its perfectly fine.
At 2/12/06 02:14 PM, Disarray_yarrasiD wrote:
everyone decompiles its one of the best ways to learn.
sorry but NO!
it doesn't help learning from decompiling an existing script, plus the code you will be looking at isn't yours so it would be coded totally differently from how you code your things... decompiling is bad and should be kept for recovering .swf where you lost the .fla!
I've never decompiled to learn, and if I did it wouldn't help much because decompilers fuck up the code anyway.
Sup, bitches :)
meh I made the poor guy a rag doll script anyway
its not optimised and is very basic so please don't comment on that.
just a basic pendulum script it took me about 10 minutes.
onClipEvent (load) {
rot = 0;
_rotation = rot;
weight = 3;
inertia = (rot/10)*weight;
speed = 0;
friction = .9;
arrx = new Array();
arry = new Array();
arrx.push(_x);
arry.push(_y);
}
onClipEvent (enterFrame) {
arrx.push(_x);
arry.push(_y);
arrx.shift();
arry.shift();
speedd = 1;
_x = _root._xmouse;
_y=_root._ymouse
Xdistance = (arrx[0])-_x;
Ydistance = (arry[0])-_y;
if (Xdistance !== 0) {
radAngle = Math.atan2(Ydistance, Xdistance);
rotata = int((radAngle*360/(2*Math.PI))+90);
rotat = 180-rotata;
updateAfterEvent();
} else {
rotat = 0;
}
defaultt = rotat/-10;
inertia = (rot/10)*weight;
speed -= inertia-defaultt;
speed *= friction;
rot += speed;
_rotation = rot;
trace(rotat);
}
asshole little brother posted my script while i was in the washroom.
*sounds of violence*
thank you for your reply
i tryed out the code and it works, how do i make it so the object doesnt always follow my curser?
and for all you other people i did search google for help and didnt find what i wanted
At 2/12/06 03:15 PM, noobish5000 wrote: meh I made the poor guy a rag doll script anyway
its not optimised and is very basic so please don't comment on that.
just a basic pendulum script it took me about 10 minutes.
onClipEvent (load) {
rot = 0;
_rotation = rot;
weight = 3;
inertia = (rot/10)*weight;
speed = 0;
friction = .9;
arrx = new Array();
arry = new Array();
arrx.push(_x);
arry.push(_y);
}
onClipEvent (enterFrame) {
arrx.push(_x);
arry.push(_y);
arrx.shift();
arry.shift();
speedd = 1;
_x = _root._xmouse;
_y=_root._ymouse
Xdistance = (arrx[0])-_x;
Ydistance = (arry[0])-_y;
if (Xdistance !== 0) {
radAngle = Math.atan2(Ydistance, Xdistance);
rotata = int((radAngle*360/(2*Math.PI))+90);
rotat = 180-rotata;
updateAfterEvent();
} else {
rotat = 0;
}
defaultt = rotat/-10;
inertia = (rot/10)*weight;
speed -= inertia-defaultt;
speed *= friction;
rot += speed;
_rotation = rot;
trace(rotat);
}