Welcome Guest [Log In] [Register]
Welcome to Brackenwood. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
The AS-ked tutorials #1; The Ragdoll
Topic Started: Apr 27 2006, 07:47 AM (307 Views)
smoscar_01
Member Avatar
Mid-Level ActionScripter
Posted Image

WHAT IS THIS ALL ABOUT

This is the thing anyone can pm me or e-mail me if they need something concret, like lets say that I post something at other threads and you take a look at it and ask yourself 'how did he drew, animated, scripted... that thing out?' then you pm me asking what is it that you need, how you need it, and whats the program, and Ill try to post it soon depending on the amount of work that I have at the moment it could be a week, a day or even at the same day...

WHOS THIS ONE AND WHATS THIS ONE

This time was a suggestion made by C0mBineD at the ActionScript-Suggestion thread led by Vector, he was asking about an actionscripted ragdoll.

NOTE: This tutorial can be used by anyone that had already used actionscript It is really simple to follow :lol: but as always feel free to ask any doubt ;)

Offline Profile Quote Post Goto Top
 
Thanatos
Member Avatar
... Tim ...♂
Global Mod
hey, dontforget to submitt it to the tutorial section.
Offline Profile Quote Post Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
Ive already did like four days ago and send a PM to TheEye and Vector but they havnt accept it yet, and the main idea of the asked tutorials is that it be uploaded a few days from its ask :lol: (hope they accept it soon)
Offline Profile Quote Post Goto Top
 
C0mBineD
Member Avatar
my name is written with a zero not an o
wow smoshcar this is great :D thnx alot :D
Offline Profile Quote Post Goto Top
 
clayt
Member Avatar
I'm not crazy... ask my toaster!
great tut Smoscar... gonna try this one later!
Offline Profile Quote Post Goto Top
 
Thanatos
Member Avatar
... Tim ...♂
Global Mod
Sorry about that smos, I approved the two tutorials in there. The eyes on vacation right now, pm me next time you submitt one and I'll go check it out. :)
Offline Profile Quote Post Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
great!! thanks Tim now Ill pm you when a new tutorial come out :lol:
Offline Profile Quote Post Goto Top
 
Vector
Member Avatar
Resident Actionscript Guru ♂
Admin
When I recieved your PM I checked the tutorials section but your tutorial wasn't there waiting to be approved, and I forgot to check later on. :mellow:

Oh well. :)
Offline Profile Quote Post Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
doesent matter lol :lol: I was just waiting for some doubt or suggestion from any1
Offline Profile Quote Post Goto Top
 
bracks
Member Avatar
Brackenwood Lightweight
haha this is amazing smoscar but maybe trying to get some work on the depth of the objects [so you can click the head and not chose the body ;) ]
Offline Profile Quote Post Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
oh yeah I hadnt noticed that :lol:

(thats what you get when you copy and paste code) :P
Offline Profile Quote Post Goto Top
 
Zwickel
Member Avatar
Brackenwood Heavyweight
Isn't depth achieved with swap depth or something like that???????????

Nice tutorial!!!, I'll try sumthn later.
:fpbls:
Offline Profile Quote Post Goto Top
 
smoscar_01
Member Avatar
Mid-Level ActionScripter
it is more simple zwickel just by adding this other statements on the if condition to the CheckDrag function (on all objects code):

Code:
 
.....
if (_l5 <= radius && (_root.drag==null || _root.drag==undefined))
....


let me explain you this logical error, we have to remember that ActionScript reads and executes all the code in one time, so it really was about to drag the head but then it read the body code and since _l5 <= radius was true either it started dragging the body and obviusly stopped dragging anything else, so what our condition is asking now is that the drag variable equals null or undefined (if no object has been dragged before) and then starts dragging it, cos no other object its being drag :lol:

BTW I uploaded a new swf file so you can see how it works now but I didnt change the code shown at the code box to see whos making my mistake...just copy and paste the code ;) :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Actionscript · Next Topic »
Add Reply